Skip to Main Content
Return to Navigation

ComboBox

These are the actions associated with the ComboBox step type.

Exists

Description

The description for this action is in the Common Actions section.

See Exists.

Get_Property

Description

The description for this action is in the Common Actions section.

See Get_Property.

GetLabel

Description

The description for this action is in the Common Actions section.

See GetLabel.

Set_Value

Description

Sets the field value in the ComboBox to the value specified in Value.

You can also use this action with the #LIST# reserved word to verify whether items exist in the list.

When used with #LIST#, Set_Value returns an error if the expected value (the bracketed value) is not the same as the actual value.

Example

This example sets the field value to French and verifies that the values English, French, and Finnish exist in the list.

Image: Example of using the Set_Value action with the #LIST# reserved word

This example illustrates setting the field value to French and verifies that the values English, French, and Finnish exist in the list

Set_Value action with the #LIST# reserved word

Verify

Description

Compares the value in the browser to the expected value and adds a Pass or Fail log entry for the validation. Use a vertical pipe (|) to separate values to be verified. Use square brackets ([]) to specify which value is expected to be selected.

Example

This example verifies that the field value is set to Two and verifies that the values One and Three exist:

Image: Example of Verify action

This example illustrates the step to verify that the field value is set to Two and that the values One and Three exist.

Example of Verify action