Creating manual test scripts

The Manual Test editor is a rich-text editor for constructing test scripts.

About this task

You can create a test script on the Construction page or create a script from within a test case.

Procedure

  1. Use one of the following procedures to create a test script.
    • To create a test script from the Construction page:
      1. Point to Construction(Construction), and click Create Test Script.
      2. In the Name field, type a descriptive name that identifies the purpose of the script.
      3. For a manual test script, make sure the script type is Manual.
      4. Optional: Enter a description.
    • To create a test script from within a test case:
      1. Open the test case to which to add a test script.
      2. From the Test Scripts section of a test case, click the Add New Test Script icon (Add new test script). The New Test Script dialog box opens.
      3. In the Name field, type a descriptive name that identifies the purpose of the script.
      4. Optional: Type a description.
      5. The type is Manual by default.
      6. Optional: Assign an owner.
      7. Click OK.
      8. Save the test case. This creates the test script shell.
      9. Click the test script name to open it in the Manual Test editor.
  2. To begin typing your statements, click Click to add in the text editor. A new step is added with the default step type as Execution Step. A step is composed of two fields: Description and Expected Results.
    Note: To change the step type to a reporting step, click the arrow next to the Execution Step (Step) icon, and then click Reporting Step (Reporting step).
  3. In the Description field, type the statement. Each step is an individual action.
  4. In the Expected Results field, specify the conditions that must be met for a step to be considered successful.
    Tip: To adjust the column widths of the Description and Expect Results fields, point to the vertical bar between the fields. When the cursor changes to a double arrow, drag the bar right or left.
  5. To continue adding steps, press Enter to move to the next line.
    Note: You can insert a step before or after the current step by clicking the arrow to the right of the Expected Results field, and then clicking Insert New Step Above or Insert New Step Below. You can also use shortcut keys: Use Ctrl+Shift+Enter to insert a new step above the current step and Ctrl+Enter to insert a step below the current step.
  6. To toggle between expanded and compacted views, click the Show/Hide Compact View (Show/Hide Compact View) icon. Only a portion of the steps are displayed when the view is compacted, making it easier to view the entire script.
  7. When you have finished adding steps, click Save at the top of the page to save the test script.
    Tip: To quickly save a script, use Ctrl+S.
  8. Optional: Click the Print View icon (Print view) in the upper, right corner of the test script to display a printable version of the test script.
  9. Optional: Click the PDF icon (Print PDF) to export the test script details to a PDF.
  10. Optional: Click the Lock icon (Lock test artifact) in the upper, right corner of the test script to make the test script read-only. After the test script is locked, only you or an administrator can unlock it. To unlock the test script, click the Unlock icon (Unlock test artifact).
    Note: You will be required to sign this action electronically by providing your password.

Feedback