To use the Siebel support for a project that was created
using the earlier versions of Rational® Functional Tester you must
add two new templates; one for script headers and one for script helper headers to the functional
tester project.
About this task
To enable Siebel support for pre-existing functional test
project:
Procedure
- Start Rational Functional Tester
- In the Functional Test Projects view, right-click the project
and select the Properties option
- In the Properties dialog box, select Functional
Test Script Templates from the navigation list
- 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 import com.rational.test.ft.object.interfaces.siebel.*; 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.
- If you are using the integrated Rational ClearCase® support,
you must check in the template file after you edit it, so that other
members of your team can use them. To do this, right-click the project
in the Functional Test Projects view, and click .
A
list of elements that you have checked out are displayed.
- Select the two templates ft_script.java.rfttpl and ft_scripthelper.java.rfttpl,
right-click and select the Check in option.
Your other team members can update their project by right-clicking
the project in the Functional Test Projects view and clicking .
- 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.