When you run a script from Functional Tester, it plays back all of your recorded actions, such as the application starting, the actions you performed on the application, and the verification points.
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. For information, see Enabling Java Environments and Enabling Web Browsers.
Run the script in any of three ways:
In Functional Tester, Java Scripting, in the
Functional Tester Projects view, click a script and click Run
Functional Tester Script in the Functional Tester toolbar.
In Functional Tester, VB.NET Scripting, in the Solution Explorer, click
a script and click the Run Functional
Test Script button
in the Functional Tester toolbar.
In Functional Tester, Java Scripting, in the Functional Tester Projects view, right-click a script and click Run. In Functional Tester, VB.NET Scripting, in the Solution Explorer, right-click a script and click Run.
In Functional Tester, Java Scripting, in the Functional Tester Projects view, click a script and then click Script > Run. In Functional Tester, VB.NET Scripting, in the Solution Explorer, click a script and then click Script > Run.
The Script Launch Wizard appears.
On the Select Log page, keep the default log name or select a log name.
If you do not want the Script Launch Wizard to display each time you run a test script, click the Don't show this wizard again check box.
Note: By default, the Script Launch Wizard appears. To prevent the Script Launch Wizard from displaying when you run a test script, do the following: In Functional Tester, Java Scripting, click Windows > Preferences and in Functional Tester, VB.NET Scripting, click Tools > Options. Click Functional Tester > Playback > Logging. On the Logging options page, click the Don't show script launch wizard check box.
If you want to begin running the test script, click Finish.
If you want to 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 the run arguments.
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 the 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. For information about the icons on the Playback Monitor or to turn off the Playback monitor, see About the Playback Monitor.
After the script runs, a log file displays. If a log does not display, in Functional Tester, Java Scripting, check the settings in the Logging Preferences Page. In Functional Tester, VB.NET Scripting, check the settings in the Logging Page.
Note: If you want to provide more granular control of mouse and keyboard actions, see Playing Back Low Level Mouse and Keyboard Actions.
Related Topics for Functional Tester, Java Scripting:
Setting Functional Tester Preferences
Running Scripts from TestManager
Related Topics for Functional Tester, VB.NET Scripting:
Setting Functional Tester Options
Running Scripts from TestManager
Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.