StoreListItemMembersCount
This action stores the total count of the specified list item members under the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key |
Enter the key name under which you want to store the |
count. | Yes | String |
Example:
StoreListItemMembersCount "Key"
DeSelectCheckboxAtListItemMember
This action deselects the checkbox check box present at given list item index and list item member index.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listItemIndex | Enter the list item index from where check box is to be deselected. | Yes | String |
listItemMemberIndex | Enter the list item member index from where check box is to be deselected. | Yes | String |
Example:
DeSelectCheckboxAtListItemMemberIndex "3" "7"
VerifyListItemCount
This action verifies the total count of items present in under the list with the expected specified count.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedListItemsCount | Enter the expected count. | Yes | String |
Example:
VerifyListItemCount "5"
StoreListItemIndexContainingMinValue
This action stores the list item index which contains the minimum value. This action only works with numerical data.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key in which the list item index will be saved. | Yes | String |
listItemMemberIndex | Enter the list item member index in which the data is to be checked. | Yes | String |
Example:
StoreListItemIndexContainingMinValue "Key" "1"
StoreListItemIndexContainingMaxValue
This action stores the list item index which contains the maximum value. This action only works with numerical data.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key in which you want to save the list item index |
. | Yes | String |
listItemMemberIndex | Enter the list item member index in which you want to look for the data |
. | Yes | String |
Example:
StoreListItemIndexContainingMaxValue "Key" "1"
StoreListItemIndexContainingText
This action stores the list item index which contains the specified text.
The comparison is case-sensitive.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key in which you want to save the list item index |
. | Yes | String |
textToVerify | Enter the text that you want to |
verify. | Yes | String |
listItemMemberIndex | Enter the list item member index in which you want to check the data |
. | Yes | String |
Example:
StoreListItemIndexContainingText "Key" "Qualitia" "1"
CompareListItemMembersData
This action compares the data present at the specified list item member index.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listItemMemberIndex | Enter the list item member index |
where you want to compare the data. | Yes | String |
expectedListItemMembersData | Enter the expected data to |
verify. | Yes | Array |
Example:
CompareListItemData "2" "Qualitia^QTP^WebDriver"
StoreExistence
This action stores existence of the specified object under the given key.
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
Key
The variable in which the existence (true/false) of the object is stored.
Yes
String
Example:
StoreExistence "key"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
VerifyListItemMemberCount
This action verifies the list item member count with the expected specified count.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
expectedListItemMembersCount | Enter the expected count. | Yes | String |
Example:
VerifyListItemMemberCount "5"
VerifyDataExistenceInListItemMembers
This action verifies the existence of the data present in the specified list item member index.
The data comparison is case-sensitive.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listItemMemberIndex | Enter the list item member index where existence is to be verified. | Yes | String |
expectedListItemMembersData | Enter the expected data separated by carrot. You can provide one or more expected strings. | Yes | Array |
existence | Enter the expected existence of the data (true or false). | Yes | String |
Example:
VerifyDataExistenceInListItemMembers "5" "49" "True"
VerifyDataExistenceInListItemMembers "5" "Qualitia^6" "False"
VerifyDataExistenceInListItem
This action verifies the existence of the data in the specified list item.
The data comparison is case-sensitive.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listItemIndex | Enter the list item index where |
you want to verify the existence. | Yes | String | |
expectedListItemsData | Enter the expected data separated by carrot. You can provide one or more expected strings. | Yes | Array |
existence | Enter the expected existence of the data (true or false). | Yes | String |
Example:
VerifyDataExistenceInListItem "7" "40" "True"
VerifyDataExistenceInListItem "7" "Zensoft^9" "True"
SelectCheckboxAtListItemMember
This action selects the check box present in the specified list item member.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
listItemIndex | Enter the list item index from where you want to select the check box |
. | Yes | String |
listItemMemberIndex | Enter the list item member index from where you want to select the check box |
. | Yes | String |
Example:
SelectCheckboxatListItemMember "5" "4"
This action stores the property of the specified object under the key name. The stored 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", "type", "visible", "label", "enabled", "accessible", "rect", "frame", "accessibilityContainer", "wdName", "wdValue", "wdType", "wdVisible", "wdLabel", "wdEnabled", "wdAccessible", "wdRect", "wdFrame", "wdAccessibilityContainer".
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
Key
Variable in which the property value will be stored
Yes
String
Property
Property/attribute name whose value needs to be stored in "Key". This can be any accessible property of Android/iOS native object.
Yes
String
Example:
StorePropertyValue "key" "text"
This verifies the enability of the specified object.
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
enability
Value of this parameter can be true or false.
If True – checks if the object is enabled
If False – checks if the object is disabled
Yes
String
VerifyEnability "TRUE"
This verifies the existence of the specified object.
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
enability
Value of this parameter can be true or false.
If True – checks if the object exists.
If False – checks that the object does not exist.
Yes
String
VerifyExistence "TRUE"
This action waits for the object to appear for maximum number of seconds specified. If the object is found or not found before the maximum time specified, the keyword stops waiting.
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
timeOut
The maximum no of seconds to wait to check for the object existence or otherwise. This has to be 0 or a positive integer value.
Yes
String
Existence
String value to specify whether to check for existence or non-existence. TRUE – check for existence, FALSE – check for non-existence
Yes
String
Example:
WaitForObject "15" "TRUE"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
StoreListItemIndexContainingTextInArray
This action checks if each string separated by caret is part of the list item member data.
For example, if list item member data is abc,def,ghi and input data is d^f then listItemIndex 2 will be stored under the key name.
The comparison is case-sensitive.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name in which the index number will be stored. | Yes | String |
textArrayToVerify | Enter the text array to be verified. | Yes | Array |
listItemMemberIndex | Enter the list item member from where the text is to be taken. | Yes | String |
Example:
StoreListItemIndexContainingTextInArray "Key" "d^f" "3"
Swipe
This action performs swipe and finds object until timeout occurs.
Input Parameters:
ParameterName
Parameter Description
Mandatory
Data Type
upDownLeftRight
Direction of Swipe
- Up: Move finger from down to up on the device screen.
- Down: Move finger from up to down on the device screen.
- Left: Move finger from right to left on the device screen.
- Right: Move finger from left to right on the device screen.
No
String
timeoutInSeconds
Enter the timeout in seconds to perform swipe.
No
String
swipePageInSeconds
Enter in how many seconds one page should be swiped. Default is 1 second.
Note: Use this parameter with caution only when control on swipe speed is required.
No
String
Example:
Swipe "up" "10" "1"
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
StoreListItemCount
This action stores the count of list items in the specified key. The key value can be retrieved using the key name.
Input Parameters:
Parameter Name | Parameter Description | Mandatory | Data Type |
---|---|---|---|
Key | Enter the key name in which you want to store the item count |
. | Yes | String |
Example:
StoreListItemCount "Key"
LongPress
Multiexcerpt include macro | ||
---|---|---|
|
This action clicks the specified object.
This action does not have any input parameters.
Example:
Click
LongPress
This action performs the long press event on the specified object.
This action does not have any input parameters.
Example:
|
Multiexcerpt include macro | ||||
---|---|---|---|---|
|