Versions Compared

Key

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

SelectItems

This action selects particular item or items from a list. Multiple items for selection can be given only for the list box that has multiple multi-selection property.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

item

The

Enter the name of the item

(s) as it appears in the list.
To give multiple items, the items need to be separated using

that needs to be selected. Separate multiple items by carat (^) operator. 

NO

No

Array

Example:
SelectItem                                         "England^India^Australia"

Note

Consider a list containing names of countries. If it contains list items "India", "England", "Australia" and the user wishes to select "England", then this action can be used as follows. If an empty data ("" or $NULL$) is passed as the data, the action will be passed only if there exist an item "" in the webList to be selected.

VerifyExistence

This action verifies the existence of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

existence

Value of this parameter can be true or false.
If True – checks if the object exists
If False – checks if the object does not exist

Yes

String

Example:
VerifyExistence                                      "True"

Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue

VerifyVisibility

This action verifies the visibility of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

visibility

Value of this parameter can be true or false.
If True – checks if the object is visible
If False – checks if the object is invisible

Yes

String

Example:
VerifyVisibility                             "True"

Multiexcerpt include macro
nameVerifyVisibility
pageWebButton Actions

VerifyItemsExist

This action verifies the existence of the objects in the specified list. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

items

Items that need to be verified in the list
Data Type for this parameter is Array and each item needs to be separated with caret operator (^).
This action checks if the given items are a sublist of the actual items in the list

Enter the items for which you want too check the existence. Separate multiple items by carat (^) operator. 

Yes

Array

existence

Value of this parameter can be either true or false. If True – checks if

  • Set true if you want to check the object
exists
If False – checks if the object does not exist
  • existence.
  • Set false if you want to check the object non-existence. 

Yes

String

Example:
Consider a list containing names of countries "India", "Australia", "England", "South Africa". If the user wishes to verify if India, England, South Africa are in the list, then this action can be used as follows:
VerifyItemsExist VerifyItemsExist            "India^South Africa^England"           "true" Note:

Note
  1. "^" in Qualitia is a delimiter for items in an array.
  2. If an empty data ("" or $NULL$) is passed as the data, the action will passed only if there exist an "" item in the webList.

Click

This action clicks the specified object.
Example:
Click

StorePropertyValue

This action stores the property value of the specified object against a key name. The stored value can be retrieved by using the key name
Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

key

Variable in 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                               "value"                     "name"

SelectItemByIndex

This action selects an item from the list based on its index in the list.

Multiexcerpt include macro
nameClick
pageWebButton Actions

Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

SelectItemByIndex

This action selects the specified item from the list. Index starts from 1. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

index

Specified Enter the index value of a the list item that is to be selected in the list boxyou want to select. Index starts at 1.

Yes

Integer

Example:
Consider a list containing names of countries. If it contains list items in the order "India", "England", "Australia" and the user wishes to select "Australia", then this action can be used as follows:
SelectItemByIndex                         "3"

VerifyItemsInSequence

Verifies This action verifies the actual sequence of items in the specified list box with the expected items' sequence.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

items

List Enter the list of multiple items in expected sequence. The  Separate multiple items are to separated by a caret carat (^) operator. 

Yes

Array


Example:
Consider a list containing names of countries. If it contains list items in the order "India", "England", "Australia" , "SA" then to verify a sequence in the list, this action can be used as follows:

VerifyItemsInSequence VerifyItemsInSequence                                                  "India^England^Australia^SA"

DeSelectItems

This action deselects the specified selected item(s) items from the specified list box. Multiple items for deselection can be given only for the list box that has multiple multi-selection property.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

items

Expected list item(s)

Enter the expected list items that are to be deselected

in

from the list box.

If

 Separate multiple items

are to be passed for deselection, then the list items should be separated by a caret

by carat (^) operator.

Yes

Array

Example:
Consider a list containing names of countries. If it contains list items in the order "India", "England", "Australia" , "SA" , if the user wishes to deselect "India and Australia", then this action can be used as follows.:

DeSelectItems                                 "India^Australia"
(warning) If an empty data ("" or $NULL$) is passed as the data, the action will passed only if there exist an "" item in the webList to be deselected.

VerifySelectedItems

This action verifies the selected item(s) items with the expected selected item(s) items list. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

items

List item(s)

Enter the list items that are expected to be selected

in

from the list box.

If

Separate multiple

expected

items

are to be passed for verification, then the list items should be separated by caret

by carat (^) operator.

Yes

Array

Example:
Consider a list containing names of countries. If it contains list items in the order "India", "England", "Australia" , "SA" , if India and England are selected and this needs to be verified, the this action can be used as follows
VerifySelectedItems                                       "India^England"
(warning) If an empty data ("" or $NULL$) is passed as the data, the action will passed only if there exist an "" selected item in the webList.

VerifySize

This action compares the actual number of items (size) in from the specified list box with the expected number of items (size).

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

expectedSize

The Enter the expected size of the list box that will be compared with the actual size of the list box.

The data type of this parameter is Numeric. It allows only digits.

Yes

String

Example:
If a list contains the items "India","England,"S.A", then to verify its size this action can be used as follows.
VerifyListBoxSize                         "3"


Multiexcerpt include macro
nameSetFocus

This action moves the focus to the specified object. 

Example:
SetFocus

MouseOver

This action simulates users hovering the mouse over the specified object.

Example:
MouseOver

pageWebButton Actions

Multiexcerpt include macro
nameMouseOver
pageWebButton Actions

MouseUp

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

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Y

The x-coordinate of the click.

Yes

String

X

The x-coordinate of the click.

Yes

String

Example:

MouseUp 5 10

ClickAt

This action clicks at the particular point on the object.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Y

The x-coordinate of the click.

Yes

String

X

The x-coordinate of the click.

Yes

String

Example:

ClickAt           "5"              "10"

WaitForObject

This action waits for the object to exist or not exist for the maximum no of seconds specified.

If the object is found or not found before the maximum time specified, the action shall stop waiting.

If the wait time is "" then the wait time shall be the "Sync Time" time set on the Qualitia Configuration (Execution) window.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

waitTime

The maximum no of seconds to wait for the object to exist or not exist 
This has to be 0 ,"",or a positive integer value

Yes

String

existence

Boolean value to specify if the object should exist or not.

Yes

String

Example:

WaitForObject           "10"            "true"
The action shall wait for maximum 10 seconds for the object to exist. If the object exists before 10 seconds elapses, the wait shall be over.
WaitForObject         "15"          "False"
The action shall wait for maximum 15 seconds for the object not to exist. If the object does not exist before 15 seconds elapses, the wait shall be over.

Multiexcerpt include macro
nameClickAt
pageWebButton Actions

Multiexcerpt include macro
nameWaitForObject
pageWebButton Actions

StoreItems

This action stores all the items of a list in a key. The items in the key are separated using caret operatorfrom the specified list under the key name. Items are separated by carat (^) operator and can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyThe

Enter the key in which the items of the list items will be stored.name under which you want to store the items. 

Yes

String

Example:
Consider a list having the items like, Monday, Tuesday, Wednesday.
StoreItems                       "Key"
The items in the key will be stored as Monday^Tuesday^Wednesday.

VerifyNoItemsDuplication

This action verifies that no items are duplicated in the list.

Example:

VerifyNoItemsDulication

Consider a list having the items Monday, Tuesday, Wednesday, Monday

The action status will be fail as because the if the list contains duplicate item "Monday"

VerifyEnability

This action verifies the enability of the specified object. 

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

enability

Value of this parameter can be true or false.

If True – checks if the checkbox is enabled
If False – checks if the checkbox is disabled

Yes

String

Example:
VerifyEnability                          "True"

StoreSelectedItems

This action stores all the selected items of a list in a that are selected under the specified key. The Multiple items in the key are stored separated using caret by carat (^) operator. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

keyThe

Enter the key in which the selected items will be stored.name under which you want to store the items. 

Yes

String

Example:

StoreSelectedItems                  "selectedItemsKey"

Consider a list having the items Monday, Tuesday, Wednesday, Thursday, Friday. Suppose Tuesday and Friday is selected in the list.

The items in the key will be stored as Tuesday^Friday

RightClick

This action right-clicks the particular webelement.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

option

Enter the context menu option number that needs to be clicked.

Yes

String

Example
RightClick         "3"

This will click the third option from the context-menu.

SelectItemAndWait

This action selects an item from the list and waits. It waits for the max sync time set in under the Qualitia configuration Configuration Settings (Execution) window for the key "Sync Time". If the page loads before reaching the max maximum sync time, then the action will stop waiting.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

item

Item Enter the item to be selected from the list.

Yes

String

Example:
Consider a list containing names of countries. If it contains list items "India", "England", "Australia" and the user wishes to select "England", then this action can be used as follows
SelectItemAndWait                      "India"

Note

If an empty data ("" or $NULL$) is passed as the data, the action will passed only if there exist an "" item in the webList to be selected.
In Webdriver we wait 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 stop stops waiting. The condition to wait till the document is in ready state and assume that the page is loaded could however not work as expected at all times.

Multiexcerpt include macro
nameRightClick
pageWebElement Actions

DragAndDrop

This action drags an object to a certain distance and drops it.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

offsetX

Offset in pixels from the current location to which the element should be moved. The offset parameter can be as +100,100 , -100, 10,…

Yes

String

offsetY

offset in pixels from the current location to which the element should be moved The offset parameter can be as -100,100 , +100

Yes

String

Example:

DragAndDrop                                       "-100"                             "500"

ClickAndWait

This action clicks the edit box and waits.It waits for the max sync time set in the Qualitia Configuration (Execution) window.

If the page loads before the maximum sync time, then the action will stop waiting.

Example:

ClickAndWait

Note

In Webdriver we wait 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 stop waiting. The condition to wait till the document is in ready state and assume that the page is loaded could however not work as expected at all times.

StoreExistence

This action stores existence of the object in a variable (key).

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the existence (true/false) of the object is stored.

Yes

String

Example:
StoreExistence                        "Key"

StoreChildCount

This action stores the child count of the specified object under the key name. The key value can be retrieved using the key name.

Input Parameters:

Parameter Name

Parameter Description

Mandatory

Data Type

Key

The variable in which the child count will be saved.

Yes

String

Example:

StoreChildCount                               "Key"

ScrollIntoView

This action scrolls to view the specified object. 

This action does not have any parameters. 

Example:

ScrollIntoView

Multiexcerpt include macro
nameClickAndWait
pageWebButton Actions

Multiexcerpt include macro
nameStoreExistence
pageWebButton Actions

Multiexcerpt include macro
nameStoreChildCount-withoutlocator
pageWebButton Actions

Multiexcerpt include macro
nameScrollIntoView
pageWebButton Actions

Multiexcerpt include macro
nameActionClick
pageWebButton Actions

Multiexcerpt include macro
nameClickJS
pageWebButton Actions