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

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

Multiexcerpt include macro
nameSetFocus
pageWebButton Actions

On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue
stylesquare

Multiexcerpt include macro
nameDownloadFile
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
nameVerifyEnability
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
nameDragandDrop
pageWebButton Actions

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions
Multiexcerpt include macro
nameClickAndWait
pageWebButton Actions

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
keyHeightEnter the key name to store the height of the location of the object.YesString
keyWidthEnter the key name to store the width of the location of the object.YesString

Example:

StoreLocation        "Height"            "Width"


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
propertyEnter the property name whose value you want to store.YesString
keyPropertyEnter the key name under which the property value will be stored. YesString

Example:

StoreCSSProperty        "display"            "Key"


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
keyXPositionEnter the key name under which you want to store the height of the object.YesString
keyYPositionEnter the key name under which you want to store the width of the object.YesString

Example:

StoreSize           "Height"                   "Width"


Multiexcerpt macro
nameSendKeys

SendKeySequence

This action sends one or multiple keys specified in the parameters to the specified object. You may use the syntaxes mentioned below to send normal or modifier keys. Multiple keys should be separated by caret. 

Input Parameters:

Parameter NameParameter DescriptionMandatoryData Type
arrayofKeysEnter the keys you want to send. Multiple keys should be separated by caret (^).YesArray


Adding modifiers like SHIFT, Control, and so forth perform the activity of pressing these keys only. For releasing these keys, you must add these modifiers again based on requirements as shown in the example.

Example:

sendKeySequence                "~{SHIFT~}^w^~{SHIFT~}^elcome"

The example above will press the word Welcome. 

Apart from the normal alphabets, you can also send the modifier keys. When sending modifier keys, you have to send them in the syntax given.

KeySyntax
NULL~{NULL~}
CANCEL (Esc)~{CANCEL~}
HELP~{HELP~}
BACK_SPACE~{BACK_SPACE~}
TAB~{TAB~}
CLEAR~{CLEAR~}
RETURN~{RETURN~}
ENTER~{ENTER~}
SHIFT~{SHIFT~}
LEFT_SHIFT(SHIFT)~{LEFT_SHIFT~}
CONTROL~{CONTROL~}
LEFT_CONTROL(CONTROL)~{LEFT_CONTROL~}
ALT~{ALT~}
LEFT_ALT~{LEFT_ALT~}
PAUSE~{PAUSE~}
ESCAPE~{ESCAPE~}
SPACE~{SPACE~}
PAGE_UP~{PAGE_UP~}
PAGE_DOWN~{PAGE_DOWN~}
END~{END~}
HOME~{HOME~}
LEFT~{LEFT~}
ARROW_LEFT~{ARROW_LEFT~}
UP~{UP~}
ARROW_UP~{ARROW_UP~}
RIGHT~{RIGHT~}
ARROW_RIGHT~{ARROW_RIGHT~}
DOWN~{DOWN~}
ARROW_DOWN~{ARROW_DOWN~}
INSERT~{INSERT~}
DELETE~{DELETE~}
SEMICOLON~{SEMICOLON~}
EQUALS~{EQUALS~}
NUMPAD0~{NUMPAD0~}
NUMPAD1~{NUMPAD1~}
NUMPAD2~{NUMPAD2~}
NUMPAD3~{NUMPAD3~}
NUMPAD4~{NUMPAD4~}
NUMPAD5~{NUMPAD5~}
NUMPAD6~{NUMPAD6~}
NUMPAD7~{NUMPAD7~}
NUMPAD8~{NUMPAD8~}
NUMPAD9~{NUMPAD9~}
MULTIPLY~{MULTIPLY~}
ADD~{ADD~}
SEPARATOR~{SEPARATOR~}
SUBTRACT~{SUNSTRACT~}
DECIMAL~{DECIMAL~}
DIVIDE~{DIVIDE~}
F1~{F1~}
F2~{F2~}
F3~{F3~}
F4~{F4~}
F5~{F5~}
F6~{F6~}
F7~{F7~}
F8~{F8~}
F9~{F9~}
F10~{F10~}
F11~{F11~}
F12~{F12~}
META~{META~}
COMMAND (META)~{COMMAND~}
ZENKAKU_HANKAKU~{ZENKAKU_HANKAKU~}
CLICK~{CLICK~}
DOUBLECLICK~{DOUBLECLICK~}
RIGHTCLICK~{CONTEXTCLICK~}




Multiexcerpt macro
namesetValueAttribute

SetValueAttribute

This action sets the data specified in the 'value' attribute of the object.

Parameter NameParameter DescriptionMandatoryData Type
valueEnter the value to be added for the Value attribute.YesString

Example:

SetValueAttribute           "#ff0990"


Multiexcerpt macro
nameStoreValueAttribute

StoreValueAttribute

This action stores the data present in the 'value' attribute of the object.

Parameter NameParameter DescriptionMandatoryData Type
keyEnter 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.YesString

Example:

StoreValueAttribute        "Key"


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.  NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the element before exhausting timeout. NoString
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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

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


Multiexcerpt macro
nameWaitForAttributeContains

WaitForAttributeContains

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

Input Parameters:

Parameter 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. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoString
keyAttributeValueContainsEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

WaitForAttributeContains      "id"           "we323es"        "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeNotContains

WaitForAttributeNotContains

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

Input Parameters:

Parameter 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. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the unexpected value before exhausting timeout.NoString
keyAttributeValueEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

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


Multiexcerpt macro
nameWaitForAttributeToBe

WaitForAttributeToBe

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. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoString
keyAttributeValueEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

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


Multiexcerpt macro
nameWaitForAttributeNotToBe

WaitForAttributeNotToBe

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

Input Parameters:

Parameter 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. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. NoString
keyAttributeValueNotToBeEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

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


Multiexcerpt macro
nameWaitForAttributeNotToBeEmpty

WaitForAttributeNotToBeEmpty

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.  NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. NoString
keyAttributeValueEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

WaitForAttributeNotToBeEmpty      "id"           "5"          "500"     "Key"       "Defect"


Multiexcerpt macro
nameWaitForAttributeToBeEmpty

WaitForAttributeToBeEmpty

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.  NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the attribute value before exhausting timeout. NoString
keyAttributeValueEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

WaitForAttributeToBeEmpty      "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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the object clickability before exhausting timeout. NoString
keyClickabilityEnter 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. value for this parameter can be Pass, Fail, and 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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the existence of the object before exhausting timeout. NoString
keyExistenceEnter 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. value for this parameter can be Pass, Fail, and 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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoString
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. value for this parameter can be Pass, Fail, and 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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoString
keyInnerTextEnter 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. value for this parameter can be Pass, Fail, and 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.    NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. NoString
keyInnerTextNotContainsEnter 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. value for this parameter can be Pass, Fail, and 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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoString
keyInnerTextNotToBeEnter 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. value for this parameter can be Pass, Fail, and 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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. NoString
keyInnerTextEnter 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. value for this parameter can be Pass, Fail, and 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.    NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the invisibility before exhausting timeout. NoString
keyInvisibilityEnter 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. value for this parameter can be Pass, Fail, and 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.     NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the clickability before exhausting timeout. NoString
keyNonClickabilityEnter 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. value for this parameter can be Pass, Fail, and 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.   NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for non existence of the object before exhausting timeout. NoString
keyNonExistenceEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

WaitForNonExistence     "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.    NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the object visibility before exhausting timeout. NoString
keyVisibilityEnter 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. value for this parameter can be Pass, Fail, and 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. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoString
keyNumberOfElementsEnter 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. value for this parameter can be Pass, Fail, and 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
expectedNumOfElementsEnter the expected number of elements to wait for.YesString
timeOutEnter the timeout (in seconds) to wait for the number elements to appear. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoInteger
keyNumOfElementsLessThanEnter 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. value for this parameter can be Pass, Fail, and 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
expectedNumOfElementsEnter the expected number of elements to wait for.YesInteger
timeOutEnter the timeout (in seconds) to wait for the number elements to appear. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoString
keyNumOfElementsLessThanEnter 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. value for this parameter can be Pass, Fail, and 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. NoString
pollingIntervalEnter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. NoString
keyExistenceEnter 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. value for this parameter can be Pass, Fail, and Defect.NoString

Example:

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

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions