Click
This action clicks the specified object.
This actionDragAndDropToOffset (Deprecated)
This action drags and drops the specified web element at the specified location. You are recommended to use DragAndDropToObject.
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. | Yes | 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. | Yes | String |
Example:
DragAndDropOffset "100" "500"
MouseOver
This action simulates a mouse hovering over the specified object.
This action does not have any parameter.
Example:
MouseOver
RightClick
This action right-clicks the specified web element.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
option | The context menu option number that needs to be clicked. | No | String |
Example:RightClick "3''
This will select the third option from the context-menu.
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 |
---|---|
NULL | ~{NULL~} |
CANCEL (Esc) | ~{CANCEL~} |
HELP | ~{HELP~} |
BACK_SPACE | ~{BACK_SPACE~} |
TAB | ~{TAB~} |
CLEAR | ~{CLEAR~} |
RETURN | ~{RETURN~} |
ENTER | ~{ENTER~} |
SHIFT | ~{SHIFT~} |
LEFT_SHIFT(SHIFT) | ~{LEFT_SHIFT~} |
CONTROL | ~{CONTROL~} |
LEFT_CONTROL(CONTROL) | ~{LEFT_CONTROL~} |
ALT | ~{ALT~} |
LEFT_ALT | ~{LEFT_ALT~} |
PAUSE | ~{PAUSE~} |
ESCAPE | ~{ESCAPE~} |
SPACE | ~{SPACE~} |
PAGE_UP | ~{PAGE_UP~} |
PAGE_DOWN | ~{PAGE_DOWN~} |
END | ~{END~} |
HOME | ~{HOME~} |
LEFT | ~{LEFT~} |
ARROW_LEFT | ~{ARROW_LEFT~} |
UP | ~{UP~} |
ARROW_UP | ~{ARROW_UP~} |
RIGHT | ~{RIGHT~} |
ARROW_RIGHT | ~{ARROW_RIGHT~} |
DOWN | ~{DOWN~} |
ARROW_DOWN | ~{ARROW_DOWN~} |
INSERT | ~{INSERT~} |
DELETE | ~{DELETE~} |
SEMICOLON | ~{SEMICOLON~} |
EQUALS | ~{EQUALS~} |
NUMPAD0 | ~{NUMPAD0~} |
NUMPAD1 | ~{NUMPAD1~} |
NUMPAD2 | ~{NUMPAD2~} |
NUMPAD3 | ~{NUMPAD3~} |
NUMPAD4 | ~{NUMPAD4~} |
NUMPAD5 | ~{NUMPAD5~} |
NUMPAD6 | ~{NUMPAD6~} |
NUMPAD7 | ~{NUMPAD7~} |
NUMPAD8 | ~{NUMPAD8~} |
NUMPAD9 | ~{NUMPAD9~} |
MULTIPLY | ~{MULTIPLY~} |
ADD | ~{ADD~} |
SEPARATOR | ~{SEPARATOR~} |
SUBTRACT | ~{SUNSTRACT~} |
DECIMAL | ~{DECIMAL~} |
DIVIDE | ~{DIVIDE~} |
F1 | ~{F1~} |
F2 | ~{F2~} |
F3 | ~{F3~} |
F4 | ~{F4~} |
F5 | ~{F5~} |
F6 | ~{F6~} |
F7 | ~{F7~} |
F8 | ~{F8~} |
F9 | ~{F9~} |
F10 | ~{F10~} |
F11 | ~{F11~} |
F12 | ~{F12~} |
META | ~{META~} |
COMMAND (META) | ~{COMMAND~} |
ZENKAKU_HANKAKU | ~{ZENKAKU_HANKAKU~} |
CLICK | ~{CLICK~} |
DOUBLECLICK | ~{DOUBLECLICK~} |
RIGHTCLICK | ~{CONTEXTCLICK~} |
StoreChildCount
This action stores the child count of the specified object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which the child count will be saved. | Yes | String |
Example:
StoreChildCount "Key"
StoreCSSProperty
This action stores the CSS property value of the object under the specified key. Key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
keyProperty | Enter the key name under which the property value will be stored. | Yes | String |
property | Enter the property name whose value you want to store. | Yes | String |
Example:
StoreCSSProperty "display" "Key"
StoreExistence
This action stores existence of the object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
folderName
The path where the file is to be download. Please check Table 1 "Parameter Mandate" to validate in the situation where this parameter will be mandatory. In case the parameter Mandatory; the user should take care that the folder path exists. The action does not validates whether the folder exist
Yes
String
Filename
The filename of the downloadable file, to be given incase the user requires to give specific name and not depend on the default name of the file. In case, the file already exist, similar window like below will appear. Such windows are not handled by the action. Incase, the user does not provide this data, the action will pick the default file name available while download.
No
String
Example DownloadFile
Key | Enter the key name under which the existence's Boolean value will be stored.
| Yes | String |
Example:
StoreExistence
"
Key"
This action is tested on IE8, FF and Chrome. This action is not supported on IE9, IE10, and Google Chrome <16.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
DragAndDropToOffset (Deprecated)
This action drags and drops the specified web element at the specified location. You are recommended to use DragAndDropToObject.
StoreLocation
This action stores the current location of the object under the specified keys. The key values can be retrieved using the key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
keyXPosition | Enter |
Yes
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.
Yes
String
Example:
DragAndDropOffset "100" "500"
MouseOver
This action simulates a mouse hovering over the specified object.
This action does not have any parameter.
Example:
MouseOver
RightClick
This action right-clicks the specified web element.
Input Parameters:
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 |
Example:
StoreLocation "Height" "Width"
StorePropertyValue
This action stores the property of the specified object under the key name. The stored key value can be retrieved using the key name.
Some Android and iOS properties are not accessible.
List of accessible properties for Android: "name", "contentDescription", "className", "resourceId", "text", "enabled", "checkable", "checked", "clickable", "focusable", "focused", "longClickable", "scrollable", "selected", "displayed"
List of accessible properties for iOS: "name", "value", "label", "hint"
Input Parameters:
ParameterName | Parameter Description | Mandatory | Data Type |
---|
option
Key | Enter the key name under which the property value will be stored. | Yes | String |
Property | Property/attribute name whose value needs to be stored under the specified key. This can be any accessible property of Android/iOS native object mentioned above. | Yes |
String |
Example:
RightClickStorePropertyValue "key" "text"
3''This will select the third option from the context-menu.SendKeySequence
StoreSize
This action
sends one or multiple keys specified in the parameters tostores the size of the specified object
. You may use the syntaxes mentioned below to send normal or modifier keys. Multiple keys should be separated by caret.under keys. The key values can be retrieved using key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
keyHeight | Enter the |
key name under which you want to |
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
store the height of the object. | Yes | String |
Array
keyWidth | Enter the key name under which you want to store the width of the object. | Yes | String |
Example:
StoreSize "Height" "
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
NULL
~{NULL~}
CANCEL (Esc)
~{CANCEL~}
HELP
~{HELP~}
BACK_SPACE
~{BACK_SPACE~}
TAB
~{TAB~}
CLEAR
~{CLEAR~}
RETURN
~{RETURN~}
ENTER
~{ENTER~}
SHIFT
~{SHIFT~}
LEFT_SHIFT(SHIFT)
~{LEFT_SHIFT~}
CONTROL
~{CONTROL~}
LEFT_CONTROL(CONTROL)
~{LEFT_CONTROL~}
ALT
~{ALT~}
LEFT_ALT
~{LEFT_ALT~}
PAUSE
~{PAUSE~}
ESCAPE
~{ESCAPE~}
SPACE
~{SPACE~}
PAGE_UP
~{PAGE_UP~}
PAGE_DOWN
~{PAGE_DOWN~}
END
~{END~}
HOME
~{HOME~}
LEFT
~{LEFT~}
ARROW_LEFT
~{ARROW_LEFT~}
UP
~{UP~}
ARROW_UP
~{ARROW_UP~}
RIGHT
~{RIGHT~}
ARROW_RIGHT
~{ARROW_RIGHT~}
DOWN
~{DOWN~}
ARROW_DOWN
~{ARROW_DOWN~}
INSERT
~{INSERT~}
DELETE
~{DELETE~}
SEMICOLON
~{SEMICOLON~}
EQUALS
~{EQUALS~}
NUMPAD0
~{NUMPAD0~}
NUMPAD1
~{NUMPAD1~}
NUMPAD2
~{NUMPAD2~}
NUMPAD3
~{NUMPAD3~}
NUMPAD4
~{NUMPAD4~}
NUMPAD5
~{NUMPAD5~}
NUMPAD6
~{NUMPAD6~}
NUMPAD7
~{NUMPAD7~}
NUMPAD8
~{NUMPAD8~}
NUMPAD9
~{NUMPAD9~}
MULTIPLY
~{MULTIPLY~}
ADD
~{ADD~}
SEPARATOR
~{SEPARATOR~}
SUBTRACT
~{SUNSTRACT~}
DECIMAL
~{DECIMAL~}
DIVIDE
~{DIVIDE~}
F1
~{F1~}
F2
~{F2~}
F3
~{F3~}
F4
~{F4~}
F5
~{F5~}
F6
~{F6~}
F7
~{F7~}
F8
~{F8~}
F9
~{F9~}
F10
~{F10~}
F11
~{F11~}
F12
~{F12~}
META
~{META~}
COMMAND (META)
~{COMMAND~}
ZENKAKU_HANKAKU
~{ZENKAKU_HANKAKU~}
CLICK
~{CLICK~}
DOUBLECLICK
~{DOUBLECLICK~}
RIGHTCLICK
~{CONTEXTCLICK~}
VerifyEnability
This action verifies the enability of the specified object.Width"
StoreText
This action stores the text existing inside the specified object under the specified keys. The key values can be retrieved using the key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyText | Enter the key name to store the text from the specified object. | Yes | String |
Example:
StoreText "Key"
StoreValueAttribute
This action stores the data present in the "value" attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
strKey | Enter a variable to store the data present in the "value" attribute for the object. | Yes | String |
Example:
StoreValueAttribute "Key"
StoreVisibility
This action stores visibility of the web object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
strKey | The visibility value for the mobile object is stored as:
| No | String |
Example:
StoreVisibility "Key"
VerifyEnability
This action verifies the enability of the specified object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
enability | Value for this parameters can be true or false.
Note: If you do not enter any value, the default value is set to True during the test case execution. | No | String |
Example:
VerifyEnability "True"
VerifyExistence
This action verifies the existence of the specified object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
existence | Value for this parameters can be true or false.
| No | String |
Example:
VerifyExistence "True"
VerifyVisibility
This action verifies the visibility of the specified object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
visibility | Value for this parameters can be true or false.
| No | String |
Example:
VerifyVisibility "True"
WaitForAttributeContains
This action waits till the value of the specified attribute changes to the expected partial value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. | No | String |
keyAttributeValueContains | 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 |
attributeValue | Enter the partial expected partial attribute value. | Yes | 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 |
timeOut | Enter the timeout (in seconds) to wait for the expected value. | No | String |
Example:
WaitForAttributeContains "id" "we323es" "5" "500" "Key" "Defect"
WaitForAttributeNotContains
This action waits until the specified attribute's value of the object changes to other than the partial parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
enability
Value for this parameters can be true or false.
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the value which should not be there in the attribute value. | Yes | String |
Example:
VerifyEnability "True"
VerifyExistence
This action verifies the existence of the specified object.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
existence
Value for this parameters can be true or false.
- Set True if you want to check the existence.
- Set False if you want to check the non-existence.
timeOut | Enter the timeout (in seconds) to wait for the value to change. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the unexpected 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:
WaitForAttributeValueNotContains "id" "232waf" "
True"VerifyVisibility
This action verifies the visibility of the specified object.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
visibility
Value for this parameters can be true or false.
- Set True if you want to check the visibility.
- Set False if you want to check the invisibility.
Yes
String
Example:
VerifyVisibility "True"
WaitForAttributeContains
This action waits till the value of the specified attribute changes to the expected partial5" "500" "Key" "Defect"
WaitForAttributeNotToBe
This action waits until the specified attribute's value of the object changes to other than the exact parameterized value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the value which should not be there in the attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the value to change. | 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 |
keyAttributeValueNotToBe | 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 |
attributeValue
Yes
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
timeOut
. |
No | String |
Example:
WaitForAttributeNotToBe
"id" "
we323es232waf" "5" "500" "Key" "Defect"
WaitForAttributeNotContainsWaitForAttributeNotToBeEmpty
This action waits until the specified attribute's value of the object
changes to other than the partial parameterized value. This comparison is case-sensitive.gets filled with some value. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check |
Yes
String
attributeValue
. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the attribute value |
. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
attribute 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:
WaitForAttributeNotToBeEmpty
"id"
"232waf"
"5" "500" "Key" "Defect"
WaitForAttributeNotToBeWaitForAttributeToBe
This action waits
untiltill the
specified attribute'svalue of the
objectspecified attribute changes to
other thanthe exact
parameterizedexpected value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
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:
WaitForAttributeToBe
"id" "232waf" "5" "500" "Key" "Defect"
WaitForAttributeNotToBeEmptyWaitForAttributeToBeEmpty
This action waits until the specified attribute's value of the object gets
filled with some value. Youempty. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the attribute value to be empty. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the attribute 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:
WaitForAttributeToBeEmpty "id" "5" "500" "Key" "Defect"
WaitForAttributeToBeWaitForChildElement
This action waits
tillfor the
valuechild elements of the specified
attribute changes to the exact expected value. This comparison is case-sensitiveobject to appear. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
childLocatorType | Enter |
the locator type of the object whose child you want to check. | Yes | String |
childLocatorValue | Enter the |
locator value of the child you want to check. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
objects before exhausting timeout. | No | String |
keyExistence | 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:
WaitForChildElement
"id"
"
232waf2" "5" "500" "Key" "Defect"
WaitForAttributeToBeEmptyWaitForClickability
This action waits
untilfor the specified
attribute's value of the object gets emptyobject to be clickable. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
attributeName
Enter the attribute name whose value you want to check.
String
timeOut | Enter the timeout (in seconds) to wait for the |
object to be |
clickable. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
object clickability before exhausting timeout. | No | String |
keyClickability | 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:
WaitForClickability
"5" "500" "Key" "Defect"
WaitForChildElementWaitForExistence
This action waits for the
child elementsexistence of the specified object
to appear. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
childLocatorType
Enter the locator type of the object whose child you want to check.
Yes
String
Enter the locator value of the child you want to check.
Yes
String
timeOut | Enter the timeout (in seconds) to wait for the |
existence of the object. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the existence of the |
object before exhausting timeout. | No | String | |
keyExistence | 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
WaitForChildElement "id" "2" "
String |
Example:
WaitForExistence "5" "500" "Key" "Defect"
WaitForInnerTextContains
This action waits for the
specifiedobject to
be clickablecontain the expected partial text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerText | Enter the expected text you want to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
expected text before exhausting timeout. | No | String |
keyInnerTextContains | 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:
WaitForInnerTextContains "Connect" "5"
"500" "Key" "Defect"
WaitForExistenceWaitForInnerTextMatchesPattern
This action waits for
the existence of the specified object. Youinner text from the specified object to match the expected text regular expression pattern. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerTextRegXPattern | Enter the expected pattern for the inner text. Pattern should be regular expression. Step fails in case the pattern is invalid. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
expected text before exhausting timeout. | No | String |
keyInnerText | 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"
WaitForInnerTextContainsWaitForInnerTextNotContains
This action waits
foruntil the specified attribute's value of the object changes to
contain the expected partial text. Theother than the parameterized value. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerText | Enter the |
text which should not be there in the attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
inner text to disappear. |
| No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. | No | String |
keyInnerTextNotContains | 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:
WaitForInnerTextNotContains "Connect" "5" "500" "Key" "Defect"
WaitForInnerTextMatchesPatternWaitForInnerTextNotToBe
This action waits
fortill the inner text of the object changes from the specified
object to match the expectedtext
regular expression pattern. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
innerText | Enter |
the |
text |
which should not be |
there in |
the |
object. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
text to change. | No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. | No | String |
keyInnerTextNotToBe | 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:
WaitForInnerTextNotToBe "
.[My]text.Connect" "5" "500" "Key" "Defect"
WaitForInnerTextNotContainsWaitForInnerTextToBe
This action
waits until the specified attribute's value ofwaits for the object
changesto
other than the parameterized value. Thecontain the expected exact text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerText | Enter the |
expected text you want to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
expected text |
. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text |
before exhausting timeout. | No | String |
keyInnerText | 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:
WaitForInnerTextToBe "Connect" "5" "500" "Key" "Defect"
WaitForInnerTextNotToBeWaitForInvisibility
This action waits
till the inner text offor the object
changes from the specified text. The comparison is case-sensitive. Youto invisible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Enter the text which should not be there in the object.
Yes
String
timeOut | Enter the timeout (in seconds) to wait for the |
object to |
go invisible. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
invisibility before exhausting timeout. | No | String |
keyInvisibility | 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:
WaitForInvisibility
"
Connect5"
"5"
"500" "Key" "Defect"
WaitForInnerTextToBeWaitForNonClickability
This
actionobject waits for the object to
contain the expected exact text. The comparison is case-sensitive.become non clickable. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
innerText
Enter the expected text you want to wait for.
Yes
timeOut | Enter the timeout (in seconds) to wait for the |
object to become non clickable. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
clickability before exhausting timeout. | No | String |
keyNonClickability | 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:
WaitForNonClickability "5"
"5"
"500" "Key" "Defect"
WaitForInvisibilityWaitForNonExistence
This action waits for the non existence of the specified object
to invisible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the non existence of the object |
. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for non existence of the |
object before exhausting timeout. | No | String |
keyNonExistence | 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:
WaitForNonExistence "5" "500" "Key" "Defect"
WaitForNonClickabilityWaitForNumberOfElementsToBe
This
objectaction waits for the number of elements of the specified object
to become non clickable. Youlocator on the page to be same as the expected number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedNumOfElements | Enter the expected number of elements to wait for. | No | Integer |
timeOut | Enter the timeout (in seconds) to wait for the |
number elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
objects before exhausting timeout. | No | String |
keyNumberOfElements | 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:
WaitForNumberOfElementsToBe "2" "5" "500" "Key" "Defect"
WaitForNonExistenceWaitForNumberOfElementsToBeLessThan
This action waits for the
non existencenumber of elements of the specified object locator on the page to be less than the specified number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedNumOfElements | Enter the expected number of elements to wait for. | No | String |
timeOut | Enter the timeout (in seconds) to wait for the |
number elements to appear. |
No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
objects before exhausting timeout. | No |
Integer |
keyNumOfElementsLessThan | 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:
WaitForNumberOfElementsToBeLessThan "2" "5" "500" "Key" "Defect"
WaitForNumberOfElementsToBeWaitForNumberOfElementsToBeMoreThan
This action waits for the number of elements of the specified object locator on the page to be
same asmore than the
expectedspecified number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
expectedNumOfElements | Enter the expected number of elements to wait for. |
No | Integer | ||
timeOut | Enter the timeout (in seconds) to wait for the number elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. | No | String |
keyNumOfElementsLessThan | 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:
WaitForNumberOfElementsToBeMoreThan "2" "5" "500" "Key" "Defect"
WaitForNumberOfElementsToBeLessThan
This action waits for the number of elements of the specified object locator on the page to be less than the specified number. You may specify the timeout and polling interval, if required.WaitForStaleness
This action waits until the element gets detached from the DOM.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
expectedNumOfElements
Enter the expected number of elements to wait for.
Yes
timeOut | Enter the timeout (in seconds) to wait for the |
value to |
be detached. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the |
element before exhausting timeout. | No |
String |
keyStatus | 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:
WaitForStaleness
"5" "500" "Key" "Defect"
WaitForNumberOfElementsToBeMoreThanWaitForVisibility
This action waits for the
number of elements of the specifiedobject
locator on the page to be more than the specified numberto be visible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
expectedNumOfElements
Enter the expected number of elements to wait for.
Yes
timeOut | Enter the timeout (in seconds) to wait for the |
object visibility. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
object visibility before exhausting timeout. | No | String |
keyVisibility | 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:
WaitForVisibility "5" "500" "Key" "Defect"
WaitForStalenessWebObject.StoreVisibility
This action
waits until the element gets detached from the DOM.stores the visibility status for a web element under the specified key name in the following conditions:
- True: If the web element is visible.
- False: If the web element is not visible.
Input Parameters:
Parameter Name | Parameter Description | Mandatory |
---|
Data Type
timeOut
Enter the timeout (in seconds) to wait for the value to be detached.
No
String
pollingInterval
Enter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout.
No
String
keyStatus
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.
strKey | |||
---|---|---|---|
strKey | Enter a variable to store the visibility status. | Yes | String |
Example:
WaitForStaleness "5" "500" "Key" "Defect"
WaitForVisibility
This action waits for the object to be visible. You may specify the timeout and polling interval, if required.StoreVisibility "Key"
WaitForObject (Deprecated)
This action waits for the object to appear or disappear for the maximum number of seconds specified.
If the object is found or not found before the maximum time specified, execution continues to the next steps.
If the wait time is "" then the wait time shall be the "Sync Time" set under the Configuration Settings (Execution) window.
Input Parameters:
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.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
timeOut
Enter the timeout (in seconds) to wait for the object visibility.
No
String
pollingInterval
Enter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout.
No
String
keyVisibility
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
waitTime | Enter the number of seconds to wait for the object to appear or disappear. This has to be 0 or any positive number. | Yes | String |
existence | Value for this parameter can be true or false.
| Yes | String |
Example:
WaitForObject "
50010"
"Key""
DefectTrue"
WebObject.StoreVisibility
This action stores the visibility status for a web element under the specified key name in the following conditions:
- True: If the web element is visible.
- False: If the web element is not visible.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
StoreVisbility
String
The action waits for maximum 10 seconds for the object to appear. If the object appears before 10 seconds elapses, execution continues to the next steps.
WaitForObject "15" "False"
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses,execution continues to the next steps.