Show Test Scripts in Compartments

Return to Introduction  Previous page  Next page

Any element that is capable of displaying a compartment can be used to show test scripts in a diagram. To make use of the feature the element must have an attached test. To use this feature follow the steps below:

1.Open a diagram containing the element with the attached test items.
2.Double-click on the diagram background to display the Diagram Properties dialog. Click on the Elements tab.
 
DiagramPropertiesElementsTab
 
3.In the Show Compartments panel, select the Testing checkbox.
4.Click on the OK button to save the setting.

The tests now appear as an item in the test scripts compartment of the diagram element.

Example of Class Test Script