Call Script tab: Script Support Functions dialog
You use the Call Script tab to insert a callScript command into your Functional Test 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, wherescriptname
is the name you selected in the Script Name field.
- dataset 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 dataset. Type or select the number of records in the dataset, or select Iterate Until Done to access all records in the dataset. For a call script, you can select Use Current Record to use the same record across the call script.
Note: You can also insert a callScript command from the Functional Test 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 Test Script button on the product toolbar, click the Insert Script Support Commands button on the Recording Monitor toolbar, and click the Call Script tab.