- Automatically enabled environment for functional testing
From Rational® Functional Tester version 8.2.2 onwards, Rational® Functional Tester automatically enables the environments for functional testing.
- Before you record
Before you can start recording functional test scripts, perform the following setup and configuration tasks:
- Enabling Java environments
You need to enable Java™ environments before you can use Rational® Functional Tester to test Java™ applications. Rational® Functional Tester is shipped with a JRE that is automatically enabled during your installation. The JRE is called "Default JRE." To enable other JREs, or if you install a new JRE, you must run the enabler again.
- Enabling web browsers
To test the HTML applications in Rational® Functional Tester, you must enable web browsers. You can then record and play back tests by using the browsers that you enabled.
- Enabling multi-window support to test Functional HTML tests
You can enable multi-window support for Functional HTML tests to record the actions that you perform in multiple windows of the same browser instance. The playing back of the test finds controls from all the active windows of the browser instance. You can use this capability when an HTML application opens a new browser window after you perform an action from the parent window of the application.
- Preparing for functional testing in the Google Chrome browser
You can use Rational® Functional Tester to test HTML applications in the Google Chrome browser. To do this, you must enable the Google Chrome browser and add the Rational® Functional Tester extension for Google Chrome™ to the browser.
- Enabling the Eclipse non-p2 based applications for functional testing
If the application under test is a non-p2 Eclipse based application, you can enable the Eclipse platform for functional testing using the Eclipse enabler.
- Enabling the Eclipse p2- based applications for functional testing
If the application-under-test is based on p2-based Eclipse, you must enable the Eclipse platform for testing using the Eclipse Software Updates feature.
- Enabling stand-alone Standard Widget Toolkit applications
You must enable stand-alone Standard Widget Toolkit (SWT) support before using Rational® Functional Tester to test SWT applications in the application under test.
- Configuring applications for testing
You must configure your Java™, HTML, VB.NET, SAP GUI, Flex or Windows® applications for functional testing by providing the name, path, and other information that Rational® Functional Tester uses to start and run the application. You use the Application Configuration Tool to configure applications.
- Configuring Java environments for testing
You need to configure your JREs for Java™ testing with Rational® Functional Tester. This provides path, run options, and other information that Rational® Functional Tester needs to access and use your JREs. You use the Java Environments tab of the Enable Environments dialog box to do this.
- Configuring browsers for testing
You need to configure your browsers for HTML testing with Rational® Functional Tester. This provides name, path, and other information that Rational® Functional Tester needs to access and use your browsers. You use the Web Browsers tab of the Enable Environments dialog box to do this.
- Browser enablement diagnostic tool
The Browser Enablement Diagnostic Tool is used to diagnose problems you might have with enabling your browser for HTML testing. The tool will diagnose the enablement problem and report how to solve the problem.
- Enabling the Java plug-in of a browser
The Oracle Java™ plug-in of your browser(s) must be enabled in order for some applets to be tested, and for the View Results link that launches the Verification Point Comparator from the HTML log to work properly. If you get an error regarding the plug-in during HTML testing, or when trying to launch the Comparator, use the following steps to fix the problem.
- Adding references to external resources
Functional test scripts or projects may refer to or use external resources like the DLLs in .Net IDE or JAR files in Eclipse IDE. To enable the scripts or projects to use these files, you must add references to these files in Rational® Functional Tester.
- Setting up the environment for testing AJAX-based web applications
You can test AJAX-based applications in two different ways; by setting the Auto Trace option to true or by setting the Auto Trace option to false. If you set the Auto Trace option to false, you must use the Rational® Functional Tester APIs for AJAX in the script by manually inserting them.
- Enabling SAP client and server
To use Rational® Functional Tester to test SAP applications, you must enable the SAP client and SAP server.
- Enabling SAP GUI for HTML applications for functional testing
Objects in SAP GUI for HTML applications contain many dynamically-changing properties, for example .url, .href, and .id. While playing back functional test scripts against these applications, the value of one or more object recognition properties may change causing a high ScriptAssure score that results in script failure. Rational® Functional Tester provides a mechanism to convert the recognition property value to a regular expression for those values that change dynamically. Finding each object's dynamic recognition property and converting it into a regular expression becomes cumbersome while testing SAP GUI for HTML applications.
- Enabling applications with WebDynPro controls for functional testing
When you playback functional test scripts to test HTML applications with WebDynPro controls, you may get object not found exception or a weak recognition warning even if the control exists.
- Enabling the GEF application
You must enable the GEF support before using Rational® Functional Tester to test GEF objects on the application under test.
- Enabling response time breakdown
You can enable response time breakdown to see how much time is spent in each part of the application as the test runs. To collect response time breakdown, the data collection infrastructure must be installed and running on all computers that are used in the distributed application under test.
- Flex applications testing process
The testing process is based on the tasks that Flex developers and testers perform. The process for automating functional tests of Flex applications differs, depending on the way developers create the application under test.
- Importing and exporting configuration and customization files
You can configure and customize files in the configuration and the customization directories. The configuration files contains information such as the application that must be configured for testing. However, the customization files contain information about the external jar files used in your project, customization of any recognition properties, and third-party proxy extensions. You can export these files and later deploy them using the export and import utility. The default location for the configuration and customization file is C:\ProgramData\IBM\RFT . For example: If you want to use the same configuration and customization files on different computers, you can archive these files and later deploy them using this utility.
- Setting preferences
You use the Preferences dialog box to customize Rational® Functional Tester in a number of different areas, such as settings for time options; colors for the Verification Point Editor, the Verification Point Comparator, and the Object Map Editor; highlight color for test objects; operating system; playback; delays; log; playback monitor; ScriptAssure(TM); recorder; recording monitor; and the workbench.