Run a script from Functional Tester
When you run a script from Functional Tester, it plays back all of your recorded actions, such as starting an application, the actions you perform in the application, verification points, and stopping the application.
Before you begin
To run a script from Functional Tester:
- Configure your application for testing by setting the appropriate Java environment or Web browser to run the application.
- Run the script in any of the following ways:
- In the Functional Tester Projects view, click a script and click Run Functional Tester Script in the Functional Tester toolbar.
- In the Functional Tester Projects view, right-click a script and click Run.
- In the Functional Tester Projects view, click a script and then click Script > Run.
The Script Launch Wizard appears.
- Optional: If you want to prevent the Script Launch Wizard from displaying when you run a test script, do the following:
- Click Windows > Preferences .
- Click Functional Tester > Playback > Logging.
- On the Logging options page, click the Don't show script launch wizard check box.
- On the Select Log page, keep the default log name or select a log name.
- Optional: You can enter run arguments or set a datapool iteration count:
- Click Next to display the Specify Playback Options page.
- In the Run arguments field, enter or select command-line arguments to pass to the script if required.
- In the Datapool Iteration Count field, select a number or Iterate Until Done to specify how many times a test script runs when you run the test script.
- Click Finish to begin running a test script.
The Playback Monitor starts and provides information as the script plays back. If the Playback Monitor does not appear, check the settings in the Playback Monitor Preferences Page.
After the script runs, a log file displays. If a log does not display, in Functional Tester, check the settings in the Logging Preferences Page.
- If you want to provide more granular control of mouse and keyboard actions, see Playing Back Low Level Mouse and Keyboard Actions.
- To pause or stop script playback, see Pausing or stopping script playback.
What to do next
Restoring the test environment before playback
Enable Java environments
Enable web browsers