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. Enter the markup code to indicate the type of line you are entering. See Test case and manual test run markup codes.

Markup codes must be at the beginning of a line.

4. 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 manual 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 manual test runs, the field code is replaced with Windows in the manual 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.

5. 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 manual test runs are generated.

6. Click the Capture Screen button to capture and attach a screenshot. See Capturing screens.

7. Click the Add Attachment button to add a file or source control attachment to provide additional information for the test. See Attaching files to test case steps.

8. 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 manual test runs in detail grid view from test cases with errors.

9. Save the test case.

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