A new version of Qualitia Automation Studio for Web and Mobile 7.2.x is now available. We highly recommend you upgrade. Find more details here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 46 Next »

Macro lookup error: excerpt "Click" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "VerifyExistence" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "VerifyVisibility" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "StorePropertyValue" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "SetFocus" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

On this page:

Macro lookup error: excerpt "DownloadFile" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "MouseOver" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "MouseDown" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "MouseUp" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "ClickAt" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "VerifyEnability" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

DoubleClick

This action double-clicks the specified web element.

Example:
DoubleClick

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.


Macro lookup error: excerpt "WaitForObject" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "ClickAndWait" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

DragAndDropToOffset

This action drags and drops the specified web element at the specified location. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

offsetX

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10, and so on.

Yes

String

offsetY

Enter the offset in pixels from the current location to which the element should be moved. The offset parameter can be as -100,100 , +100, and so on.

Yes

String

Example:
DragAndDropOffset            "100"              "500"

Macro lookup error: excerpt "StoreExistence" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "StoreChildCount-withoutlocator" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "ScrollIntoView" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "ClickJS" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.

Macro lookup error: excerpt "ActionClick" was not found on page "WebButton Actions" (with ID 221643190) in space "QFWM".

If you're experiencing issues please see our Troubleshooting Guide.


New Actions

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" 

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"

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"


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"

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~}

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"

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"

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. Default value is Fail. You can override this with Defect.NoString

Example:

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

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. Default value is Fail. You can override this with Defect.NoString

Example:

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


WaitForAttributeNotContains

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

Input Parameters:

Parameter 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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


WaitForAttributeNotToBe

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

Input Parameters:

Parameter 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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

WaitForAttributeToBeEmpty      "id"           "5"          "500"     "Key"       "Defect"


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


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. Default value is Fail. You can override this with Defect.NoString

Example:

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


WaitForNumberOfElementsToBeLessThan

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

 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. Default value is Fail. You can override this with Defect.NoString

Example:

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

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. Default value is Fail. You can override this with Defect.NoString

Example:

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

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. Default value is Fail. You can override this with Defect.NoString

Example:

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

  • No labels