Changing the default script helper superclass
By default, all Functional Test scripts extend the
RationalTestScript class, and thereby inherit a number of methods (such as callScript). Advanced
users may want to create their own helper superclass which extends RationalTestScript and can add
additional methods or override the methods from RationalTestScript.
About this task
You can specify a helper superclass that Rational® Functional Tester will use whenever you create or record a script in your project. This default superclass is specified in the Functional Test Project Properties page. You can also specify a helper superclass for an individual script in the Functional Test Script Properties Page. Once a script has been created, it retains the reference to the default superclass as its own helper superclass.
To change the default script helper superclass for a project:
Procedure
Results
Note: If you change your superclass and then want to reset
it back to RationalTestScript later on, you can either type RationalTestScript
in the superclass field or just clear the field. Leaving this field
blank resets the script so that it uses RationalTestScript.
To change the script helper superclass for an individual script:
Procedure
Results
Note: If you change your superclass and then want to reset
it back to RationalTestScript later on, you can either type RationalTestScript
in the superclass field or just clear the field. Leaving this field
blank resets the script so that it uses RationalTestScript.