Previous Topic: Add an AssertionNext Topic: Add an Assertion from an HTTP Response


Add an Assertion Manually

To add an assertion manually, select the assertion type from a list and enter the parameters for the assertion. Manual assertions are of two types:

 

To add a global assertion:

  1. Open a test case and in the right panel click the Global Assertions element.

You can apply the following types of global assertions:

The following graphic shows a global assertion that is applied to the multi-tier-combo test case.

Screenshot of multi-tier-combo case with Global Assertion added

 

To add a step assertion:

  1. Complete one of the following actions:

    The following graphic shows step assertions that are applied to the Add User step in the multi-tier-combo test case.

    Screenshot of multi-tier-combo case with Step Assertions added

  2. To add an assertion, click Add Icon - plus sign on the assertion toolbar.

    Or, you can right-click a step in the model editor to add an assertion. The assertion panel appears and shows a menu of assertions that can be applied to the step.

    Screenshot of Assertions menus and submenus

 

To select and edit an assertion:

  1. Complete one of the following actions:
  2. To open the assertion editor, double-click the assertion. The editor is unique for each type of assertion.