Check
This action selects the specified check box.
This action does not have any parameter.
Example:
Check
CheckIfTrue
This action selects the specified check box, only if the parameter passed is True.
...
CheckIfTrue "True"
Click
This action clicks the specified object.
This action does not have any parameter.
Example:
Click
ClickAction
This action clicks the specified object from the web application under test.
...
Note: ActionClick uses underlying selenium WebDriver "Action" class to perform click action. Qualitia recommends using this action for web applications.
Example:
ClickAction
ClickAt
This action clicks at the specified point on the object.
Input Parameters:
...
Example ClickAt "5" "10"
ClickJS
This action clicks the specified object from the web application under test.
...
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.
...
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.
DoubleClick
This action double-clicks the specified web element.
Example:
DoubleClick
DownloadFile
This action clicks the link/element that opens a download window, which is used to download the files.
...
Example DownloadFile "C:/ProgramData" "Qualitia"
...
DragAndDropToOffset
This action drags and drops the specified web element at the specified location.
...
DragAndDropOffset "100" "500"
IsChecked
This action verifies whether the specified check box is selected.
Input Parameters:
...
Example: IsChecked "True"
MouseDown
This action simulates left-click at the specified location on the screen.
Input Parameters:
...
Example:
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:
...
Example MouseUp "5" "10"
RightClick
This action right-clicks the specified web element.
Input Parameters:
...
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:
ScrollIntoView
SelectByIndex
This action selects the specified checkbox based on its index number. The indexes start from 1.
Input Parameters:
...
Example:
SelectByIndex "Occupation" "3"
SelectByValue
This action selects the specified check box based on its value.
Input Parameters:
...
Example:
SelectByValue "Occupation"
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.
...
Key | Syntax |
---|---|
ZENKAKU_HANKAKU | ~{ZENKAKU_HANKAKU~} |
UP | ~{UP~} |
TAB | ~{TAB~} |
SUBTRACT | ~{SUNSTRACT~} |
SPACE | ~{SPACE~} |
SHIFT | ~{SHIFT~} |
SEPARATOR | ~{SEPARATOR~} |
SEMICOLON | ~{SEMICOLON~} |
RIGHTCLICK | ~{CONTEXTCLICK~} |
RIGHT | ~{RIGHT~} |
RETURN | ~{RETURN~} |
PAUSE | ~{PAUSE~} |
PAGE_UP | ~{PAGE_UP~} |
PAGE_DOWN | ~{PAGE_DOWN~} |
NUMPAD9 | ~{NUMPAD9~} |
NUMPAD8 | ~{NUMPAD8~} |
NUMPAD7 | ~{NUMPAD7~} |
NUMPAD6 | ~{NUMPAD6~} |
NUMPAD5 | ~{NUMPAD5~} |
NUMPAD4 | ~{NUMPAD4~} |
NUMPAD3 | ~{NUMPAD3~} |
NUMPAD2 | ~{NUMPAD2~} |
NUMPAD1 | ~{NUMPAD1~} |
NUMPAD0 | ~{NUMPAD0~} |
NULL | ~{NULL~} |
MULTIPLY | ~{MULTIPLY~} |
META | ~{META~} |
LEFT_SHIFT(SHIFT) | ~{LEFT_SHIFT~} |
LEFT_CONTROL(CONTROL) | ~{LEFT_CONTROL~} |
LEFT_ALT | ~{LEFT_ALT~} |
LEFT | ~{LEFT~} |
INSERT | ~{INSERT~} |
HOME | ~{HOME~} |
HELP | ~{HELP~} |
F12 | ~{F12~} |
F11 | ~{F11~} |
F10 | ~{F10~} |
F9 | ~{F9~} |
F8 | ~{F8~} |
F7 | ~{F7~} |
F6 | ~{F6~} |
F5 | ~{F5~} |
F4 | ~{F4~} |
F3 | ~{F3~} |
F2 | ~{F2~} |
F1 | ~{F1~} |
ESCAPE | ~{ESCAPE~} |
EQUALS | ~{EQUALS~} |
ENTER | ~{ENTER~} |
END | ~{END~} |
DOWN | ~{DOWN~} |
DOUBLECLICK | ~{DOUBLECLICK~} |
DIVIDE | ~{DIVIDE~} |
DELETE | ~{DELETE~} |
DECIMAL | ~{DECIMAL~} |
CONTROL | ~{CONTROL~} |
COMMAND (META) | ~{COMMAND~} |
CLICK | ~{CLICK~} |
CLEAR | ~{CLEAR~} |
CANCEL (Esc) | ~{CANCEL~} |
BACK_SPACE | ~{BACK_SPACE~} |
ARROW_UP | ~{ARROW_UP~} |
ARROW_RIGHT | ~{ARROW_RIGHT~} |
ARROW_LEFT | ~{ARROW_LEFT~} |
ARROW_DOWN | ~{ARROW_DOWN~} |
ALT | ~{ALT~} |
ADD | ~{ADD~} |
SetFocus
This action sets the focus on the specified object.
This action does not have any parameter.
Example: SetFocus
SetValueAttribute
This action sets the data specified in the 'value' attribute of the object.
...
Example:
SetValueAttribute "#ff0990"
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:
...
Example:
StoreChildCount "Key"
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:
...
Example:
StoreCSSProperty "Key" "display"
StoreExistence
This action stores existence of the object under the specified key. The key value can be retrieved using the key name.
Input Parameters:
...
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:
...
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:
...
Example: StorePropertyValue "key" "text"
StoreSize
This action stores the size of the specified object under keys. The key values can be retrieved using key names.
Input Parameters:
...
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:
...
Example:
StoreText "Key"
StoreValueAttribute
This action stores the data present in the "value" attribute of the object.
...
Example:
StoreValueAttribute "Key"
UnCheck
This action deselects the specified check box.
This action does not have any parameter.
Example: UnCheck
VerifyEnability
This action verifies the enability of the specified object.
Input Parameters:
...
Example: VerifyEnability "True"
VerifyExistence
This action verifies the existence of the specified object.
Input Parameters:
...
Example: VerifyExistence "True"
VerifyVisibility
This action verifies the visibility of the specified object.
Input Parameters:
...
Example: VerifyVisibility "True"
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.
...
In this case, the Key stores the value to 1 as the expected condition is satisfied, that is, the result is Defect.
WaitForAttributeNotToBe
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.
...
In this case, the Key stores the value to 1 as the expected condition is satisfied, that is, the result is Pass.
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.
...
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.
...
Example:
WaitForAttributeNotToBeEmpty "id" "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.
...
Example:
WaitForAttributeToBe "id" "232waf" "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.
...
Example:
WaitForAttributeToBeEmpty "id" "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.
...
Example:
WaitForChildElement "id" "2" "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.
...
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.
...
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.
...
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.
...
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.
...
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.
...
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.
...
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.
...
Example:
WaitForInvisibility "5" "500" "Key" "Defect"
WaitForNonClickability
This action waits for the object to become non clickable. You may specify the timeout and polling interval, if required.
...
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.
...
Example:
WaitForNonExistence "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.
...
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.
...
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.
...
Example:
WaitForNumberOfElementsToBeMoreThan "2" "5" "500" "Key" "Defect"
WaitForSelection
This action waits till the specified object gets selected. You may specify the timeout and polling interval, if required.
...
Example:
WaitForSelection "5" "500" "Key" "Defect"
WaitForSelectionStateToBe
This action waits for the object to go to the specified state. You may specify the timeout and polling interval, if required.
...
Example:
WaitForSelectionStateToBe "False" "5" "500" "Key" "Defect"
WaitForStaleness
This action waits until the element gets detached from the DOM.
...
Example:
WaitForStaleness "5" "500" "Key" "Defect"
WaitForVisibility
This action waits for the object to be visible. You may specify the timeout and polling interval, if required.
...
Example:
WaitForVisibility "5" "500" "Key" "Defect"
StoreVisibility
This action stores the visibility status for a web element under the specified key name in the following conditions:
...
Example: 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 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.
WaitForObject (Deprecated)
This action waits for the object to appear or disappear for the maximum number of seconds specified.
...