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
nameWaitForStalenessStoreText

WaitForStalenessStoreText

This action waits until the element gets detached from the DOMstores the text existing inside the specified object under the specified keys. The key values can be retrieved using the key names

Input Parameters:

timeOut timeout (in seconds) to wait for the value to be detached.  
Parameter NameParameter DescriptionDesciptionMandatoryData Type
keyTextEnter the NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout. NoInteger
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:

WaitForAttributeValueContains        "5"          "500"     "Key"       "Defect"

Multiexcerpt macro
nameStoreText

StoreText

This action stores the text existing inside the specified
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:

the text from the specified
Parameter NameParameter DesciptionMandatoryData TypekeyTextParameter DesciptionMandatoryData Type
keyXEnter the key name to store the X coordinate of the position of the object.YesString
KeyYEnter the key name to store the Y coordinate of the position of the object.YesString

Example:

StoreText  StoreLocation        "KeyXPosition"            "YPosition"


Multiexcerpt macro
nameStoreLocationStoreCSSProperty

StoreLocationStoreCSSProperty

This action stores the current location CSS property value of the object under the specified keys. The key values key. Key value can be retrieved using the key namesname

Input Parameters:

Parameter NameParameter DesciptionMandatoryData Type
keyXPropertyEnter the key property name whose value you want to store the X coordinate of the position of the object.YesString
KeyYKeyPropertyEnter the key name to store the Y coordinate of the position of the object.under which the property value will be stored. YesString

Example:

StoreLocation  StoreCSSProperty          "XPositionKey"            "YPositiondisplay"


Multiexcerpt macro
nameStoreCSSPropertyStoreSize

StoreCSSPropertyStoreSize

This action stores the CSS property value size of the specified object under the specified key. Key value keys. The key values can be retrieved using the key namenames. 

Input Parameters:

Parameter NameParameter DesciptionDescriptionMandatoryData Type
PropertykeyHeightEnter the property key name whose value under which you want to store the height of the object.YesString
KeyPropertyKeyWidthEnter the key name under which the property value will be stored. you want to store the width of the object.YesString

Example:

StoreCSSProperty  StoreSize           "KeyHeight"                   "displayWidth"


Multiexcerpt macro
nameStoreSizeWaitForStaleness

StoreSizeWaitForStaleness

This action stores the size of the specified object under keys. The key values can be retrieved using key names.waits until the element gets detached from the DOM. 

Input Parameters:

keyHeight you want to store height of the object.YesYes
Parameter NameParameter DescriptionMandatoryData Type
timeOutEnter the timeout (in seconds) to wait for the value to be detached.  NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout. NoInteger
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
KeyWidthstatusIfConditionNotSatisfiedEnter the key name under which status of the step you want to store the width of the object.show in the report in case the expected condition is not satisfied. Default value is Fail. You can override this with Defect.NoString

Example:

StoreSize 

WaitForStaleness       

 

"

Height

5"          "500"     "Key"       "

Width

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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoInteger
Key_AttributeValueContainsEnter 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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the unexpected value before exhausting timeout.NoInteger
Key_AttributeValueEnter 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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoInteger
Key_AttributeValueEnter 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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoInteger
Key_AttributeValueNotToBeEnter 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.  NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. NoInteger
Key_AttributeValueEnter 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.  NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. NoInteger
Key_AttributeValueEnter 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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the object clickability before exhausting timeout. NoInteger
Key_ClickabilityEnter 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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the existence of the object before exhausting timeout. NoInteger
Key_ExistenceEnter 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:

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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoInteger
Key_InnerTextContainsEnter 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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoInteger
Key_InnerTextEnter 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.    NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. NoInteger
Key_InnerTextNotContainsEnter 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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoInteger
Key_InnerTextNotToBeEnter 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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoInteger
Key_InnerTextEnter 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.    NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the invisibility before exhausting timeout. NoInteger
Key_InvisibilityEnter 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.     NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the clickability before exhausting timeout. NoInteger
Key_NonClickabilityEnter 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.   NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for non existence of the object before exhausting timeout. NoInteger
Key_NonExistenceEnter 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_SelectionEnter 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_SelectionStateEnter 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.    NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout. NoInteger
Key_VisibilityEnter 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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoInteger
Key_NumberOfElementsEnter 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.YesInteger
timeOutEnter the timeout (in seconds) to wait for the number elements to appear. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoInteger
Key_NumOfElementsLessThanEnter 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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoInteger
Key_NumOfElementsLessThanEnter 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. NoInteger
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoInteger
Key_ExistenceEnter 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       "2"         "5"          "500"     "Key"       "Defect"