Enabling SAP support for pre-existing HCL OneTest UI projects

To use the SAP support for a project that was created using the releases of HCL OneTest UI version 6, you must add two new templates (one for script headers and one for script helper headers) to the project. You will also need to update the build or reference information for the project.

Procedure

  1. In the Functional Test Projects view, right-click the project and select the Properties option.
  2. In the Properties dialog box, select Functional Test Script Templates from the navigation list.
  3. Select the template type Script Helper: Header of the file.
  4. If you have not customized this template, you can upgrade it by clicking the Restore Defaults button.
  5. Add the line import com.rational.test.ft.object.interfaces.SAP.*; in the import section of the template.
  6. After modifying the template, click the Apply button.
  7. Select the template type Script: Header of the file and add the same line in the import section of the template.
  8. Finally, right-click the project again in the Functional Test Projects view and click Reset Java Build Path.

    Each member of your team must perform this last step, as the Java Build Path is local to each project on each machine.