About Test Viewpoint Tree
You can perform test analysis by organizing test viewpoints in a tree-structured diagram. You can develop tests by grouping multiple test viewpoints from the test viewpoint tree and creating subtrees that describe templates for specific test cases.
About Test Viewpoint Tree in GIHOZ
Test viewpoint tree
- Test viewpoint tree edit area: Organize test viewpoints in a tree structure in this area.
- Zoom in/out button: Zoom in or out the test viewpoint tree.
- Test viewpoints search field: By entering a string, you can search for test viewpoints within the test viewpoint tree and subtrees.
- Test viewpoint tree download button: Download the test viewpoint tree.
- Adjust width icon: The width of the test viewpoint tree and subtree edit areas can be adjusted freely.
Subtree
- Add subtree button: Add a subtree.
- Subtree edit area: Draw a subtree by adding the test viewpoints from the test viewpoint tree.
- Open/close a subtree button: Open or close each subtree.
- Delete subtree button: Delete a subtree.
- Subtree CSV download button: Download the subtrees in CSV format.
- Open/close all subtrees button: Open or close all subtrees.
How to create a test viewpoint tree
Create and edit test viewpoints
Create a new test viewpoint by double-clicking in the edit area.
Edit the name by double-clicking on the test viewpoint. To confirm the edit, press Tab key or Enter key.
By clicking +, you can create a new test viewpoint in a tree-like form. Click a test viewpoint to display ….
Click … to display the context menu. You can edit the name, delete the test viewpoint, or add it to the subtree from the menu.
You can move the position of the test viewpoints by using drag and drop. In the diagram above, you can move Test viewpoint C to a child hierarchy of Test viewpoint 1 by dragging and dropping it.
Click and drag Test viewpoint C to Test viewpoint 1, which will turn blue.
Once you drop it while it's highlighted in blue, Test viewpoint C will be moved to the child hierarchy of Test viewpoint 1.
If you want to change the order of test viewpoints in the same hierarchy, click them you want to move. Then drag them to your desired location and drop them in an empty space.
Create and edit relations
To create a relation from the test viewpoint A to the test viewpoint B, click on the former and drag and drop from the gray dot on it to the latter.
Click … on the selected relation to display a context menu.
You can rename, delete, reverse the relation.
Folding test viewpoint
To fold the test viewpoint, move the mouse cursor over it and click the - icon.
The number after folding indicates the number of folded test viewpoints. To unfold it, click the number icon.
Change the color of the test viewpoints and lines
The color of test viewpoints and lines can be changed.
Click to select the test viewpoints or lines whose color you want to change, then select the desired color from the list of Test viewpoint color or Line color below the editable area.
By clicking any color from the list, the color of the selected test viewpoints or lines will be changed. The colors can be set independently for both the test viewpoint tree and subtrees, and those are not synchronized. When you add a test viewpoint to a subtree, the color of it will carry over.
Other operations
To zoom in or out on the diagram, click + or - on the scaling icon in the lower right corner of the edit area, or hold down Ctrl key and move the mouse wheel up or down over the area. You can also zoom in or out by clicking the zoom factor and entering the number directly or selecting it from a list.
By dragging and dropping the adjust width icon, the width of the test viewpoint tree and subtree edit areas can be freely adjusted.
Download of test viewpoint tree
The test viewpoint trees can be downloaded in PNG, SVG, or CSV format. By clicking Download the test viewpoint tree, the format selection menu will appear. By selecting a format, the test viewpoint tree will be downloaded in the format. The maximum size of the PNG format is 10,000 x 10,000 pixels. Figures outside this size range will not be output. There is no size limit in the SVG format. Download in CSV format is as follows.
When you download the above test viewpoint tree in the CSV format, the output is as follows.
It represents the tree structure of the test viewpoints. The left test viewpoint is the parent and the right one is the child hierarchy. If there are more than one tree structures, output is made in order from the ones that the position of the top hierarchy nodes is upper left. Relations are ignored. Test viewpoints connected only by them are output independently.
How to create subtrees
Click Subtree to add a new subtree.
To add a test viewpoint to the subtree, drag and drop the test viewpoint from the test viewpoint tree. Or select Add to subtree from … of test viewpoint. To add multiple test viewpoints, make multiple selections by clicking test viewpoints with the Shift or Ctrl key in the test viewpoint tree, and then perform the above operation. Dotted lines in the test viewpoint tree indicate test viewpoints used in one or more subtrees.
To edit the name of a subtree, click edit icon that appears when you mouse over the name. You can also edit it by clicking name.
The subtree can be closed by clicking ∧ icon in the subtree.
All subtrees can be closed by clicking the ∧ icon above the subtrees.
Click again to open all subtrees.
In the subtree edit area, you can edit test viewpoints and relations by the same operations as in the test viewpoint tree. However, creating new test viewpoints is not available. Changing the name of the test viewpoint in the subtree will be reflected in the test viewpoint tree. Creating new relations or deleting test viewpoints in the subtree will not be reflected in the test viewpoint tree.
By clicking spread/shape icon in the lower right corner of the subtree, the edit area can be extended to the full height of the window. You can also shrink the edit area to its original size by clicking icon again while it is extended.
To delete a subtree, click Delete icon.
CSV download of subtrees
By clicking Download CSV of the subtrees you can download the subtrees in CSV format.
If you create the above subtrees, you can download them in the following format.
It represents the tree structure of the test viewpoints. The left test viewpoint is the parent and the right one is the child hierarchy. Test viewpoints are output in order, starting from those where the highest hierarchy is positioned at the top. If there are some test viewpoints at the same position vertically, they are output in order from left to right. Relations are ignored. Test viewpoints connected only by them are output independently.
Search for test viewpoint
By entering text into the search field labeled Search for strings you can search for test viewpoints within the test viewpoint tree and subtrees.
Matching test viewpoints are highlighted in blue. If multiple test viewpoints match the search strings, pressing the Enter key will move the focus to the next test viewpoint, while Shift + Enter will move the focus to the previous one.
If a searched test viewpoint is folded, the message “The searched test viewpoint is folded” will appear at its location.