Click
This action clicks the specified object.
This action does not have any parameters.
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:
...
Example:
MouseDown "5" "10"
MouseUp
This action simulates the event that occurs when the user releases the mouse button.
Input Parameters:
...
MouseUp "5" "10"
DragAndDropToOffset
This action drags and drops the specified web element at the specified location.
...
DragAndDropOffset "100" "500"
VerifyEnability
This action verifies the enability of the specified object.
Input Parameters:
...
VerifyEnability "True"
VerifyExistence
This action verifies the existence of the specified object.
...
VerifyExistence "True"
VerifyVisibility
This action verifies the visibility of the specified object.
...
VerifyVisibility "True"
ClickAt
This action clicks at the specified point on the object.
Input Parameters:
...
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:
...
Example:
StoreExistence "Key"
DownloadFile
This action clicks the link/element that opens a download window, which is used to download the files. You need to handle the action externally as it does not wait until the file is downloaded.
...
DownloadFile "C:/ProgramData" "Qualitia"
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.
...
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:
...
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.
...
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:
...
RightClick "3''
This will select the third option from the context-menu.
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:
...
Key | Syntax |
---|---|
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~} |
StoreCSSProperty
This action stores the CSS property value of the object under the specified key. Key value can be retrieved using the key name.
...
Example:
StoreCSSProperty "Key" "display"
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"
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"
SetValueAttribute
This action sets the data specified in the 'value' attribute of the object.
...
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:
...
Example:
WaitForAttributeNotContains "name" "h" "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:
...
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:
...
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.
Input Parameters:
...
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.
Input Parameters:
...
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.
Input Parameters:
...
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.
Input Parameters:
...
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:
...
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:
...
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:
...
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:
...
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:
...
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:
...
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:
...
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:
...
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:
...
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.
Input Parameters:
...
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:
...
Example:
WaitForNumberOfElementsToBeLessThan "2" "5" "500" "Key" "Defect"
WaitForStaleness
This action waits until the element gets detached from the DOM.
Input Parameters:
...
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.
Input Parameters:
...
Example:
WaitForVisibility "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:
...
Example:
WaitForAttributeContains "id" "we323es" "5" "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.
...
The action shall wait for maximum 15 seconds for the object to disappear. If the object disappears before 15 seconds elapses, the execution continues to the next steps.
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 continue to the next steps.
...
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.
...