User Guide | 2019.2

Entering test case steps in text view

Use text view to enter test case steps as text. Markup codes indicate the type of text in each line.

1. Click the Steps tab when you are adding or editing a test case.

2. Click the Text tab.

3. Select a Display test runs generated for this test case option to indicate how steps are displayed in test runs generated from the test case.

Note:  This option may not be available depending on the test run compliance settings.

4. Enter the markup code to indicate the type of line you are entering. See Test case and test run markup codes.

Markup codes must be at the beginning of a line.

5. Enter steps, expected, results, comments, or other information after the markup code.

Tip:  You can use test variant field codes in test case fields and steps. When you generate test runs, field codes are replaced with the variant values. For example, if you have an Operating System variant with a %Z_OSVARIANT% field code and the Windows value is used to generate test runs, the field code is replaced with Windows in the test run. To add a variant field code, right-click the field or step and choose Insert Variant Field Code. Select a field code and click OK to add it.

6. Click Insert Shared Steps to add steps from another test case. See Adding shared steps from other test cases.

All steps from the shared test case are included when test runs are generated.

7. Click the Capture Screen button to capture and attach a screenshot. See Capturing screenshots.

8. Click the Add Attachment button to add a file or source control attachment to provide additional information for the test. See Adding attachments to test case steps.

9. If the test case has syntax errors, which are displayed in red, manually fix the errors or click Correct Steps to automatically fix them. See Correcting test case step errors.

You cannot generate test runs in detail grid view from test cases with errors.

10. Save the test case.

  • Click OK to save the changes.
  • Click Apply to save and continue working on the test case.