Dropdown/ List

Keyword: GETCOUNT

Description: This keyword or action instructs Avo Assure Client to fetch the total 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, 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}.

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getSelected

NA

{Variable}; {Status}

NA

Note: If the value 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}.

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getValueByIndex

<Input Text>

{Variable}; {Status}

  • Text

  • Static Values

  • Dynamic Variables

Note: Only numerical values are allowed in 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 and stored in variable {Index_Val}, and the execution status “True”/ “False” will be stored in variable {Status}.

Keyword: SELECTVALUEBYINDEX

Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the index.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByIndex

<Index_Value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

Keyword: SELECTVALUEBYTEXT

Description: This keyword or action instructs Avo Assure Client to select the value from the dropdown based on the text provided in the input.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectValueByText

<Input Text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

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}.

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyAllValues

<InputValue>; <InputValue1>; …; <InputValueN>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.

  2. This keyword will pass only if the input value matches the values 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}.

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyCount

<Count Value>

(Optional)

NA

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}.

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

VerifySelectedValue

<Value>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.

  2. This keyword will pass only if the input value matches with the value selected in the dropdown/list.

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}.

Keyword: VERIFYVALUEEXISTS

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

verifyValueExists

<InputValue>; <InputValue1>; …; <InputValueN>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.

  2. This keyword will pass only if the input value matches the values 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: GETALLVALUES

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

Keyword

Input Syntax

Output Syntax

Supported Input Formats

getAllValues

NA

{Variable}; {Status}

NA

Note:

  1. This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.

  2. This keyword will pass only if the input value matches the values in the application under test.

  3. 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}.

Keyword: SELECTBYABSOLUTEVALUE

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.

Keyword

Input Syntax

Output Syntax

Supported Input Formats

selectByAbsoluteValue

<value/option to be selected, exact text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note:

  1. This keyword requires an exact match. Due to browser rendering, the keyword will fail if the value contains trailing/leading spaces.

  2. This keyword will pass only if the input value matches the values in the application under test.

  3. 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}.

Last updated