Lesson 1: Set up Rational® Functional Tester
IBM® provides a Java™ Runtime Environment (JRE) that is installed and enabled for testing Java™ applications. Use this JRE for the tutorial. When you want to test your own Java™ or HTML applications, you must run the enabler and configure your environments and applications. For more information on these set-up tasks, see the Getting Started with Rational® Functional Tester wizard in the First Steps section of the product Welcome. For now you do not need to do anything to use the preconfigured JRE to continue.
About this task
Start Rational® Functional Tester and then perform the following tasks before you record your first test script.
Set logging options
About this task
Rational® Functional Tester provides several logging options. We will use the HTML log.
Procedure
- Click Functional Test option. to open the functional test perspective. In the Open Perspective dialog box, select the
- To verify that HTML logging is set, click .
- In the left pane of the Preferences window, expand Functional Test, then Playback, and click Logging.
- Select html as the Log type.
- Click OK.
Results
This setting opens the HTML log automatically after you play back a script.
Disable simplified scripting and application visuals feature
About this task
Rational® Functional Tester provides you the option to generate simplified test scripts and Java test scripts. If you are familiar with Java scripting, you can disable the simplified scripting and application visuals feature and start recording the test script. In this tutorial, we will work with Java test scripts. Before you start recording the scripts, disable the simplified scripting and application visual features.
Procedure
- To verify whether the feature is enabled, click .
- In the left pane of the Preferences window, expand Functional Test, then Simplified scripting.
- In the Simplified Scripting page, clear the Enable Simplified Scripting checkbox.
- In the Application Visuals page, clear all the options listed in the page for the application visuals.
- Click Apply and then OK.
Create a functional test project
About this task
Before you can start recording, you must create a functional test project.
Procedure
- In the Rational® Functional Tester menu, click .
- Under Project name, type FTtutorial (no spaces).
-
Under Project location, type
C:\FTproject.
Rational® Functional Tester creates this directory.
- Click Finish.
Results
The FTtutorial project is now visible in the Functional Test Projects view, which is the left pane in the Functional Test perspective.