Running a Script from Functional Tester

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:

  1. 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.

  2. Run the script in any of three ways:

The Script Launch Wizard appears.

  1. 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.

  1. If you want to begin running the test script, click Finish.

If you want to enter run arguments or set a datapool iteration count:

    1. Click Next to display the Specify Playback Options page.

    2. In the Run arguments field, enter or select the run arguments.

    3. 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.

    4. 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

Debugging Scripts

Using ScriptAssure(TM)

Related Topics for Functional Tester, VB.NET Scripting:

Setting Functional Tester Options

Running Scripts from TestManager

Debugging Scripts

Using ScriptAssure(TM)

 

Terms of use | Feedback
(C) Copyright IBM Corporation 2002, 2004. All Rights Reserved.