Adding templates for new elements

You can add templates for new test element that you plan to write by hand.

The editor enforces the test hierarchy: tests contain pages, pages contain requests, and requests contain authentication blocks. You can use either the Add or Insert button to add a template, which differ as follows:
  • Add adds the template to the bottom of the selected element: page to the bottom of the test, request to the bottom of the selected page, or authentication block to the end of the selected page request.
  • Insert inserts the template at the point of the cursor: page before the selected page, page request before the selected request, or authentication block at the top of the selected page request.

To add a page, page request, or basic authentication template to a test:

  1. Open the test. If you are writing a test completely by hand, you can create an empty test as explained in Creating an empty test.
  2. Click the parent or sibling element.
  3. Click Add or Insert, and select HTTP Page, HTTP Request, or Basic Authentication.

Parent topic: Adding elements to a test

Terms of use | Feedback
(C) Copyright IBM Corporation 2005. All Rights Reserved.