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

itemThe

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.


Multiexcerpt include macro
nameVerifyExistence
pageWebButton Actions

On this page:

Table of Contents
maxLevel2
minLevel2
absoluteUrltrue

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

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


Multiexcerpt include macro
nameClick
pageWebButton Actions


Multiexcerpt include macro
nameStorePropertyValue
pageWebButton Actions

SelectItemByIndex

This action selects an the specified item from the list based on its index in 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 multiple items are to be passed for deselection, then the list items should be separated by a caret

 Separate multiple items 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 multiple expected items are to be passed for verification, then the list items should be separated by caret

Separate multiple items 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
pageWebButton Actions


Multiexcerpt include macro
nameMouseOver
pageWebButton Actions


Multiexcerpt include macro
nameMouseUp
pageWebButton Actions


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"

Multiexcerpt include macro
nameVerifyEnability
pageWebButton Actions

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

Multiexcerpt include macro
nameRightClick
pageWebElement Actions

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
nameDragandDrop
pageWebElement Actions


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
nameClickJS
pageWebButton Actions


Multiexcerpt include macro
nameActionClick
pageWebButton Actions