Lesson 1: Set up IBM 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, run the enabler and configure your environments and applications. For more information about these setup tasks, see the Getting Started with 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.
Set logging options
IBM Rational Functional Tester provides several logging options. For this tutorial, use the HTML log.
- Click Window > Open Perspective > Other to open the functional test perspective.
- In the Open Perspective dialog box, select the Functional Test option.
- To verify that HTML logging is set, click Window > Preferences.
- In the left pane of the Preferences window, expand Functional Test > Playback, and click Logging.
- Select html as the Log type, and then click OK.
This setting opens the HTML log automatically after you play back a script.
Create a functional test project
Before you can start recording the test scripts, create a functional test project.
- Click File > New > Functional Test Project.
- In Project name, type SimplifyTutorial (no spaces).
- In Project location, type C:\RFTproject. The directory is created.
- Do not select the Add the project to Source Control check box if it is displayed.
- Do not select the Associate the Functional Test Project with current Rational Project check box if it is displayed.
- Click Finish.
You can see the SimplifyTutorial project in the Functional Test Projects view, which is the left pane in the Functional Test perspective.
Enable simplified scripting and application visuals feature
You can generate simplified test scripts and Java test scripts. With the simplified test scripts and application visuals feature enabled, you can switch to Java scripting, if required but not vice versa. Before you start recording the scripts, enable the simplified scripting and the application visual features.
- To verify that the feature is enabled, click Window > Preferences.
- In the left pane of the Preferences window, expand Functional Test, and then click Simplified scripting.
- On the Simplified Scripting page, select Enable Simplified Scripting.
- On the Application Visuals page, select the Enable capturing of application visuals, Insert Data Driven Commands, and Enable capturing of verification on test data options.
- Click Apply, and then click OK.