Actions in the Workbench
- Updated: 2021/07/06
Actions in the Workbench
Select various Actions in the Workbench based upon the object and control type selected. Actions are allowed on HTML, . NET and Java Swing/AWT controls.
Actions allowed on HTML controls
The following Actions are allowed on HTML Controls:
- Click
- DoubleClick
- RightClick
- SetText
- AppendText
- GetProperty
- GetVisibility
- GetTotalItems
- GetSelectedIndex
- GetSelectedText
- SelectItembyText
- SelectItembyIndex
- GetChildrenName
- GetChildrenValue
Get Text, SetText and AppendText
GetText, SetText and AppendText actions are available when the selected object types are Text/Text Box, Password, Windows Control , or Custom Objects.
The properties and relevant actions in the Logic are controlled by the Object properties configuration set for the selected Screen.
GetProperty
Use the GetProperty action when you want to search the objects based on their properties during play time.
When you select action as GetProperty, you will be able to select properties names such as Object ID, Name, Value, Class, Type, Index, Description, State, IsVisible, IsProtected etc based on the object control selected.
Get Visibility
Use the GetVisibility action to build a logic based on an object's visibility during play time. This screen area could be a custom object or an object with Play Type Image. The GetVisibility action returns the visibility status as True or False.
To add a GetVisibility action in the Logic Editor, the object should be configured for Play Type Image.
Actions allowed on Window Controls
The following Actions are allowed on Window Controls:
- Click
- DoubleClick
- RightClick
- LeftClick
- SetText
- AppendText
- GetProperty
- GetChildrenName
- GetChildrenValue
SetText for Window Control: Use the action type 'SetText' for Window Controls. Select the entire window and specify the action type.
OCR screens
For screens that are captured using OCR technology, when you select play type as Image for custom objects, you are allowed actions - SetText, GetText, LeftClick, RightClick, DoubleClick, and GetVisibility.