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 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
- In the Solution Explorer, right-click the project and select the Properties option.
- In the Properties dialog box, select the Functional Test Script Templates tab.
- Select the template type Script Helper: Header of the file.
- If you have not customized this template, you can upgrade it by clicking the Restore Defaults button.
- Add the line
Imports Rational.Test.Ft.Object.Interfaces.SAP
in the import section of the template. - After modifying the template, click the Apply button.
- Select the template type Script: Header of the file and add the same line in the import section of the template.
- 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
. - 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.