About Cause Flow Diagram Method
Cause flow diagram method is a technique to extract test cases by creating a cause flow diagram and generating a decision table based on the diagram. You can find conditions and test cases that are not considered in the specifications of the system under test by graphically representing the specifications and organizing complex logical relationships. For more information on cause flow diagram method, please check this document.
About Cause Flow Diagram Method in GIHOZ
- Download the cause flow diagram: You can download the created cause flow diagram.
- Error display: When the decision table cannot be created, the necessary operation is displayed.
- Drawing palette: You can drag and drop the Equivalence partitions and the Result placed here to add them to the drawing area on the right.
- Cause flow diagram drawing area: You can create a cause flow diagram by dragging and dropping equivalence partitions and results from the drawing palette on the left.
- Combination method: You can select the combination methods of creating a decision table.
- Generate decision table button: You can create a decision table using the selected combination method.
- Decision Table: It appears after you click the generate decision table button.You can edit it or download it in the same way as the screen of Decision Table Testing.
- Generate test cases button: Generate test cases from the decision table.
How to create a cause flow diagram
Add Equivalence partitions and Results
Add an Equivalence partitions and a Result to the drawing area by dragging and dropping them from the left palette to the right area.
Edit Equivalence partitions and Results
Add an Equivalence partition or an Other value by clicking … on Equivalence partitions or right-click it.
You can edit the name of Equivalence partitions, Equivalence partition, Other value, and Result by double-clicking their name, clicking … on them, right-clicking them, or pressing F2 key.
There are two types of Result: white circles for valid results and gray circles for invalid results.The former represents the result when the test object executes the expected process, and the latter represents the result when the test object does not execute the expected process.To change valid/invalid, click Change valid or Change invalid from ….Valid/invalid of the result does not affect the creation of the decision table described below.
To move Equivalence partitions or Results within the drawing area, hover the mouse over the name of them, then the mouse pointer will change to a crossed arrow icon. In this state, you can move them by dragging and dropping them.
Create and edit flows
By dragging the edge of Equivalence partition or Other value and dropping it on another element, you can draw a flow from them to Equivalence partitions, Equivalence Partition, Other value, or Result.
By dragging the edge of Equivalence partitions or Result and dropping it on another element, you can draw a flow from element to them. You cannot draw a flow from Equivalence partitions or Result to another element.
You can create a decision table after you draw a cause flow diagram which has one or more flow from some element to Result as shown in the image.
You can set a specific name to a flow.To set the name, double-click * icon on the flow or select the flow and press F2 key.If you set the name, only patterns that go through the flows with the same name will be output to the decision table.
If you want to change the order of Equivalence Partition or Other in Equivalence partitions, click … and then click Move Up or Move Down. To zoom in or out on the diagram, hold down Ctrl key and move the mouse wheel up or down on the editable area, or click area and press + or - key.
Download the cause flow diagram
The cause flow diagrams can be downloaded in PNG or SVG format. By clicking Download cause flow diagram, the format selection menu will appear. By selecting a format, the cause flow diagram 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.
How to create a decision table
The Minimum combination covers all the elements that the flows pass through. The All combination covers all combinations of the elements that the flows pass through. To create a decision table, select the combination method and click Generate decision table. This requires at least one flow that leads to Result. In addition, the connections between the equivalence partitions must be less than 7 levels. If the connections are more than 7 levels, reduce them to less than 7 levels before generating the decision table.
You can edit the generated decision table in the same way as the screen of Decision Table Testing. Please refer to the help of Decision Table Testing for details.
To download the decision table as a CSV file, click Download CSV.
How to generate test cases
By clicking Generate test cases, you can generate test cases from the decision table.
The generated test cases will be displayed and you can edit them. You can download the test cases as a CSV file by clicking Download CSV.