Table tree
Table trees have TreeNodes, as trees do, but can also have a number of columns which show data relating to each TreeNode. Table trees can be automated using single-line syntax or a hierarchical structure in Tosca Cloud.
Single-line view
Tosca Cloud automatically creates table trees when you scan them.
You can steer table trees by using the arrow -> as a separator to specify the path to the relevant TreeNode.
Structured view
The table tree control consists of TreeNodes and cells. By default each TreeNode contains a TreeNode and a cell as children.
Steering TreeNodes in table trees
You can verify the following properties for TreeNodes in addition to the general properties:
Property |
Description |
---|---|
Selected |
This specifies whether an entry is selected or deselected. |
If you want to steer a structured table tree, specify the Action mode Select.
If you want to steer a given TreeNode, specify the Action mode Select for all entries above that TreeNode in the hierarchy.
The table below lists all available action modes for TreeNodes. If you do not enter a property in the test step value, Tosca Cloud uses the Default property.
Action mode |
Value |
Default property |
Description |
---|---|---|---|
Input |
x, X |
Selected |
Selects an entry Performs a mouse action on the entry |
Verify |
True, |
Selected |
Verifies either the value or the property. |
Buffer |
<Buffer name> |
Selected |
Saves the value True if the entry is selected, otherwise False is saved. |
Select |
none |
Selected |
Selects an entry. |
Steering cells in table trees
The following options are available for identifying and populating cells:
|
Description |
---|---|
<Cell> |
|
Selecting entries by using relative paths
If you want to set the path to an entry you can use relative paths in the structured view.
Change the value of the configuration parameter BusinessAssociation to Descendants in the Properties tab of the module attribute.
Selecting entries via indexes and names
If multiple entries of the same name exist in structured view, you can use an index to define a specific entry.
-
Define the configuration parameter ExplicitName for the entry in the module attribute and set the value to True. For more information, check out Configuration parameters.
-
In the test case use the syntax #<n> in the Name column to specify the exact entry to be used with several search results.