Call Script tab: Script Support Functions dialog box
You use the Call Script tab to insert a callScript command into your Functional Tester script.
The Call Script tab has the following controls:
- Script Name
- Lists all the scripts in the current project.
- Insert Code
- Inserts the callScript(" scriptname") code in the current script at the cursor location, where scriptname is the name you selected in the Script Name field.
- Datapool Iterator Count
- Determines how many times a test script runs when you play back the test script. Specify the count according to the number of records you have in the datapool. Type or select the number of records in the datapool, or select Iterate Until Done to access all records in the datapool. For a call script, you can select Use Current Record to use the same record across the call script.
You can also insert a callScript command from the Functional Tester Projects view or script it manually.
To open: If recording, click the Insert Script Support Commands button on the Recording Monitor toolbar and click the Call Script tab. If editing, click the Insert Recording into Active Functional Tester Script button on the Functional Tester toolbar, click the Insert Script Support Commands button on the Recording Monitor toolbar, and click the Call Script tab.
Calling a script from a functional test script