This topic explains how to add standard tests. Standard tests are executed according to the designated test suite order and logic (for example, once Test 1 completes or succeeds, Test 2 starts).
To add a standard test case to a test suite:
- Select the Test Case Explorer tree node that represents the Test Suite you want to extend.
- Click the Add Test or Output toolbar button.
- The Add Test wizard opens and displays a list of available tools.
- To learn about a particular tool, select it and review the description that displays.
- In the left pane, select Standard Test.
- In the right pane, select the tool you want to use.
- Click Finish.
- Double-click the node added for that tool, then review and modify settings as needed in the tool configuration panel that opens on the right.
- Most settings vary from tool to tool.
- If an Input Tab is shown in the tool configuration panel, you need to specify what text or file you want the tool to operate on. To do this, complete the tab as follows:
- Text: Use this option if you want to type or copy the document into the UI. Select the appropriate MIME type, enter the text in the text field below the Text radio button.
- File: Use this option if you want to use an existing file. Click the Browse button to choose a file. Check the Persist as Relative Path option if you want the path to this file to be saved as a path that is relative to the current configuration file (rather than a full absolute path). When this option is enabled, Eclipse variables will be inserted as needed—for example,
{project_loc:MyProject}/ReferencedTest.tst
). Using relative paths makes it easier to share tests across multiple machines.