Create a sequential test using multiple testsheets
- Last Updated: October 26, 2026
- 2 minute read
- Corticon
- Version 7.1
- Documentation
Multiple Rulesheets and Ruleflows can be tested in an integrated scenario by linking them together in a single Ruletest. This simulates a complex series of decisions or a part of a business process. Assume we want to test a Rulesheet, a Ruleflow, and another Rulesheet in sequence as Cargo 1, Cargo 2 and Cargo 3.
-
Create a Ruletest in the project, name it
cargo.ert, and chooseCargo.ersas the test subject. -
Add data, and then execute the Ruletest to generate data in the Output panel.
-
Add a new Testsheet by choosing Ruletest > Testsheet > Add Testsheet, choose the file
cargo2.erf, and then name it Cargo 2. -
Add another new Testsheet by choosing Ruletest > Testsheet > Add Testsheet, choose the file
flightPlan.ers, and then name it Cargo 3. -
Click on the Cargo 3 tab, and then choose Ruletest > Testsheet > Link to previous testsheet. The tab is decorated with a red square and the adjacent tab is decorated with a blue arrow. The data from the Output panel of the previous Testsheet displays in the Input panel of the new Testsheet.
-
Click on the Cargo 2 tab, and then choose Ruletest > Testsheet >Link to previous testsheet. The tab's blue arrow is now decorated with a split, and the adjacent tab is decorated with a green arrow. The data from the Output panel of the previous Testsheet displays in the Input panel of the new Testsheet. Here is how the tabs will look:

Repeat for as many new Testsheets as needed to model the sequence. You can execute one sheet at a time by selecting
from the toolbar, or execute all at once by selecting Ruletest > Run All Tests.