Versions Compared

Key

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

ClearText

This action clears the text present in the specified text box.

This action does not have any parameter.

Example:
ClearText

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.

...

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.

This action does not have any parameter.

Example:

DoubleClick

DragAndDropToOffset 

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

...

DragAndDropOffset            "100"              "500"

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

MouseOverJs

This action simulates a mouse hovering over the specified object by using JavaScript.

This action does not have any parameter. 

Example:

MouseOverJs

MouseUp

This action simulates the event that occurs when the user releases the mouse button.
Input Parameters:

...

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

SecureSet

This action enters the expected value into the specified edit box. The value set in the parameter is encrypted once the focus is moved for security purposes.
Input Parameters:

...

SecureSet    "Encrypt(Abc)"When the focus is moved away from the parameter Qualitia will automatically encrypt the data ABC and result in a secured text like "vHpmlfI4R3PQkCN4sZnuqw==þNWE3ZDdkNjE3N2JmNDM2ODgxMzQwYWI1MTA3YWNjMDc="

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

Set

This action enters the specified value into the edit box.

...

Example: Set                            "Qualitia"

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:

...

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 entered in an edit box under the specified key. The key value can be retrieved using the key name.  
Input Parameters:

...

StoreText                   "textKey"

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:
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.  

...

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"

ClickAndWait (Deprecated)

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

...

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.

...