Adding a Selenium or Appium test to a compound test

The product provides a one-stop testing environment to work with different types of tests such as Selenium, Appium, Web UI, and functional tests. You can combine such different types of tests to form a single larger workflow, which is called a compound test. When you run a compound test, its constituent tests are run in the defined sequence. You can add Selenium tests to a compound test in the UI Test perspective.

Before you begin

Before adding a Selenium or Appium test to a compound test, ensure that you have imported the test into a Test Workbench project in a workspace.

Procedure

  1. In the Test Navigator, double-click the compound test to which you want to add the Selenium or Appium test.
    The contents of the compound test are shown in the Compound Test Contents panel in the Compound Test editor.
  2. Select the compound test in the Compound Test Contents panel in the Compound Test editor, and do one of the following:
    • Click Add to add a Selenium or Appium test as the first element in the compound test.
    • To insert a Selenium or Appium test before a specific element in the compound test, select the element and click Insert.
    The Select Tests dialog box is opened, and the tests found in the Eclipse Client workspace are displayed.
  3. Select the Selenium or Appium test you want to add to the compound test, and click OK.
    The Selenium or Appium test is added to the compound test, and is displayed as part of the contents of the compound test. When you click the Selenium or Appium test in the compound test element list, its details are displayed in the Compound Test Element Details panel in the Compound Test editor.