Select

Selects an entry from a list.
Use this to select options from a single or multiple select list, a group of radio buttons or select a checkbox.

Parameters

wpath
The WPath identifying the item to select (see WPath for a detailed description).
Check Box
Use the text usually placed after the checkbox you like to select. If this text is not unique you can as always define some words before to make the path unique.
Radio Group
Use the label of the radio button you like to select. If this text is not unique you can as always define some words before to make the path unique.
Single Select Box
Usually you can select an option from a list simply by using the text of that option.
If the same option is member of different lists use the label of the select box, a > and then the text of the option to select.
Multiple Select Box
To make more than one selection in a multiple select box, use more than one Select call.
It is possible to use the '*' and the '?' character als wildcards; '*' matches zero or many characters; '?' matches one single character.
It is also possible to define a > separated list of words (with '*' and '?' if needed). Then this command selects the first element after all these words.

Examples

Select a check box

Select the checkbox 'documentation' from the list of possible improvements.

Command Parameter Optional Parameter
select documentation

 

Select a radio button

Select the radio button 'American Express' from the payment options.

Command Parameter Optional Parameter
select American Express

 

Select an entry from a list box

Select the amount of 100€.

Command Parameter Optional Parameter
select 100€

 

Sometimes the name of the option to select is not unique.

{{% image src="docu-cmd-select-list.png" %}}

Select the color named 'red' from a select box labled 'Background'.

Command Parameter Optional Parameter
select Background {{% wpath-separator %}} Red