Click
This action clicks the specified object.
...
String waitTimeForWindow - "5",
String url - "www.([A-Z])\w+",
String isURLPatternString - "True",
Expected Result - The action waits for up to 5 seconds for multiple windows to open after clicking web element/object and it selects the window which matches the regex pattern "www.([A-Z])\w+" as provided in the URL parameter. As the isURLPatternString parameter is 'True', the action treats the URL parameter as a regex pattern. In case there are multiple windows satisfying the regex pattern, the action selects the first window.
...
CompareTableRowData "2" "India~^Australia~^ England"
DeSelectCheckBoxInCell
This action deselects the check box from the specified table cell. This can also be applicable for tables where each row in the table have different number of columns.
...
This action does not have any parameter.
Example:
DoubleClick
...
DragAndDrop
This action drags and drops the specified web element at the specified location.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
offsetX | Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10, and so on. |
No | String |
offsetY | Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as -100,100 , +100, and so on. |
No | String |
Example:
DragAndDropOffset DragAndDrop "100" "500"
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Row | Enter the row number of the cell from which you want to select the checkbox. Row number starts at 1. | Yes | String |
column | Enter the column number of the cell from which you want to select the checkbox. Column number starts at 1. | Yes | String |
Example:
SelectCheckboxInCell "2" "3"
...
number starts at 1. | Yes | String | |
column | Enter the column number of the cell from which you want to select the checkbox. Column number starts at 1. | Yes | String |
Example:
SelectCheckboxInCell "2" "3"
SendKeySequence
This action sends one or multiple keys specified in the parameters to the specified object. You may use the syntaxes mentioned below to send normal or modifier keys. Multiple keys should be separated by caret.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
arrayofKeys | Enter the keys you want to send. In case you want to send a string with modifier characters (from the table mentioned below) you must use caret (^) sign as a separator between modifier characters and normal string values. | Yes | Array |
Adding modifiers like SHIFT, Control, and so forth perform the activity of pressing these keys only. For releasing these keys, you must add these modifiers again based on requirements as shown in the example.
Example:
sendKeySequence "~{SHIFT~}^w^~{SHIFT~}^elcome"
The example above will press the word Welcome. Apart from the normal alphabets, you can also send the modifier keys. When sending modifier keys, you have to send them in the syntax given.
Key | Syntax |
---|---|
ZENKAKU_HANKAKU | ~{ZENKAKU_HANKAKU~} |
UP | ~{UP~} |
TAB | ~{TAB~} |
SUBTRACT | ~{SUNSTRACT~} |
SPACE | ~{SPACE~} |
SHIFT | ~{SHIFT~} |
SEPARATOR | ~{SEPARATOR~} |
SEMICOLON | ~{SEMICOLON~} |
RIGHTCLICK | ~{CONTEXTCLICK~} |
RIGHT | ~{RIGHT~} |
RETURN | ~{RETURN~} |
PAUSE | ~{PAUSE~} |
PAGE_UP | ~{PAGE_UP~} |
PAGE_DOWN | ~{PAGE_DOWN~} |
NUMPAD9 | ~{NUMPAD9~} |
NUMPAD8 | ~{NUMPAD8~} |
NUMPAD7 | ~{NUMPAD7~} |
NUMPAD6 | ~{NUMPAD6~} |
NUMPAD5 | ~{NUMPAD5~} |
NUMPAD4 | ~{NUMPAD4~} |
NUMPAD3 | ~{NUMPAD3~} |
NUMPAD2 | ~{NUMPAD2~} |
NUMPAD1 | ~{NUMPAD1~} |
NUMPAD0 | ~{NUMPAD0~} |
NULL | ~{NULL~} |
MULTIPLY | ~{MULTIPLY~} |
META | ~{META~} |
LEFT_SHIFT(SHIFT) | ~{LEFT_SHIFT~} |
LEFT_CONTROL(CONTROL) | ~{LEFT_CONTROL~} |
LEFT_ALT | ~{LEFT_ALT~} |
LEFT | ~{LEFT~} |
INSERT | ~{INSERT~} |
HOME | ~{HOME~} |
HELP | ~{HELP~} |
F12 | ~{F12~} |
F11 | ~{F11~} |
F10 | ~{F10~} |
F9 | ~{F9~} |
F8 | ~{F8~} |
F7 | ~{F7~} |
F6 | ~{F6~} |
F5 | ~{F5~} |
F4 | ~{F4~} |
F3 | ~{F3~} |
F2 | ~{F2~} |
F1 | ~{F1~} |
ESCAPE | ~{ESCAPE~} |
EQUALS | ~{EQUALS~} |
ENTER | ~{ENTER~} |
END | ~{END~} |
DOWN | ~{DOWN~} |
DOUBLECLICK | ~{DOUBLECLICK~} |
DIVIDE | ~{DIVIDE~} |
DELETE | ~{DELETE~} |
DECIMAL | ~{DECIMAL~} |
CONTROL | ~{CONTROL~} |
COMMAND (META) | ~{COMMAND~} |
CLICK | ~{CLICK~} |
CLEAR | ~{CLEAR~} |
CANCEL (Esc) | ~{CANCEL~} |
BACK_SPACE | ~{BACK_SPACE~} |
ARROW_UP | ~{ARROW_UP~} |
ARROW_RIGHT | ~{ARROW_RIGHT~} |
ARROW_LEFT | ~{ARROW_LEFT~} |
ARROW_DOWN | ~{ARROW_DOWN~} |
ALT | ~{ALT~} |
ADD | ~{ADD~} |
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
...
SetValueAttribute "#ff0990"
StoreCellText
This action stores the text of the specified table cell under the specified key. The key value can be retrieved using the key name.
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyXPosition | Enter the key name to store the height of the location of the object. | Yes | String |
keyYPosition | Enter the key name to store the width of the location of the object. | Yes | String |
...
StoreRowNumWithRowData "1^India^3^Australia^6^ England"
Thus it will check the data "India" in the first column of the table, "Australia" in the third column and "England" in the 6th column in a particular row. Thus, the data needs to be present in the same row.
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameter can be True or False.
| No | String |
Example:
VerifyEnability "True"
...
This action verifies that the image present in the specified cell is having the specified scrsrc/title attribute.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Row | Enter the row number of the cell from which you want to verify the image. Row number starts at 1. | Yes | String |
column | Enter the column number of the cell from which you want to verify the image. Column number starts at 1. | Yes | String |
ScrTitleSrcTitle | Enter either the scr src or title data of the image. First the source property will be compared with the actual source and if not present then the title property will be verified. | No | String |
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
visibility | Value for this parameter can be True or False.
| No | String |
Example:
VerifyVisibility "True"
...
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the exact expected value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected value. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
...
Example:
WaitForInnerTextMatchesPattern ".[My]text." "5" "500" "Key" "Defect"
...