Tabcontrol
Tabcontrols can either be shown in single-line or multi-line view in Tosca Cloud.
Single-line view
Tosca XScan automatically creates single-line tabcontrols.
Action Mode |
Value |
Description |
---|---|---|
Input |
<name> |
Selects the tab with this name. |
Verify |
<name> |
Verifies whether the tab with this name has been selected. |
Buffer |
<buffer name> |
Saves the selected tab to a buffer of the specified name. |
Multi-line view
In order to display tabcontrols in multi-line view, you can build structured entries with Tosca XScan.
The technology you used to scan your application determines what you can do next:
-
select the tabcontrol and each required tab. Each tab is copied to the module as a tab item.
You can verify the following properties with tabcontrol tabs in addition to the general properties:
Property |
Description |
---|---|
Closeable |
Indicates with the value True that the tab can be closed. Otherwise, the value False is used. |
Selected |
Indicates if the tab is selected or deselected. |
Text |
Tab name |
If multi-line tabcontrols are steered, the action mode of the tabcontrol must be set to Select.
The following functions are available for the tabcontrol tabs. If you don't enter a property in the test step value, Tosca Cloud uses the property from the Default property column:
Action Mode |
Value |
Default property |
Description |
---|---|---|---|
Input |
<empty value> <mouse action> {CLOSE} |
Selected |
Selects the tab. Selects the tab using the specified mouse action. Closes the closeable tab. |
Verify |
True, False, <property> |
Selected |
Verifies a value or a property. |
Buffer |
<buffer name> |
Selected |
This saves the value True if the entry is selected. Otherwise, False is saved. |
Manipulate tab Items
To be able to modify the name of a tabcontrol tab, add the configuration parameter ExplicitName with the value True to the module attribute of the according tab Item.
You can use date and time expressions, regular expressions, and Random values to define the tabs.