Control groups

A control is a screen element in your application that you interact with in your tests. You can organize controls of the type link, button, and radio button into groups. Since you usually select only one control of this type at a time, such as a radio button, you don't select multiple options, but one. This helps you structure your controls view more clearly in the test case.

Create control group

Before you begin, note that you can only group controls of the same type, within the same module, and without child attributes.

Group the controls as follows:

  1. Go to Inventory > Modules and select the module with the controls you want to group.

  2. Select the checkbox for each control you want to add to the group.

  3. Select Create control group from the context menu.

  4. Save your changes.

Unbind control group

If you no longer need a control group, you can easily unbind it as follows:

  1. Use the checkbox to select the control group you want to unbind.

  2. Select Unbind control group from the context menu.

  3. Save your changes.

If you still use the control group in a test case, you must adjust the test case or it will no longer work. Select the View usages option to see which test cases use the module attribute.

Steer control group

You select the control you want to steer from the control group element. Therefore, you have different options for each type of control, as listed below.

Link

Action mode

Value

Description

Input

<control name>

Selects a link.

Verify

<control name>

Verifies whether the specified link exists.

Button

Action mode

Value

Description

Input

<control name>

Selects a button.

Verify

<control name>

Verifies whether the specified button exists.

WaitOn

<control name>

Waits until the specified button exists.

Radio button

Action mode

Value

Description

Input

<control name>

Selects a radio button.

Verify

<control name>

Verifies whether the specified radio button is selected.

In this example, there are two control groups. One group contains radio buttons to select whether you are a right-hand or left-hand driver. The other group has buttons to choose from, such as going to the next step or going back.

Control groups