How to Add Advanced References to the Scripting Tool

Last Updated: 2011-06-23

This topic explains how you add references in the scripting tool if the default references the Interactive Functional Test Software imports into the scripting tool does not meet your needs.

To add a reference to the scripting tool:

  1. Open the scripting tool by clicking View >> Script Generator.

  2. In the scripting tool, click Edit >> Add Advanced References. This opens a dialog box where you can manage both the system and the user references. For both types of references, you have the following options:

  1. Add - This button prompts you for the name of the reference you wish to add. Type in the name or browse to the right location and click OK to add it to the reference list.

  2. Delete - This button deletes the selected reference.

  3. Edit - This button allows you to change the name and/or location of the reference.

  4. Test - This button attempts to load the selected reference.

  1. Import the new references into the scripting tool.

  2. Declare the function.

Advanced Reference Example:

The following example script uses Steema.TeeChart.dll to create a chart.

First, since this reference is not automatically included in the Interactive Functional Test Software template script and therefore it was added via Add Advanced References.

Adv_References.jpg

Next, the references were imported into the script and the functions are declared as shown in the code below (gray background is what is automatically inserted from the template that the scripting tool uses).

Adv_Reference_Example.jpg

The results from this script are shown in the figure below.

Adv_Reference_Result.jpg

 

 

Related Topics