Creating a test from a template

After you create a test template, you can quickly create new tests from it.


  1. Select the operation in which to create the test.
  2. Right-click the operation or folder and select New > Tests > Test from Template from the menu, or click the arrow next to the Test icon in the Test Factory toolbar and select Test from Template.
    Note: If at least one test is already created, you can right-click the Tests folder or one of the existing tests and select New > Test from Template.
  3. Select the template to use from the project resource dialog that is displayed.
  4. Provide a name for the new test when prompted, then click OK.


The new test is opened for editing. For more information, see Changing the contents of a test.
Tip: You can also create a new, empty test in the Test Factory perspective and drag a template onto the test.