Dropdown / List
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to fetch all values present in the dropdown/list and save the result in the output variable.
Note:
This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.
This keyword will pass only if the input value matches the values present in the application under test.
User can fetch values using array format (Ex: {all_values[0]};{all_values[1]})
Find the snippet of the keyword below:
In the above example, after the test case debug, the tool fetches the Values present in the dropdown/list and stores them in {all_values}, and the execution status “True”/ “False” will be stored in variable {get}.
Description: This keyword or action instructs Avo Assure Client to fetch the total number of options present in the dropdown.
Find the snippet of the keyword below:
In the above example, after the test case debug, the tool fetches the number of values present in the dropdown and stores it in {cnt}, and the execution status “True”/ “False” will be stored in variable {StatusGC}.
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.
Note: If the value present in the dropdown has space(s) at suffix/prefix, then the user can provide input as “1”, which will trim the spaces.
Find the snippet of the keyword below:
In the above example, after the test case debug, the selected value will be fetched and stored in the variable {sel_txt}. The execution status “True”/ “False” will be stored in variable {Status}.
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 input. The index starts with “0,” which will be 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 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 value from the dropdown based on the exact text provided in the input.
Note:
This keyword requires an exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.
This keyword will pass only if the input value matches the values present in the application under test.
This keyword selects the values given in the input. To see the selected values, the tester should use the “getSelected” keyword after selecting the keyword.
Find the snippet of the keyword below:
In the above example, after the test case debug, the provided exact value will be selected in the dropdown/list, and the execution status “True”/ “False” will be stored in variable {SelText}.
Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the index.
Note: Only numerical values are allowed in input. The index starts with “0,” which will be the first value from the dropdown/list.
Find the snippet of the keyword below:
In the above example, after the test case debug, the provided index_Value will be selected in the dropdown/list, and the execution status “True”/ “False” will be stored in variable {SelectIndex}.
Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the text provided in the input.
Find the snippet of the keyword below:
In the above example, after the test case debug, the provided value will be selected in the dropdown/list, and the execution status “True”/ “False” will be stored in variable {SelectText}.
Description: This keyword or action instructs Avo Assure Client to verify if all the input values provided by the user are present in the dropdown.
Note:
This keyword requires an exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.
This keyword will pass only if the input value matches the values present in the application under test.
Find the snippet of the keyword below:
In the above example, after the test case debug, the Value(s) will be verified, and the execution status “True”/ “False” will be stored in variable {VerifyAll}.
Description: This keyword or action instructs Avo Assure Client to verify the user-provided input count with the total number of options present in the dropdown.
Find the snippet of the keyword below:
In the above example, after the test case debug, the count value will be verified, and the execution status “True”/ “False” will be stored in variable {VerifyCount}.
Description: This keyword or action instructs Avo Assure Client to compare the user-provided input value with the selected value in the dropdown.
Note:
This keyword requires an exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.
This keyword will pass only if the input value matches the value selected in the dropdown.
Find the snippet of the keyword below:
In the above example, after the test case debug, the selected value will be verified, and the execution status “True”/ “False” will be stored in variable {VerifySelected}.
Description: This keyword or action instructs Avo Assure Client to verify if the input value(s) provided by the user is/are present in the dropdown.
Note:
This keyword requires an exact match. Due to browser rendering, if the value contains trailing/leading spaces, the keyword will fail.
This keyword will pass only if the input value matches the values present in the application under test.
Find the snippet of the keyword below:
In the above example, after the test case debug, the Value(s) will be verified, and the execution status “True”/ “False” will be stored in variable {VerifyVal}.
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getCount
NA
{Variable}; {Status}
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getSelected
NA
{Variable}; {Status}
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getValueByIndex
<Input Text>
{Variable};{Status}
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectByAbsoluteValue
<value/option to be selected, exact text>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectValueByIndex
<Index_Value>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
selectValueByText
<Input Text>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyAllValues
<InputValue>; <InputValue1>; …; <InputValueN>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyCount
<Count Value>
(Optional)
NA
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifySelectedValue
<Input_Text>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
verifyValueExists
<InputValue>; <InputValue1>;…; <InputValueN>
(Optional)
Text
Static Values
Dynamic Variables
Keyword
Input Syntax
Output Syntax
Supported Input Formats
getAllValues
NA
{Variable}; {Status}
NA