Attaching a file to a script step

Rather than including a lot of detail in a complex step, you can attach a file to a step and then refer to that file during test execution.

About this task

To attach a file to a statement:

Procedure

  1. Create a document or file to attach to a statement.
  2. Select the step to add an attachment to.
  3. From the Manual Test editor toolbar, click the Add Attachment icon (Attachments).
  4. Click Browse, navigate to the file to attach to the step, and then click Open.
    Note: Repeat the previous steps to attach more than one file to the statement.
  5. When you finish attaching files, click Close. Steps that contain attachments are marked with the Attachment icon (Attachment).
    Note: To remove an attachment, click the Add Attachment icon (Attachments), and then click Remove next to the attachment that you want to delete.

Results

Files are attached to the test statement. During a test run, when you reach a step that contains an attachment, that attachment can be opened by clicking the file name link.

Feedback