Functional Test script properties page

Use this page to change your script helper base class, test datapool, or datapool iteration for an individual script.

HCL OneTest UI uses a default helper base class for all the scripts you create in a project. This base class is listed in the Functional Test Project Properties Page. You can use a different base class for an individual script by changing it in this Script Properties Page.

By default, all Functional Test scripts extend the RationalTestScript class and inherit a number of methods (such as callScript). You can create your own helper base class, which can add additional methods or override the methods from RationalTestScript. Use this properties page to change the default helper base class for the selected script.

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

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

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

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

Datapool Record Selection Order -- Specifies how a test script accesses records in its associated datapool when you play back the test script. Click the Datapool Record Selection Order arrow to change the test datapool iterator.

Types of datapool iterators:

  • Sequential -- Makes a test script access records in the datapool in the order that they appear in the datapool. This is the default datapool iterator.

  • Random -- Makes a test script access records in the datapool randomly. A random iterator accesses every record in the datapool once.

To open: In the Solution Explorer, select a script, right-click, and click Properties.

Related Topics:

About Changing the Default Script Helper Base Class

Changing the Datapool Iterator

Changing the Default Script Helper Base Class for a Project

Changing the Default Script Helper Base Class for a Script

Select Helper Superclass/Select a Script Helper Base Class Dialog Box

 

Feedback