Multiexcerpt include macro | ||||
---|---|---|---|---|
|
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 | 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
If False – checks if the object does not exist
| 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 |
---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
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 |
Enter the expected list items that are to be deselected |
from the list box. |
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"
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 |
Enter the list items that are expected to be selected |
from the list box. |
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"
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 | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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. |
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|