Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Multiexcerpt include macro
nameClick
pageWebButton Actions

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

Multiexcerpt include macro
nameVerifyVisibility
pageWebButton Actions

On this page:

Table of Contents
maxLevel2
absoluteUrltrue
stylesquare

Multiexcerpt include macro
nameDownloadFile
pageWebButton Actions

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

Multiexcerpt include macro
nameMouseOver
pageWebButton Actions

Multiexcerpt include macro
nameMouseDown
pageWebButton Actions

Multiexcerpt include macro
nameMouseUp
pageWebButton Actions

Multiexcerpt include macro
nameClickAt
pageWebButton Actions

Multiexcerpt include macro
nameSetFocus
pageWebButton Actions

Multiexcerpt macro
nameDoubleClick

DoubleClick

This action double-clicks the specified web element.

Example:
DoubleClick


Multiexcerpt macro
nameRightClick

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
nameWaitForObject
pageWebButton Actions

Multiexcerpt include macro
nameClickAndWait
pageWebButton Actions

Multiexcerpt macro
nameDragandDrop

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

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:
DragAndDrop            "100"              "500"

Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions

Multiexcerpt include macro
nameStoreChildCount-withoutlocator
pageWebButton Actions

Multiexcerpt include macro
nameScrollIntoView
pageWebButton Actions

Multiexcerpt include macro
nameClickJS
pageWebButton Actions

Multiexcerpt include macro
nameActionClick
pageWebButton Actions


New Actions

Multiexcerpt macro
nameStoreText

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 NameParameter DesciptionMandatoryData Type
keyTextEnter the key name to store the text from the specified object.YesString

Example:

StoreText        "Key" 


Multiexcerpt macro
nameStoreLocation

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 NameParameter DesciptionMandatoryData Type
keyXkeyHeightEnter the key name to store the X coordinate height of the position location of the object.YesString
KeyYkeyWidthEnter the key name to store the Y coordinate width of the position location of the object.YesString

Example:

StoreLocation        "XPositionHeight"            "YPositionWidth"


Multiexcerpt macro
nameStoreCSSProperty

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 NameParameter DesciptionMandatoryData Type
PropertypropertyEnter the property name whose value you want to store.YesString
KeyPropertykeyPropertyEnter the key name under which the property value will be stored. YesString

Example:

StoreCSSProperty        "Key"            "display"


Multiexcerpt macro
nameStoreSize

StoreSize

This action stores the size of the specified object under keys. The key values can be retrieved using key names.

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
keyHeightkeyXPositionEnter the key name under which you want to store the height of the object.YesString
KeyWidthkeyYPositionEnter the key name under which you want to store the width of the object.YesString

Example:

StoreSize           "Height"                   "Width"


Multiexcerpt macro
nameWaitForStaleness

WaitForStaleness

This action waits until the element gets detached from the DOM. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the value to be detached.  NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout. NoIntegerString
keyStatusEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForStaleness        "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeValueContains

WaitForAttributeValueContains

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 NameParameter DescriptionMandatoryData Type
attributeNameEnter the attribute name whose value you want to check.YesString
attributeValue Enter the partial expected partial attribute value.YesString
timeOutEnter the timeout (in seconds) to wait for the expected value. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoIntegerString
Key_AttributeValueContainskeyAttributeValueContainsEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeValueContains      "id"           "we323es"        "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeValueNotContains

WaitForAttributeValueNotContains

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 NameParameter DescriptionMandatoryData Type
attributeNameEnter the attribute name whose value you want to check.YesString
attributeValue Enter the value which should not be there in the attribute value.YesString
timeOutEnter the timeout (in seconds) to wait for the value to change. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the unexpected value before exhausting timeout.NoIntegerString
Key_AttributeValuekeyAttributeValueEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeValueNotContains      "id"           "232waf"        "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeValueToBe

WaitForAttributeValueToBe

This action waits till the value of the specified attribute changes to the exact expected value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.   

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
attributeNameEnter the attribute name whose value you want to check.YesString
attributeValue Enter the exact expected value.YesString
timeOutEnter the timeout (in seconds) to wait for the expected value. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoIntegerString
Key_AttributeValuekeyAttributeValueEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeValueToBe         "id"           "232waf"        "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeNotToBe

WaitForAttributeValueNotToBe

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 NameParameter DescriptionMandatoryData Type
attributeNameEnter the attribute name whose value you want to check.YesString
attributeValue Enter the value which should not be there in the attribute value.YesString
timeOutEnter the timeout (in seconds) to wait for the value to change. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoIntegerString
Key_AttributeValueNotToBekeyAttributeValueNotToBeEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeValueNotToBe      "id"           "232waf"        "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeValueNotToBeEmpty

WaitForAttributeValueNotToBeEmpty

This action waits until the specified attribute's value of the object gets filled with some value. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
attributeNameEnter the attribute name whose value you want to check.YesString
timeOutEnter the timeout (in seconds) to wait for the attribute value.  NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. NoIntegerString
Key_AttributeValuekeyAttributeValueEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeValueNotToBeEmpty      "id"           "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeValueToBeEmpty

WaitForAttributeValueToBeEmpty

This action waits until the specified attribute's value of the object gets empty. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
attributeNameEnter the attribute name whose value you want to check.YesString
timeOutEnter the timeout (in seconds) to wait for the attribute value to be empty.  NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. NoIntegerString
Key_AttributeValuekeyAttributeValueEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeValueToBeEmpty      "id"           "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForClickability

WaitForClickability

This action waits for the specified object to be clickable. You may specify the timeout and polling interval, if required.  

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the object to be clickable.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the object clickability before exhausting timeout. NoIntegerString
Key_ClickabilitykeyClickabilityEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForClickability     "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForExistence

WaitForExistence

This action waits for the existence of the specified object. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the existence of the object.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the existence of the object before exhausting timeout. NoIntegerString
Key_ExistencekeyExistenceEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForExistence     "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForInnerTextContains

WaitForInnerTextContains

This action waits for the object to contain the expected partial text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 

Input Parameters:

Key_InnerTextContains
Parameter NameParameter DescriptionMandatoryData Type
innerTextEnter the expected text you want to wait for.YesString
timeOutEnter the timeout (in seconds) to wait for the expected text.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoIntegerString
keyInnerTextContainsEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForInnerTextContains          "Connect"       "5"       "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForInnerTextMatchesPattern

WaitForInnerTextMatchesPattern

This action waits for inner 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 NameParameter DescriptionMandatoryData Type
innerTextRegXPattern

Enter the expected pattern for the inner text. Pattern should be regular expression. Step fails in case the pattern is invalid.

YesString
timeOutEnter the timeout (in seconds) to wait for the expected text.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoIntegerString
Key_InnerTextkeyInnerTextEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForInnerTextMatchesPattern           ".*[My]text.*"       "5"       "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForInnerTextNotContains

WaitForInnerTextNotContains

This action waits until the specified attribute's value of the object changes to other than the parameterized value. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
innerTextEnter the text which should not be there in the attribute value. YesString
timeOutEnter the timeout (in seconds) to wait for the inner text to disappear.    NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. NoIntegerString
Key_InnerTextNotContainskeyInnerTextNotContainsEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForInnerTextNotContains          "Connect"       "5"       "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForInnerTextNotToBe

WaitForInnerTextNotToBe

This action waits till the inner text of the object changes from the specified text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
innerTextEnter the text which should not be there in the object.YesString
timeOutEnter the timeout (in seconds) to wait for the text to change.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoIntegerString
Key_InnerTextNotToBekeyInnerTextNotToBeEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForInnerTextNotToBe          "Connect"       "5"       "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForInnerTextToBe

WaitForInnerTextToBe

This action waits for the object to contain the expected exact text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
innerTextEnter the expected text you want to wait for.YesString
timeOutEnter the timeout (in seconds) to wait for the expected text.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoIntegerString
Key_InnerTextkeyInnerTextEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForInnerTextToBe          "Connect"       "5"       "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForInvisibility

WaitForInvisibility

This action waits for the object to invisible. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the object to go invisible.    NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the invisibility before exhausting timeout. NoIntegerString
Key_InvisibilitykeyInvisibilityEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForInvisibility     "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForNonClickability

WaitForNonClickability

This object waits for the object to become non clickable. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the object to become non clickable.     NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the clickability before exhausting timeout. NoIntegerString
Key_NonClickabilitykeyNonClickabilityEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForNonClickability      "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForNonExistence

WaitForNonExistence

This action waits for the non existence of the specified object. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the non existence of the object.   NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for non existence of the object before exhausting timeout. NoIntegerString
Key_NonExistencekeyNonExistenceEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForNonExistence     "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForSelection

WaitForSelection

This action waits till the specified object gets selected. You may specify the timeout and polling interval, if required.

 Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the object to get selected.     NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the selection of the object before exhausting timeout. NoInteger
Key_SelectionkeySelectionEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForSelection      "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForSelectionStateToBe

WaitForSelectionStateToBe

This action waits for the object to go to the specified state. You may specify the timeout and polling interval, if required.

 Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
expectedSelectionStateEnter the expected selection state. Set True for selection and False for deselection.YesBoolean
timeOutEnter the timeout (in seconds) to wait for the object to get selected.     NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the selection of the object before exhausting timeout. NoInteger
Key_SelectionStatekeySelectionStateEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForSelectionStateToBe          "False"        "5"          "500"       "Key"       "Defect"


Multiexcerpt macro
nameWaitForVisibility

WaitForVisibility

This action waits for the object to be visible. You may specify the timeout and polling interval, if required. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the object visibility.    NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout. NoIntegerString
Key_VisibilitykeyVisibilityEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForVisibility     "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForNumberOfElementsToBe

WaitForNumberOfElementsToBe

This action waits for the number of elements of the specified object locator on the page to be same as the expected number. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
numberEnter the expected number of elements to wait for.YesInteger
timeOutEnter the timeout (in seconds) to wait for the number elements to appear. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoIntegerString
Key_NumberOfElementskeyNumberOfElementsEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForNumberOfElementsToBe       "2"         "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForNumberOfElementsToBeLessThan

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.

 Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
numberEnter the expected number of elements to wait for.YesIntegerString
timeOutEnter the timeout (in seconds) to wait for the number elements to appear. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoInteger
Key_NumOfElementsLessThankeyNumOfElementsLessThanEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForNumberOfElementsToBeLessThan       "2"         "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForNumberOfElementsToBeMoreThan

WaitForNumberOfElementsToBeMoreThan

This action waits for the number of elements of the specified object locator on the page to be more than the specified number. You may specify the timeout and polling interval, if required.

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
numberEnter the expected number of elements to wait for.YesInteger
timeOutEnter the timeout (in seconds) to wait for the number elements to appear. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoIntegerString
Key_NumOfElementsLessThankeyNumOfElementsLessThanEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForNumberOfElementsToBeMoreThan       "2"         "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForChildElement

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:

Parameter NameParameter DescriptionMandatoryData Type
childLocatorTypeEnter the locator type of the object whose child you want to check.YesString
childLocatorValueEnter the locator value of the child you want to check. YesString
timeOutEnter the timeout (in seconds) to wait for the elements to appear. NoIntegerString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoIntegerString
Key_ExistencekeyExistenceEnter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect.NoString
statusIfConditionNotSatisfiedEnter the status of the step you want to show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForChildElement      "id"       "2"         "5"          "500"     "Key"       "Defect"