Working with Java test scripts
- Java scripting
When you record a functional test script to test an application, simplified scripts are generated and displayed in the Script editor. The corresponding Java test script is displayed in the Java editor. - Recording a Java test script
Java™ scripts are generated when you work with the simplified scripts. You can switch to Java scripting using the Insert Java snippet and Insert Java module features in the simplified script editor. - Creating a new test script without recording
As an alternative to recording, you can create a script to enter Java code manually. - Recording in an existing script
In a functional test script, you can start recording at the cursor location. By starting to record in a script, you can start applications, insert verification points, and add script support functions. - Recording scripts to test HTML applications
Record scripts to test HTML applications on a single browser as you record any functional test script. - Recording cross-browser and cross-platform scripts
This topic provides an overview of the procedures to set up your environment to record cross-browser scripts. - Displaying test object information
You use the Test Object Inspector to examine graphical components visible in the running application and display information about those objects, such as parent hierarchy, inheritance hierarchy, test object properties, non value properties, and method information. - Getting a property value
You can get a single property value for the selected object while you are recording. It puts a getProperty into your script and returns the value during playback. - Setting a wait state for an object
This feature is used to set a wait state for an object during playback to check for its existence. This is useful when waiting for an object right after starting your application, or after other actions that may take a long time. - Recording and playing back double byte characters on Chinese systems
The following information pertains to record and playback of DBCS on Chinese systems. - 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. - Java scripting
When you record a functional test script to test an application, simplified scripts are generated and displayed in the Script editor. The corresponding Java test script is displayed in the Java editor. - Recording a Java test script
Java scripts are generated when you work with the simplified scripts. You can switch to Java scripting using the Insert Java snippet and Insert Java module features in the simplified script editor. - Creating a new test script without recording
As an alternative to recording, you can create a script to enter Java code manually. - Recording in an existing script
In a functional test script, you can start recording at the cursor location. By starting to record in a script, you can start applications, insert verification points, and add script support functions. - Recording scripts to test HTML applications
Record scripts to test HTML applications on a single browser as you record any functional test script. - Recording cross-browser and cross-platform scripts
This topic provides an overview of the procedures to set up your environment to record cross-browser scripts. - Displaying test object information
You use the Test Object Inspector to examine graphical components visible in the running application and display information about those objects, such as parent hierarchy, inheritance hierarchy, test object properties, non value properties, and method information. - Getting a property value
You can get a single property value for the selected object while you are recording. It puts a getProperty into your script and returns the value during playback. - Setting a wait state for an object
This feature is used to set a wait state for an object during playback to check for its existence. This is useful when waiting for an object right after starting your application, or after other actions that may take a long time. - Recording and playing back double byte characters on Chinese systems
The following information pertains to record and playback of DBCS on Chinese systems. - 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.