UI component state verification

Text field

The following step definitions are available to control the state of a text field:

the selected text field should be enabled

the selected text field should be disabled

the text field with name: "(.*)" is displayed

the text field with name: "(.*)" is hidden

the text field with X3 field name: "(.*)" is displayed

the text field with X3 field name: "(.*)" is hidden

Examples

Date field

The following step definitions are available to control the state of a date field:

the date field with name: "(.*)" is displayed

the date field with name: "(.*)" is hidden

the date field with X3 field name: "(.*)" is displayed

the date field with X3 field name: "(.*)" is hidden

Examples

Check box field

The following step definitions are available to control the state of a checkbox field:

the selected check box is disabled

the selected check box is enabled

the check box field with name: "(.*)" is displayed

the check box field with name: "(.*)" is hidden

the check box field with X3 field name: "(.*)" is displayed

the check box field with X3 field name: "(.*)" is hidden

Examples

Radio button field

The following step definitions are available to control the state of a radio button field:

the radio button "(.*)" of the selected radio buttons group is disabled

the radio button "(.*)" of the selected radio buttons group is enabled

the radio buttons group with name: "(.*)" is displayed

the radio buttons group with name: "(.*)" is hidden

the radio buttons group with X3 field name: "(.*)" is displayed

the radio buttons group with X3 field name: "(.*)" is hidden

Examples

The following step definitions are available to control the state of a drop-down list field:

the drop down list with name: "(.*)" is displayed

the drop down list with name: "(.*)" is hidden

the drop down list with X3 field name: "(.*)" is displayed

the drop down list with X3 field name: "(.*)" is hidden

the "(.*)" value of the selected drop down list is displayed

the "(.*)" value of the selected drop down list is hidden

Examples

Icon field

The following step definitions are available to control the state of an icon field:

the icon field with name: "(.*)" is displayed

the icon field with name: "(.*)" is hidden

the icon field with X3 field name: "(.*)" is displayed

the icon field with X3 field name: "(.*)" is hidden

Examples

Link field

The following step definitions are available to control the state of a link field:

the link field with name: "(.*)" is displayed

the link field with name: "(.*)" is hidden

Examples

Text area field

The following step definitions are available to control the state of a text area field:

the text field with X3 field name: "(.*)" is displayed

the text field with X3 field name: "(.*)" is hidden

Note - informationText area fields use the same step definitions as text fields.

Text editor field

The following step definitions are available to control the state of text editor fields using RTF or CKEditor 5 components:

the text editor field of section: "(.*)" is displayed

the text editor field of section: "(.*)" is hidden

the text editor field with X3 field name: "(.*)" is displayed

the text editor field with X3 field name: "(.*)" is hidden

Password field

The following step definitions are available to control the state of a password field:

the password field with name: "(.*)" is displayed

the password field with name: "(.*)" is hidden

Data table

The following step definitions are available to control the state of a data table cell:

the selected cell is enabled

the selected cell is disabled

the user selects the disabled cell with column header: "(.*)" and row number: (.*)

 

The following step definitions are available to control the state of a data table column header:

the column header with name "(.*)" of the selected data table is displayed

the column header with name "(.*)" of the selected data table is hidden

the column header with X3 field name "(.*)" of the selected data table is displayed

the column header with X3 field name "(.*)" of the selected data table is hidden

the "(.*)" choice of the selected cell is displayed

the "(.*)" choice of the selected cell is hidden

the "(.*)" function on the toolbox of the selected row is (displayed|hidden)

the image in the selected cell is defined

the image in the selected cell is undefined

Examples

Tab

The following step definitions are available to control the state of a tab:

the tab with title "(.*)" is displayed

the tab with title "(.*)" is hidden

Function and entity

The following step definitions are available to control the state of a function or entity in the site map:

the function "(.*)" in the site map is displayed

the function "(.*)" in the site map is hidden

the entity "(.*)" in the site map is displayed

the entity "(.*)" in the site map is hidden

Right panel

Main actions

The following step definitions are available to control the state of the right panel's main actions:

the "(.*)" main action button on the right panel is disabled

the "(.*)" main action button on the right panel is enabled

Secondary actions

The following step definitions are available to control the state of the right panel's secondary actions:

the "(.*)" secondary action button is disabled

the "(.*)" secondary action button is enabled

Header drop-down

The following step definitions are available to control the state of the right panel header drop-down's actions:

the "(.*)" action button on the header drop down is disabled

the "(.*)" action button on the header drop down is enabled

Left panel

Left list

The following step definition is available to control the state of the left list and to check if it is empty:

the selected data table of the left panel is empty

Picking list

The following step definition is available to control the state of the picking list and to check if it is empty:

the selected picking list of the left panel is empty

Examples

Quick selection

Examples