Enabling SAP support for pre-existing projects in the Visual Studio IDE

To use the SAP support for a project that was created using the releases of HCL DevOps Test UI (Test 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 Solution Explorer, right-click the project and select the Properties option.
  2. In the Properties dialog, select the Functional Test Script Templates tab.
  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 Imports 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. Select the two templatesft_script.vb.rfttpl and ft_scripthelper.vb.rfttpl , right-click and select the Check in option.

    Your other team members can update their project by right-clicking the project in the Solution Explorer and clicking Team > Get Latest Version.

  9. Finally, right-click the project again in the Solution Explorer and click Reset Custom Reference.

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