Dropdown Operations
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to fetch the total number of options in the dropdown.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetCount | NA | {Variable}; {Status} | NA |
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.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetSelected | NA | {Variable}; {Status} | NA |
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}.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
getValueByIndex | <Input Index> | {Variable}; {Status} |
|
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}.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SelectValueByText | <Value/option to be selected> | (Optional) |
|
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.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SelectValueByIndex | <Input Index> | (Optional) |
|
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
Description: This keyword or action instructs Avo Assure Client to verify if all the input values the user provided are in the dropdown.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
VerifyAllValues | <Value1>; <Value2>; <Value3>…<ValueN> | (Optional) |
|
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.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
VerifyCount | <Value to be verified> | (Optional) |
|
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.
Description: This keyword or action instructs Avo Assure Client to compare the user-provided input value with the selected value in the dropdown.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
VerifySelectedValue | <Value to be verified> | (Optional) |
|
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.
Description: This keyword or action instructs Avo Assure Client to verify if the user-provided input value(s) is/are present in the dropdown.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
VerifyValuesExists | <Value1>; <Value2>; … ;<ValueN> | (Optional) |
|
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.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
SelectKeyByText | <Input Text> | (Optional) |
|
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.
Description: This keyword or action instructs Avo Assure Client to fetch the key in the dropdown and save the result in the output variable.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetKeyByIndex | <Index> | {Variable}; {Status} |
|
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.
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.
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
GetAllKeyValuePairs | NA | {Variable}; {Status} |
|
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.