Click
This action clicks the specified object.
This action does not have any parameter.
Example:
Click
MouseOver
This action simulates a mouse hovering over the specified object.
This action does not have any parameter.
Example:
MouseOver
MouseDown
This action simulates left-click at the specified location on the screen.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
X
The x-coordinate of the click.
Yes
String
Y
The y-coordinate of the click.
ClickAt
This action clicks at the specified point on the object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
X | The x-coordinate of the click. | Yes | String |
Y | The y-coordinate of the click. | Yes | String |
Example
ClickAt "5" "10"
StoreExistence
This action stores existence of the object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which the existence's Boolean value will be stored.
| Yes | String |
Example:
StoreExistence "Key"
DownloadFile
This action clicks the link/element which will populate that opens a download window, and then downloads the file.
The action supports and is explicitly tested for FF3, IE7, IE8. The action will not wait till the file is downloaded, this has to be handled externally by the user.
This action requires AutoIt to be installed.
which is used to download the files. You need to handle the action externally as it does not wait until the file is downloaded.
Qualitia uses its internal mechanism to handle the Download File pop-up screen.
Info |
---|
You can also use AutoIT to execute this action on Windows operating system only. You need to install AutoIT. After installing AutoIT, you can configure the AutoIT Install path in Qualitia client as follows: Project Configuration > General > Settings > AutoIT Install Path. The default AutoIT path is C:\Program Files (x86)\AutoitV3. To configure the Auto Install Path for an offline suite:
|
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
folderNameFolderName | The path where the file is to be download. Please check Table 1 "Parameter Mandate" to validate in the situation where this parameter will be mandatory. In case the parameter Mandatory; the user should take care that the folder path exists. The action does not validates whether the folder exist | Yes | String |
Filename | The filename of the downloadable file, to be given incase the user requires to give specific name and not depend on the default name of the file. In case, the file already exist, similar window like below will appear. Such windows are not handled by the action. Incase, the user does not provide this data, the action will pick the default file name available while download. | No | String |
Example:
Example
DownloadFile "C:/ProgramData" "Qualitia"
This action is tested on IE8, FF & chrome. This action is not supported on IE9, IE10, and Google Chrome <16.
StorePropertyValue
This action stores the property of the specified object under the key name. The stored key value can be retrieved using the key name.
Some Android and iOS properties are not accessible.
List of accessible properties for Android: "name", "contentDescription", "className", "resourceId", "text", "enabled", "checkable", "checked", "clickable", "focusable", "focused", "longClickable", "scrollable", "selected", "displayed"
List of accessible properties for iOS: "name", "value", "label", "hint"
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
Key
Enter the key name under which the property value will be stored.
Yes
String
Property
Property/attribute name whose value needs to be stored under the specified key. This can be any accessible property of Android/iOS native object mentioned above.
Yes
String
Example:
StorePropertyValue "key" "text"
StoreChildCount
This action stores the child count of the specified object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
Key
Enter the key name under which the child count will be saved.
Yes
String
Example:
StoreChildCount
Input Parameters:
ParameterName | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which the property value will be stored. | Yes | String |
Property | Property/attribute name whose value needs to be stored under the specified key. | Yes | String |
Example:
StorePropertyValue "key" "text"
StoreChildCount
This action stores the child count of the specified object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name under which the child count will be saved. | Yes | String |
Example:
StoreChildCount "Key"
ClickJS
This action clicks the specified object from the web application under test.
This action does not have any parameter.
Note: ClickJS uses javascript code to perform the click action. Qualitia recommends using this action for web applications.
Example:
ClickJS
ClickJSAndSelectWindowUsingURL
This action is used to click the web element or object that opens single or multiple windows from which a specific window is selected.
This action accepts 'waitTimeForWindow' for the specific window to open.
This action is used in the following 2 scenarios:
- When a single window opens after clicking the web element/object, you need to give only 'waitTimeForWindow' parameter.
- When multiple windows open after clicking the web element or object, then you can provide the exact URL or regex patterned URL window. You must give the URL and 'isURLPatternString' parameters.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
waitTimeForWindow | Enter the wait time for the window to open. | Yes | String |
URL | Enter a specific URL or regex pattern of URL for the window you want to select. | No | String |
isURLPatternString | Enter one of the following:
| No | String |
Example 1
String waitTimeForWindow : "5",
String url : null(do not give any value)
String isURLPatternString : null(do not give any value)
Expected Result - Here you do not need to provide URL or isURLPatternString as after clicking the object or element opens. The action waits up to 5 seconds for the window to appear after clicking the web element or object and then select the window.
Example 2
String waitTimeForWindow - "5",
String url - "https://bflsme--preprod.cs57.my.salesforce.com/_ui/common/data/LookupPage? "Key"
ClickJS
This action clicks the specified object from the web application under test.
This action does not have any parameter.
Note: ClickJS uses javascript code to perform the click action. Qualitia recommends using this action for web applications.
Example:
ClickJS
ClickAction
This action clicks the specified object from the web application under test.
This action does not have any parameter.
Note: ActionClick uses underlying selenium WebDriver "Action" class to perform click action. Qualitia recommends using this action for web applications.
Example:
ClickAction
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" lkfm=editPage&lknm=cas3&lktp=003&lksrch=",
String isURLPatternString - "False",
The action waits for up to 5 seconds for multiple windows to appear after clicking web element or object and it selects the window with the url "https://bflsme--preprod.cs57.my.salesforce.com/_ui/common/data/LookupPage?lkfm=editPage&lknm=cas3&lktp=003&lksrch=". As the isURLPatternString parameter is 'false' , the action finds as per the given URL.
Example 3
String waitTimeForWindow - "5",
String url - "www.([A-Z])\w+",
String isURLPatternString - "True",
Expected Result - The action waits for up to 5 seconds for multiple windows to open after clicking web element/object and it selects the window which matches the regex pattern "www.([A-Z])\w+" as provided in the URL parameter. As the isURLPatternString parameter is 'True', the action treats the URL parameter as a regex pattern. In case there are multiple windows satisfying the regex pattern, the action selects the first window.
ClickAction
This action clicks the specified object from the web application under test.
This action does not have any parameter.
Note: ActionClick uses underlying selenium WebDriver "Action" class to perform click action. Qualitia recommends using this action for web applications.
Example:
ClickAction
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. | YesNo | String |
Example:
RightClick "3''
This will select the third option from the context-menu.
Multiexcerpt include macro name SendKeySequence page QFWM:WebEdit Actions
StoreCSSProperty
This action stores the CSS property value of the object under the specified key. Key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type | property | Enter the property name whose value you want to store. | Yes | StringName | Parameter Description | Mandatory | Data Type |
---|---|---|---|---|---|---|---|---|---|---|
keyProperty | Enter the key name under which the property value will be stored. | Yes | String | |||||||
property | Enter the property name whose value you want to store. | Yes | String |
Example:
StoreCSSProperty "display" "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 Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyHeightkeyXPosition | Enter the key name to store the height of the location of the object. | Yes | String |
keyWidthkeyYPosition | Enter the key name to store the width of the location of the object. | Yes | String |
Example:
StoreLocation "Height" "Width"
StoreSize
This action stores the size of the specified object under keys. The key values can be retrieved using key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyXPosition | Enter the key name under which you want to store the height of the object. | Yes | String |
keyYPosition | Enter the key name under which you want to store the width of the object. | Yes | String |
Example:
StoreSize "Height" "Width"
StoreText
This action stores the text existing inside the specified object under the specified keys. The key values can be retrieved using the key names.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keyText | Enter the key name to store the text from the specified object. | Yes | String |
Example:
StoreText "Key"
StoreValueAttribute
This action stores the data present in the 'value' attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
keystrKey | Enter the key name under which the value will be stored. Enter the value to be added for the Value attribute. Key value can be retried using the key name. | Yes | String |
Example:
StoreValueAttribute "KeyK1"
SetValueAttribute
This action sets the data specified in the 'value' attribute of the object.
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
value | Enter the value to be added for the Value attribute. | Yes | String |
Example:
SetValueAttribute "#ff0990"
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 Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the value which should not be there in the attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the value to change. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the unexpected value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeValueContains "id" "232waf" "5" "500" "Key" "Defect"
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 Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the value which should not be there in the attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the value to change. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout. | No | String |
keyAttributeValueNotToBe | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeNotToBe "id" "232waf" "5" "500" "Key" "Defect"
WaitForAttributeNotToBeEmpty
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. gets filled with some value. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
Enter the value which should not be there in the attribute value.
Yes
String
timeOut | Enter the timeout (in seconds) to wait for the attribute value |
. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
attribute value before exhausting timeout. | No | String |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeNotToBe WaitForAttributeNotToBeEmpty "id" "232waf" "5" "500" "Key" "Defect"
WaitForAttributeToBe
This action waits until till the value of the specified attribute 's value of the object gets filled with some value. changes to the exact expected value. This comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the exact expected value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
expected value. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the |
expected value before exhausting timeout. | No | String | |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeNotToBeEmpty WaitForAttributeToBe "id" "232waf" "5" "500" "Key" "Defect"
WaitForAttributeToBeEmpty
This action waits till the value of until the specified attribute changes to the exact expected value. This comparison is case-sensitive. You 's value of the object gets empty. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check |
Yes
String
attributeValue
. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
attribute value to be empty. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
attribute value before exhausting timeout. | No | String | |
keyAttributeValue | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeToBe WaitForAttributeToBeEmpty "id" "232waf" "5" "500" "Key" "Defect"
WaitForChildElement
This action waits until the specified attribute's value for the child elements of the specified object gets emptyto appear. You You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description |
---|
Mandatory
Data Type
attributeName
Mandatory | Data Type | ||
---|---|---|---|
childLocatorType | Enter the locator type of the object whose child you want to check. | Yes | String |
childLocatorValue | Enter the locator value of the child you want to check. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
elements to |
appear. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
objects before exhausting timeout. | No | String |
keyExistence | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForAttributeToBeEmpty WaitForChildElement "id" "2" "5" "500" "Key" "Defect"
WaitForClickability
This action waits for the child elements of the specified object to appearbe clickable. You You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
childLocatorType
Enter the locator type of the object whose child you want to check.
Yes
String
childLocatorValue
Enter the locator value of the child you want to check.
Yes
timeOut | Enter the timeout (in seconds) to wait for the |
object to |
be clickable. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
object clickability before exhausting timeout. | No | String |
keyClickability | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForChildElement "id" "2" WaitForClickability "5" "500" "Key" "Defect"
WaitForExistence
This action waits for the existence of the specified object to be clickable. You You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the existence of the object |
. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the existence of the object |
before exhausting timeout. | No | String |
keyExistence | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForClickability WaitForExistence "5" "500" "Key" "Defect"
WaitForInnerTextContains
This action waits for the existence of the specified object. You 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 |
---|
Parameter Description
Mandatory
Data Type
Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerText | Enter the expected text you want to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
expected text before exhausting timeout. | No | String |
keyInnerTextContains | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForExistence WaitForInnerTextContains "Connect" "5" "500" "Key" "Defect"
WaitForInnerTextMatchesPattern
This action waits for inner text from the specified object to contain match the expected partial text regular expression pattern. The The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
innerTextRegXPattern | Enter the expected |
pattern for the inner text. Pattern should be regular expression. Step fails in case the pattern is invalid. | Yes | String | |
timeOut | Enter the timeout (in seconds) to wait for the expected text. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. | No | String |
keyInnerText | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextContains WaitForInnerTextMatchesPattern "Connect.[My]text." "5" "500" "Key" "Defect"
WaitForInnerTextNotContains
This action waits for inner text from until the specified attribute's value of the object changes to match the expected text regular expression patternother than the parameterized value. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
innerText | Enter |
the |
text |
which should not be |
there in |
the |
attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
inner text to disappear. |
| No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text to be disappeared before exhausting timeout. | No | String |
keyInnerTextNotContains | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextMatchesPattern WaitForInnerTextNotContains ".[My]text.Connect" "5" "500" "Key" "Defect"
WaitForInnerTextNotToBe
This action waits until the specified attribute's value till the inner text of the object changes to other than the parameterized valuefrom the specified text. The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerText | Enter the text which should not be there in the |
object. |
Yes | String | |
timeOut | Enter the timeout (in seconds) to wait for the |
text |
to change. |
No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text |
before exhausting timeout. | No | String |
keyInnerTextNotToBe | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextNotContains WaitForInnerTextNotToBe "Connect" "5" "500" "Key" "Defect"
WaitForInnerTextToBe
This action waits till the inner text of for the object changes from the specified to contain the expected exact text. The The comparison is case-sensitive. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
innerText | Enter the |
expected text you want to wait for. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the expected text |
. | No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the expected text before exhausting timeout. | No | String |
keyInnerText | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextNotToBe WaitForInnerTextToBe "Connect" "5" "500" "Key" "Defect"
WaitForInvisibility
This action waits for the object to contain the expected exact text. The comparison is case-sensitive. You invisible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
innerText
Enter the expected text you want to wait for.
Yes
String
timeOut | Enter the timeout (in seconds) to wait for the |
object to go invisible. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
invisibility before exhausting timeout. | No | String |
keyInvisibility | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInnerTextToBe WaitForInvisibility "Connect5" "5" "500" "Key" "Defect"
WaitForNonClickability
This action object waits for the object to invisiblebecome non clickable. You You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the object to |
become non clickable. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the |
clickability before exhausting timeout. | No | String |
keyNonClickability | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForInvisibility WaitForNonClickability "5" "500" "Key" "Defect"
WaitForNonExistence
This object action waits for the object to become non clickable. You non existence of the specified object. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the |
non existence of the object. |
No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for non existence of the |
object before exhausting timeout. | No | String |
keyNonExistence | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForNonClickability WaitForNonExistence "5" "500" "Key" "Defect"
WaitForNumberOfElementsToBe
This action waits for the non existence of the specified objectthe 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 Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedNumOfElements | Enter the expected number of elements to wait for. | No | Integer |
timeOut | Enter the timeout (in seconds) to wait for the |
number elements to appear. |
No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
objects before exhausting timeout. | No | String |
keyNumberOfElements | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForNonExistence 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 same as less than the expected specified number. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
expectedNumOfElements | Enter the expected number of elements to wait for. |
No |
String | |||
timeOut | Enter the timeout (in seconds) to wait for the number elements to appear. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for the objects before exhausting timeout. | No |
Integer |
keyNumOfElementsLessThan | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForNumberOfElementsToBe WaitForNumberOfElementsToBeLessThan "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.
"
WaitForStaleness
This action waits until the element gets detached from the DOM.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|
Enter the expected number of elements to wait for.
Yes
String
timeOut | Enter the timeout (in seconds) to wait for the |
value to |
be detached. |
| No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the |
element before exhausting timeout. | No |
String |
keyStatus | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForNumberOfElementsToBeLessThan WaitForStaleness "2" "5" "500" "Key" "Defect"
WaitForVisibility
This action waits until the element gets detached from the DOMfor the object to be visible. You may specify the timeout and polling interval, if required.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
timeOut | Enter the timeout (in seconds) to wait for the |
object visibility. | No | String |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for |
the |
object visibility before exhausting timeout. | No | String |
keyVisibility | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForStaleness WaitForVisibility "5" "500" "Key" "Defect"
WaitForAttributeContains
This action waits for the object to be visibletill 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 Name | Parameter Description |
---|
Mandatory
Mandatory | Data Type | ||
---|---|---|---|
attributeName | Enter the attribute name whose value you want to check. | Yes | String |
attributeValue | Enter the partial expected partial attribute value. | Yes | String |
timeOut | Enter the timeout (in seconds) to wait for the |
expected value. |
No | String | |
pollingInterval | Enter the frequency (in milliseconds) after which you want to check for existence of the |
expected value before exhausting timeout. | No | String |
keyAttributeValueContains | Enter the key name under which the status of this step will be stored. Stores 0 for Pass, 1 for Fail, and 2 for Defect. | No | String |
statusIfConditionNotSatisfied | Enter the status of the step you want to show in the report in case the expected condition is not satisfied. value for this parameter can be Pass, Fail, and Defect. | No | String |
Example:
WaitForVisibility WaitForAttributeContains "id" "we323es" "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. "Defect"
ScrollIntoView
This action scrolls to view the specified object.
This action does not have any parameter.
Example:
ScrollIntoView
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
Example:
SetFocus
WaitForObject (Deprecated)
This action waits for the object to appear or disappear for the maximum number of seconds specified.
If the object is found or not found before the maximum time specified, execution continues to the next steps.
If the wait time is "" then the wait time shall be the "Sync Time" set under the Configuration Settings (Execution) window.
Input Parameters:
Parameter Name | Parameter Description |
---|
Mandatory
Data Type
attributeName
Enter the attribute name whose value you want to check.
Yes
String
attributeValue
Enter the partial expected partial attribute value.
Yes
String
timeOut
Enter the timeout (in seconds) to wait for the expected value.
No
String
pollingInterval
Enter the frequency (in milliseconds) after which you want to check for existence of the expected value before exhausting timeout.
No
String
keyAttributeValueContains
Mandatory | Data Type | ||
---|---|---|---|
Timeout | Enter the number of seconds to wait for the object to appear or disappear. This has to be 0 or any positive number. | No | String |
statusIfConditionNotSatisfied
existence | Value for this parameter can be true or false.
| No | String |
Example:
WaitForAttributeContains WaitForObject "id10" "we323es"true"The action waits for maximum 10 seconds for the object to appear. If the object appears before 10 seconds elapses, execution continues to the next steps. WaitForObject "515" "500" "Key" "Defect"
ScrollIntoView
This action scrolls to view the specified object.
This action does not have any parameter.
Example:
ScrollIntoView
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
Example:
SetFocus
WaitForObject (Deprecated)
This action waits for the object to appear or disappear for the maximum number of seconds specified.
If the object is found or not found before the maximum time specified, execution continues to the next steps.
If the wait time is "" then the wait time shall be the "Sync Time" set under the Configuration Settings (Execution) window.
Input Parameters:
Parameter Name
Parameter Description
Mandatory
Data Type
waitTime
Enter the number of seconds to wait for the object to appear or disappear. This has to be 0 or any positive number.
Yes
String
existence
Value for this parameter can be true or false.
- Set true if you want to check for the appearance of the object.
- Set false if you want to check for the disappearance of the object.
Yes
String
Example:
WaitForObject "10" "true"The action waits for maximum 10 seconds for the object to appear. If the object appears before 10 seconds elapses, execution continues to the next steps. WaitForObject "15" "False"The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses,execution continues to the next steps.
ClickAndWait (Deprecated)
This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window. Default value is 20 seconds. If the page loads before reaching the maximum sync time execution continues to the next steps.
This action does not have any parameter.
Example:
ClickAndWait
Webdriver waits for the document to come in ready state. If it is in ready state it is assumed that the page is loaded completely and Webdriver stops waiting. The condition to wait till the document to load in ready state and assume that the page is loaded could however not work as expected at all times.
ClickandchooseOkOnNextConfirmation (Deprecated)
This action handles the alert or confirmation that comes up post clicking the OK button. This action fails if the button is clicked and no alert or confirmation comes up.
This action does not have any parameter.
Example:
ClickandchooseOkOnNextConfirmationFalse". The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, execution continues to the next steps.
WebObject.StoreVisibility
This action stores the visibility status for a web element under the specified key name in the following conditions:
- True: If the web element is visible.
- False: If the web element is not visible.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
strKey | Enter a variable to store the visibility status. | No | String |
Example: WebObject.StoreVisibility "Key"
ClickAndWait (Deprecated)
This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window. Default value is 20 seconds. If the page loads before reaching the maximum sync time execution continue to the next steps.
This action does not have any parameter.
Example:
ClickAndWait
Webdriver waits for the document to come in ready state. If it is in ready state it is assumed that the page is loaded completely and Webdriver stops waiting. The condition to wait till the document to load in ready state and assume that the page is loaded could however not work as expected at all times.
ClickandchooseOkOnNextConfirmation (Deprecated)
This action handles the alert or confirmation that comes up post clicking the OK button. This action fails if the button is clicked and no alert or confirmation comes up.
This action does not have any parameter.
Example:
ClickandchooseOkOnNextConfirmation
DragAndDropToOffset (Deprecated)
This action drags and drops the specified web element at the specified location. You are recommended to use DragAndDropToObject.
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. | No | 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. | No | String |
Example:
DragAndDropOffset "100" "500"