This section describes how to edit your manual test suite.
- In the Test Navigator
double-click the test suite entry to open the TPTP Manual Test editor. The test suite opens in the Overview tab with the two edit areas (TPTP Manual Test and Test Cases) expanded.
- The TPTP Manual Test area
displays the test suite's name, an optional description, test type, and
name of the file containing the test suite. You can edit information
appearing in boxes.
- The Test Cases area lists the
individual test cases that make up the test suite. Click one of the test
cases or More to display the Test Cases
view. Alternatively, click the Test Cases tab to display the Test Cases view.
To change the name or description of a test case, select the test
case and enter new text in the Name or Description boxes. Use the Add and Remove
buttons to add test cases and to remove existing cases. Use the Up and Down
buttons to change the order of cases.
- After you add a loop, you can change the name or description of a loop in the
Name or Description boxes. Also you can use the Number of Iterations box to
specify how many times to execute the loop. Finally, you can collapse all loops
in the Behavior pane by right-clicking in the Behavior pane and selecting
Collapse All.
- You can insert invocations and loops independent of a parent loop by either:
- Selecting the Insert... button and selecting Invocation or Loop.
- Right-clicking in the Behavior pane and selecting or .
You can add invocations and child loops to a parent loop by either:
- Selecting the loop, selecting the Add... button and selecting Invocation or Loop.
- Right-clicking the loop and selecting or
Finally, you can remove an invocation or loop by either:
- Selecting the invocation or loop and selecting the Remove button.
- Right-clicking the invocation or loop and selecting Remove.
- Use the Up and Down buttons to change the order of invocations and loops.
- After you add or insert an invocation, the Test Invocation dialog box appears. The top pane lists test cases in the test suite. The bottom pane lets you navigate to other test suites and test cases in your workspace to be added or inserted as an invocation.
-
After selecting an invocation in the Behavior pane, the Common Properties and
Detailed Properties are displayed and expanded.
- The Common Properties area
displays the invocation's name and an optional description. You can edit
information appearing in boxes.
- The Detailed Properties area displays the
invocation's test case name, test type, and name of the file containing the
test suite. Click on the invocation's test case name hyperlink or the Edit
button to display the Test Cases view. Alternatively, click the Test Cases tab
to display the Test Cases view.
- After selecting a loop in the Behavior pane, the Common Properties and Detailed
Properties are displayed and expanded.
- The Common Properties area displays the
loop's name and an optional description. You can edit information appearing in
boxes.
- The Detailed Properties area displays the loop's number of iterations
that specifies how many times to execute the loop. Use the Number of
Iterations box to specify how many times to execute the loop. You can edit
information appearing in the box. Finally, you can collapse all loops
in the Behavior pane by right-clicking in the Behavior pane and selecting
Collapse All.