Actions available for captured objects
- Zuletzt aktualisiert2020/05/04
Actions available for captured objects
The GUI Automation command enables you to perform various actions on the objects you have captured from the SAP GUI.
The actions that you can perform on an object depend on the type of the object. The following table lists the actions available for each object type:
Object Type | Actions Available |
Text box |
Set Text Append Text Get Property Set Focus Left Click Right Click Double Click |
Combo box |
Select Item By Index Select Item By Text Select Item By Key Get Total Items Get Selected Item Text Get Selected Item Key Get Selected Item Index Get Property Set Focus Left Click Right Click Double Click Note: The index for the combo box starts with zero. For example, if
you want to select the second item in the combo box, you must
specify one as the value.
|
Check box |
Check Uncheck Toggle Get Status Get Property Set Focus Left Click Right Click Double Click |
Button |
Click Get Property Set Focus Left Click Right Click Double Click |
Radio button |
Select Get Status Get Property Set Focus Left Click Right Click Double Click |
Table |
Set Cell By Index Get Cell Text By Index Get Total Rows Get Total Columns Select Row Export To CSV Get Property Set Focus Left Click Right Click Double Click Note: The index for row and column starts with zero. To select or
clear a check box in a table, you must specify
check or uncheck as the
value in the Value field. Similarly, you
must specify select or
deselect to select or clear a radio
button. |
Menu bar |
Select Item By Text Get Property Set Focus Left Click Right Click Double Click |
Tree |
Expand Node Select Node By Text Get Property Set Focus Left Click Right Click Double Click Note: Provide name of the node and its occurrence. The value for
occurrence starts with one.
|
Tab |
Select ScrollToLeft Get Property Set Focus Left Click Right Click Double Click |
Shell |
Get Property Set Focus Left Click Right Click Double Click |
Grid view |
Select All Set Cell By Index Set Current Row Select row Click Cell By Index Double Click Current Cell Get Total Rows Get Total Columns Get Cell By Index Export To CSV Get Property Set Focus Left Click Right Click Double Click Note: The index for row and column starts with zero.
|
Main window |
Send Key Close Window Maximize Window Activate Window Restore Window Get Focus Control Id Execute script Get Property Set Focus Left Click Right Click Double Click Note: You must record the script
using the SAP's Script Recording functionality. After recording
the script, if the script is of the single line you can use it
as input for the Execute script action.
However, if the recorded script is of more than one line, you
must copy and paste the script in a string variable and use that
variable as input for the Execute script
action.
|
Shell:ToolbarControl |
Press Button Select Context Menu Item By Text Get Property Set Focus Left Click Right Click Double Click Note: The position of a button on toolbar starts with zero.
|
Rest of the Control |
Set Focus Get Property Left Click Right Click Double Click |