Dropdown Operations

Keyword: GETCOUNT

Description: This keyword or action instructs Avo Assure Client to fetch the total number of options in the dropdown.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch the count of values present in the dropdown “MM01_Dropdown_1” and store the value in {GC} and if the output variable is provided for execution status “True”/ “False” will be stored in it.

Keyword: GETSELECTED

Description: This keyword or action instructs Avo Assure Client to fetch the selected value from the dropdown and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch the selected value of the dropdown “MM01_Dropdown_1” and store the value in {GS}.

Keyword: GETVALUEBYINDEX

Description: This keyword or action instructs Avo Assure Client to fetch the dropdown value using the index given in the input and save the result in the output variable.

Note: Only numerical values are allowed in the input. The index starts with “0,” the first value from the list.

Find the snippet of the keyword below:

In the above example, after the test case debug, the value text will be fetched from the provided Index, i.e., 0, and stored in variable {Index_Val}, and the execution status “True”/ “False” will be stored in variable {Status}.

Keyword: SELECTVALUEBYTEXT

Description: This keyword or action instructs Avo Assure Client to select the input option in the dropdown and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will select “Mechanical engineering” from the dropdown “MM01_Dropdown_1,” and if the output variable is provided for execution status, “True”/ ”False” will be stored in it.

Keyword: SELECTVALUEBYINDEX

Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown according to the index for the list specified in the input.

Find the snippet of the keyword below:

In the above example, Avo Assure Client will select the value with index 0 in the dropdown after the test case debug. If an output variable is provided for execution status, “True”/ “False” will be stored in it

Keyword: VERIFYALLVALUES

Description: This keyword or action instructs Avo Assure Client to verify if all the input values the user provided are in the dropdown.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will compare “Chemical industry”, “Mechanical engineering”, “IS Utilities”, “Pharmaceuticals”, “Plant engine/construction”, and “Retail” from the dropdown “MM01_Dropdown_1”. If the output variable is provided for execution status, “True”/ ”False” will be stored.

Keyword: VERIFYCOUNT

Description: This keyword or action instructs Avo Assure Client to verify the user-provided input count with the total number of options in the dropdown.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will compare the count of values is 7 in the dropdown “MM01_Dropdown_1,” and if an output variable is provided for execution status, “True”/ ”False” will be stored in it.

Keyword: VERIFYSELECTEDVALUE

Description: This keyword or action instructs Avo Assure Client to compare the user-provided input value with the selected value in the dropdown.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will compare the value selected from the dropdown “MM01_Dropdown_1” with input “Mechanical engineering,” and if the output variable is provided for execution status, “True”/ ”False” will be stored in it.

Keyword: VERIFYVALUESEXISTS

Description: This keyword or action instructs Avo Assure Client to verify if the user-provided input value(s) is/are present in the dropdown.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will verify the values “Retail” and “IS Utilities” values exist in the dropdown “MM01_Dropdown_1,” and if the output variable is provided for execution status, “True”/ ”False” will be stored.

Keyword: SELECTKEYBYTEXT

Description: This keyword or action instructs Avo Assure Client to select the key by the specified text in the dropdown and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debugs, Avo Assure Client will select the key “VLS1” in the dropdown “RV60A-FKART_select”. If the output variable is provided for execution status, “True”/ ”False” will be stored.

Keyword: GETKEYBYINDEX

Description: This keyword or action instructs Avo Assure Client to fetch the key in the dropdown and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch the key having index 2 in the dropdown and store it in variable {Key}. If the output variable is provided for execution status, “True”/ ”False” will be stored.

Keyword: GETALLKEYVALUEPAIRS

Description: This keyword or action instructs Avo Assure Client to fetch all the key-value pairs in the dropdown and save the result in the output variable.

Find the snippet of the keyword below:

In the above example, after the test case debug, Avo Assure Client will fetch all the key-value pairs in the dropdown and store them in variable {KeyValuePair}. If the output variable is provided for execution status, “True”/ ”False” will be stored.

Last updated