Using Library Tests

A library test cannot be executed by itself. It must be called by another test.

To make a test a library test, select the Library Test check box in the Test Editor.

Complete these steps to create a library test from an existing test:

  1. Open an existing test.

  2. Identify repetitive steps within the test, copy them from the existing test, and paste them into a new test.

  3. Select the Library Test check box on the new test.

  4. Save the library test.

  5. Remove the repetitive steps from the original test and replace them with a step that uses a Test.Exec action to call the new test.

  6. Save the original test.