Importing a Selenium or Appium test into a Test Workbench project
To work with an existing Selenium or Appium test, import it into a project in the Web UI Test perspective.
Procedure
- In the Web UI Test perspective, click Import from the File menu.
- In the Import dialog box, expand General, select File System and then click Next.
- Specify the directory in which the Selenium or Appium test
resides. Click Browse.By default, the Selenium or Appium test is imported into the Test Workbench project folder, displayed in the Into folder field.
- The contents of the directory you selected are displayed. Select the components you want to import.
- To organize the imported test components under a top-level folder under the Test Workbench project, select the Create top-level folder check box.
- Click Finish.The imported Selenium or Appium test is displayed under the External Tests folder under the Test Workbench project in the Test Navigator, in the Logical View.Note: If some of the tests are not displayed in the External Tests folder, the classpaths may not have been set properly. Ensure that the correct classpaths have been set and that the project compiles successfully. To see the compile errors, ensure that the Show Java Content option in the Test Navigator is enabled.
- Run, view or modify the imported Selenium or Appium test as required.