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 {GetCount}, and the execution status “True”/ “False” will be stored in variable {StatusSG}.

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 the 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 debugs, the provided index value will be selected in the dropdown/list, and the execution status “True”/ “False” will be stored in variable {SelectValByIndex}.

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

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

Find the snippet of the keyword below:

In the above example, after the test case debugs, the selected value will be fetched and stored in the variable {GetSelected}, and the execution status “True”/ “False” will be stored in the variable {SelectedGS}.

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

<Input Text>

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: 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 {VerifySelectedValu}.

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 the input. The index starts with “0,” which is 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 {GetValueByIndex}, and the execution status “True”/ “False” will be stored in variable {StatusGVI}.

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: VERIFYVALUESEXISTS

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

VerifyValuesExists

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

(Optional)

  • Text

  • Static Values

  • Dynamic Variables

Note: 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 {VerifyValueExists}.

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 will pass only if the input value matches the values in the application under test.

  2. 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}, and the execution status “True”/ “False” will be stored in variable {status}.

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: 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 {VerifyAllValues}.

Last updated