DoubleClickLinkByText
This action double-clicks the link specified by the user on the page.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
linkThe | Enter the text of the link which is to be clickedyou want to double-click. | Yes | String |
Example
DoubleClickLinkByText "Advanced Search"
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. | Yes | String |
Example:
ClickLinkByText MouseDown "5" "10"
MouseOver
This action simulates a mouse hovering over the specified object.
This action does not have any parameter.
Example:
MouseOver
MouseUp
This action simulates the event that occurs when the user releases the mouse button.
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
MouseUp "5" "Advanced Search10"
ClickRightClick
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.
ScrollIntoView
This action scrolls to view the specified object.
This action does not have any parameter.
Example:
Click
ScrollIntoView
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
Example:
SetFocus
StoreCSSProperty
This action stores the CSS property value of the object under the specified object against a key name. The stored Key value can be retrieved by using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
property |
key
Enter the property name whose value you want to store. | Yes | String | |
keyProperty | Enter the key name under which the property value will be stored. | Yes | String |
Property
Property/attribute name of the object whose value needs to be stored.
This can be any apt attribute of that html object.
This action also supports "text" as the property. "Text" property will retrieve the inner text of an element.
Yes
String
Example:
StorePropertyValue Example:
StoreCSSProperty "display" "Key"
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"
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 |
---|---|---|---|
keyHeight | Enter the key name to store the height of the location of the object. | Yes | String |
keyWidth | Enter the key name to store the width of the location of the object. | Yes | String |
Example:
StoreLocation "Height" "Width"
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:
Parameter Name | 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 "valuekey" "nametext"
ClickAtStoreSize
This action clicks at a particular point on the object.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 | |
---|---|---|---|---|
X | The x-coordinate to clickkeyXPosition | Enter the key name under which you want to store the height of the object. | Yes | String |
Y | The Y-coordinate to clickkeyYPosition | Enter the key name under which you want to store the width of the object. | Yes | String |
Example:
ClickAt StoreSize "5Height" "10Width"
DoubleClickLinkByTextStoreText
This action double-clicks on the link specified by the user on the page.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 | |
---|---|---|---|---|
link | The text of the link which is to be double clickedkeyText | Enter the key name to store the text from the specified object. | Yes | String |
Example:
StoreText "Key"
VerifyExistence
This action verifies the existence of the specified object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
existence | Value for this parameters can be true or false.
| Yes | String |
Example
DoubleClickLinkByText :
VerifyExistence "Advanced SearchTrue"
VerifyVisibility
This action verifies the visibility of the specified object.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
visibility | Data type of this parameter is Value for this parameters can be true or false.If
If False – checks if the page is not visible | Yes | String |
Example
VerifyVisibility "True"
ClickAndWait
This action clicks the page object and waits.It waits for the maximum sync time set in the Qualitia Configuration (Execution) window for key Sync Time. If the page page loads before the maximum sync time, then the action will stop waiting.
Example:
ClickAndWait
| Yes | String |
Example: VerifyVisibility "True"
WaitForStaleness
This action waits until the element gets detached from the DOM.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
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:
WaitForStaleness "5" "500" "Key" "Defect"
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
will stopstops waiting. The condition to wait till the document
isto load in ready state and assume that the page is loaded could however not work as expected at all times
.StoreExistence
This action stores the existence of an 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
.
Yes
String
Example:
StoreExistence "Key"
Insert excerpt