VerifyInPicklist
You use the VerifyInPicklist keyword to count the number of items in a drop-down list, auto select using the substring, and verify whether the values exist or not in the drop-down list without selecting the values.
Signature
The VerifyInPicklist keyword supports the following signature:
VerifyInPicklist(AppletRN|FieldRN|[RowNum],Count:operator,value(or) Variable;True/False
[AutoSelect]: [Exists]: value or variable; True/false)
Desktop Examples
The following table describes how to use the VerifyInPicklist keyword to verify the values in a drop-down list in desktop applications.
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
SIS Account List Applet|Type|1 |
Count;=;118|True |
N/A |
Verifies that all values (118) are present in the Type drop-down list. |
SIS Account List Applet|Type|1 |
AutoSelect;contains;ac|TRUE |
N/A |
Verifies that there are values that contain the keyword ac. |
SIS Account List Applet|Type|1 |
Exists;=;Customer123|True |
N/A |
Verifies whether a value exists or not. |
Opportunity Form Applet - Child|SalesStage2 |
AutoSelect;starts;App|TRUE |
N/A |
Verifies that there are values that start with App. |
SIS Account List Applet|Type|1 |
Exists;=;@var|True |
N/A |
Verifies whether a variable value exists or not. |
Mobile Examples
Verifies the color of the picklist value.
Cfg Cx Runtime Instance Frame (JS HI)|RF1060
_Accessory_DOMAINSELECT
color:RED;=;RF1060_Packof10Zip Disks|TRUE
Packof10Zip Disks|TRUE
Verifies that the items in the Accessories pick list are showing up in the specified color (which is RED in this example).