Adding a With step

You can add a container for a new page, section, or tab on the web page by using the With step from the UI catalog.

Before you begin

Procedure

  1. Click the Edit button displayed on the Test Editor page.

    The Edit button appears only when no active edit branch is selected.

    Alternatively, right-click the test in the test navigator panel and select Edit.

    The Edit branch dialog is displayed.
    If the Edit branch dialog is not displayed, then go to step 2.
  2. Drag and drop the With element under any test step as required from the UI catalog in the Catalog tab.
  3. Click the With step.
    The step details pane is displayed.
  4. Perform the following steps in the step details pane:
    1. Enter a description of the container in the Note text box.
    2. Enter a title to identify the container in the Context text box.
  5. Click the Save icon to save the modifications.

Results

You have added a With step from the UI catalog to add user actions in a Web UI test.

What to do next

You can run the test and view the results. See Running a Web UI test.