Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt macro | ||
---|---|---|
| ||
DoubleClickThis action double-clicks the specified web element. Example: |
name | RightClick |
---|
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.
Yes
String
Example:
RightClick "3''
This will select the third option from the context-menu.
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
name | DragandDrop |
---|
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.
Yes
String
offsetY
DragAndDropToOffset
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. | 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"
MouseDown
This action simulates left-click at the specified location on the screen.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
X | The x-coordinate of the click. | Yes | String |
Y | The y-coordinate of the click. | Yes | String |
Example:
MouseDown "5" "10"
MouseOver
This action simulates a mouse hovering over the specified object.
This action does not have any parameter.
Example:
MouseOver
MouseUp
This action simulates the event that occurs when the user releases the mouse button.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
X | The x-coordinate of the click. | Yes | String |
Y | The y-coordinate of the click. | Yes | String |
Example
MouseUp "5" "10"
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. | Yes | String |
Example:
RightClick "3''
This will select the third option from the context-menu.
ScrollIntoView
This action scrolls to view the specified object.
This action does not have any parameter.
Example:
ScrollIntoView
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
Example:
SetFocus
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"
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 |
---|---|---|---|
Key | Enter the key name under which the existence's Boolean value will be stored.
| Yes | String |
Example:
StoreExistence "Key"
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:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
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:
StorePropertyValue "key" "text"
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.
| 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.
| Yes | String |
Example:
DragAndDropVerifyExistence
"100""
500True"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
New Actions
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.
| Yes | String |
Example:
VerifyVisibility "True"
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"
StoreLocation
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 | |
---|---|---|---|
keyHeight | Enter the key name to store the height of the location of the object. | Yes | String |
keyWidth | Enter the key name to store the width of the location of the object. | Yes | String |
Example:
StoreLocation "Height" "Width
"
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 | |
---|---|---|---|
property | Enter the property name whose value you want to store. | Yes | String |
keyProperty | Enter the key name under which the property value will be stored. | Yes | String |
Example:
StoreCSSProperty "
display" "
displayKey"
multiexcerpt-macroStoreSize
StoreSize
This action stores the size of the specified object under keys. The key values can be retrieved using key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyXPosition | Enter the key name under which you want to store the height of the object. | Yes | String |
keyYPosition | Enter the key name under which you want to store the width of the object. | Yes | String |
Example:
StoreSize "Height" "Width"
multiexcerpt-include-macro name
SendKeySequence page WebEdit Actions
SetValueAttribute
This action
waits until the element gets detached from the DOM.Input Parameters:
sets the data specified in the 'value' attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
value | Enter the |
value to be added for the Value attribute. | Yes | String |
Example:
SetValueAttribute "#ff0990"
StoreValueAttribute
This action stores the data present in the 'value' attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
key | Enter the key name under which the |
value will be stored |
. |
Enter the |
value to be added for the Value attribute.Key value can be retried using the key name. | Yes | String |
Example:
StoreValueAttribute
"
5" "500" "Key
""
Defect"name | WaitForAttributeValueContains |
---|
WaitForStaleness
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.until the element gets detached from the DOM.
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. | No | String |
Example
:WaitForAttributeValueContains "id" "we323es":
WaitForStaleness "5" "500" "Key" "Defect"
name | WaitForAttributeValueNotContains |
---|
WaitForAttributeContains
This action waits
untiltill the
specified attribute'svalue of the
objectspecified attribute changes to
other thanthe expected partial
parameterizedvalue.
ThisThis 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 |
partial expected partial attribute 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 |
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 |
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:
WaitForAttributeContains "id" "
232wafwe323es" "5" "500" "Key" "Defect"
name | WaitForAttributeValueToBe |
---|
WaitForAttributeValueToBe
WaitForAttributeNotContains
This action waits
tilluntil the specified attribute's value of the
specified attributeobject changes to other than the
exact expectedpartial parameterized value.
This 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 |
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:
WaitForAttributeValueContains
"id" "232waf" "5" "500" "Key" "Defect"
name | WaitForAttributeNotToBe |
---|
WaitForAttributeValueNotToBe
WaitForAttributeToBe
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"
name | WaitForAttributeValueNotToBeEmpty |
---|
WaitForAttributeNotToBe
This action waits until the specified attribute's value of the object
gets filled with some value.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 |
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:
WaitForAttributeNotToBe "id" "232waf" "5" "500" "Key" "Defect"
name | WaitForAttributeValueToBeEmpty |
---|
WaitForAttributeNotToBeEmpty
This action waits until the specified attribute's value of the object gets
emptyfilled 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 |
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" "5" "500" "Key" "Defect"
name | WaitForClickability |
---|
WaitForAttributeToBeEmpty
This action waits
foruntil the specified
object to be clickableattribute's value of the object gets empty. 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"
name | WaitForExistence |
---|
WaitForClickability
This action waits for
the existence ofthe specified object to be clickable.
You 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 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"
name | WaitForInnerTextContains |
---|
WaitForInnerTextContains
WaitForExistence
This action waits for the
object to contain the expected partial text. The comparison is case-sensitive. Youexistence of the specified object. 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 |
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 |
Example:
WaitForExistence "
Connect5"
"5"
"500" "Key" "Defect"
name | WaitForInnerTextMatchesPattern |
---|
WaitForInnerTextContains
This action waits for
inner text fromthe
specifiedobject to
matchcontain the expected partial text
regular expression pattern.
TheThe 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
".*[My]text.*"Connect" "5" "500" "Key" "Defect"
name | WaitForInnerTextNotContains |
---|
WaitForInnerTextNotContains
WaitForInnerTextMatchesPattern
This action waits
untilfor inner text from the specified
attribute's value of theobject
changesto
other than the parameterized value. Thematch 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 "
Connect.[My]text." "5" "500" "Key" "Defect"
name | WaitForInnerTextNotToBe |
---|
WaitForInnerTextNotToBe
WaitForInnerTextNotContains
This action waits
till the inner textuntil the specified attribute's value of the object changes
from the specified text. Theto other 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"
name | WaitForInnerTextToBe |
---|
WaitForInnerTextToBe
WaitForInnerTextNotToBe
This action waits
fortill the inner text of the object
to contain the expected exactchanges from the specified text.
The 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 "Connect" "5" "500" "Key" "Defect"
name | WaitForInvisibility |
---|
WaitForInnerTextToBe
This action waits for the object to
invisible. Youcontain 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:
WaitForInvisibilityExample:
WaitForInnerTextToBe "Connect" "5"
"500" "Key" "Defect"
name | WaitForNonClickability |
---|
WaitForNonClickability
This objectWaitForInvisibility
This action waits for the object to
become non clickableinvisible.
YouYou 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 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
"5" "500" "Key" "Defect"
name | WaitForNonExistence |
---|
WaitForNonExistence
This actionWaitForNonClickability
This object waits for the
non existence of the specified object. Youobject to become non clickable. 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 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" "500" "Key" "Defect"
name | WaitForSelection |
---|
WaitForNonExistence
This action waits
tillfor the non existence of the specified object
gets selected.
YouYou 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"
name | WaitForSelectionStateToBe |
---|
WaitForSelectionStateToBe
This action waitsWaitForVisibility
This action waits for the object to
go to the specified state. Yoube visible. 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 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"
name | WaitForVisibility |
---|
WaitForVisibility
WaitForNumberOfElementsToBe
This action waits for the number of elements of the specified object locator on the page to be
visiblesame as the expected number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
number | Enter the expected number of elements to wait for. | Yes | 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"
name | WaitForNumberOfElementsToBe |
---|
WaitForNumberOfElementsToBe
WaitForNumberOfElementsToBeLessThan
This action waits for the number of elements of the specified object locator on the page to be
same asless 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. | Yes |
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"
name | WaitForNumberOfElementsToBeLessThan |
---|
WaitForNumberOfElementsToBeLessThan
WaitForNumberOfElementsToBeMoreThan
This action waits for the number of elements of the specified object locator on the page to be
lessmore 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. | Yes |
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"
name | WaitForNumberOfElementsToBeMoreThan |
---|
WaitForNumberOfElementsToBeMoreThan
WaitForChildElement
This action waits for the
number ofchild elements of the specified object
locator on the page to be more than the specified numberto 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" "2" "5" "500" "Key" "Defect"
name | WaitForChildElement |
---|
WaitForChildElement
This action waits for the child elements of the specified object to appear. You may specify the timeout and polling interval, if required.
Input Parameters:
Example:
WaitForChildElement "id" "2" "5" "500" "Key" "Defect"ClickAndWait (Deprecated)
This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window.
Default value is 20 seconds. If the page loads before reaching the maximum sync time execution continues to the next steps.
This action does not have any parameter.
Example:
ClickAndWait
Webdriver waits for the document to come in ready state. If it is in ready state it is assumed that the page is loaded completely and Webdriver stops waiting. The condition to wait till the document to load in ready state and assume that the page is loaded could however not work as expected at all times.
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:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
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 "10" "true"
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.