Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

ClickandWait

This action clicks the specified object and waits for the seconds specified in Sync Time under the Configuration Settings (Execution) window.

...

This action does not have any parameter. 

Example:

ClickAndWait

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.

This action does not have any parameters.

Example:

DoubleClick

DownloadFile

This action clicks the link or 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.

...

Parameter Name

Parameter Description

Mandatory

Data Type

folderPath

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 validate whether the folder exists.

Yes

String

Filename

The filename of the downloadable file, to be given in case the user requires to give a specific name and not depend on the default name of the file. In case, the file already exists, similar window like below will appear. Such windows are not handled by the action. In case, the user does not provide this data, the action will pick the default file name available while downloading.

No

String


Example:

...

Example  DownloadFile               "C:/ProgramData"           "Qualitia" 

...

DragAndDropToOffset 

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

...

DragAndDropOffset            "100"              "500"

MouseOver

This action simulates a mouse hovering over the specified object.

This action does not have any parameter. 

Example:
MouseOver

RightClick

This action right-clicks the specified web element.
Input Parameters:

...

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

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"

VerifyEnability

This action verifies the enability of the specified object. 
Input Parameters:

...

VerifyEnability                          "True"

VerifyExistence

This action verifies the existence of the specified object. 
Input Parameters:

...

VerifyExistence                      "True"

VerifyVisibility

This action verifies the visibility of the specified object.
Input Parameters:

...

VerifyVisibility                      "True"

StoreVisibility 

This action stores the visibility status for a web element under the specified key name in the following conditions:

...

Example: StoreVisibility   "Key"

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.  

...

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.   

...

Example:
WaitForAttributeValueNotContains      "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.  

...

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 object 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"

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"

WaitForObject (Deprecated)

This action waits for the object to appear or disappear for the maximum number of seconds specified.

...