Select Script Assets page

You use the Select Script Assets page to select the type of object map, helper superclass or helper base class, test dataset, and dataset iterator class you want to use with the Functional Test script you are creating.

The Select Script Assets page has the following controls:

Test Object Map -- Opens Private Test Object Map to indicate that the script test object map is private or displays the name of the shared test object map.

Helper Superclass -- Enter the fully qualified class name of your custom helper superclass in this field. Note that your helper superclass must extend RationalTestScript.

If you change your superclass or base class and reset it to RationalTestScript, you can either type RationalTestScript in the superclass or base class field or clear the field. Leaving this field blank resets the script so that it uses RationalTestScript.

Test dataset -- Click Browse to change the dataset associated with a script.

dataset Record Selection Order -- Determines how a test script accesses records in its associated dataset when you play back the test script. Click the dataset Record Selection Order arrow to change the dataset record selection order.

Types of dataset record selection orders:

Sequential -- Makes a test script access records in the dataset in the order that they appear in the dataset. This is the default dataset record selection order.

Random -- Makes a test script access records in the dataset randomly. A random dataset record selection order accesses every record in the dataset once.

Set as test asset default for new scripts in this project -- Sets the test object map or the helper superclass as the default. Functional Test uses this default when you create a Functional Test script in the current project.

  • Test Object Map -- Sets the map named in the Test Object Map field as the default. To change the default test object map in the Projects view, right-click a test object map and select Set Test Object Map as Default. To remove the default designation, right-click and click Clear As Project Default.
  • Helper Superclass -- Sets the fully qualified class name of your custom helper superclass as the default.

Back -- Returns to the previous page.

Finish -- Creates the script, using the test object map you selected, and adds it to the Functional Test Projects view.

To open: When recording, click Next in the Record a Functional Test Script dialog box. When creating a new script without recording, click Next in the Create a New Functional Test Script dialog box.

s