Rational Functional Tester
Rational Functional Tester (RFT) is an advanced and object-oriented automated functional and regression testing tool that enables you to test Java, HTML, Microsoft® VB.NET, and Microsoft® Windows applications running on the following platforms: Microsoft® Windows XP Professional, 2000 Professional, 2003 Server, and Red Hat Linux® (all functions except recording).
This Rational Functional Tester is a new functional testing application that provides a unique record, playback, and scripting environment targeted at testers in the Web and Java environment. Most of the time, you will work in edit mode. Recording and playback modes are significant because they are not passive about what you do with the keyboard and mouse of your computer.
You can quickly generate scripts by recording tests against an application, and you can test any object in the application, including the object’s properties and data. RFT is the next generation of functional testing automation tool from Rational. It uses Java and VB.NET as its scripting languages. It includes ScriptAssure technology and pattern-matching capabilities to improve test script resiliency in the face of frequent application user interface changes. It incorporates support for version control to enable parallel development of test scripts and concurrent usage by geographically distributed teams.
Features of Rational Functional Tester:
• RFT is a standalone product that integrates with other Rational products.
• In this RFT, automatic script generation based on user actions performed in the application-under test (AUT).
• In RFT, Test object maps are created automatically and it lists AUT test objects and their recognition properties. The test object map provides a quick way to add objects to a script. Also, you can update information in one central location, and any scripts that reference that object will share the updated information.
• Verification points of test objects including object properties and data will be done.
Script Recording and Playback Process:
In RFT, the testers face challenge with script maintenance as the user interface changes to the application causes automated test scripts to “break.” Testers must constantly update scripts to handle minor application changes. Testers may make mistakes when they update scripts.
To overcome the challenge with script maintenance, ScriptAssure technology makes test scripts more resilient to application changes. Rational’s ScriptAssure test playback technology provides the industry’s first self-correcting object recognition. This enables Rational Functional Tester to find target objects automatically in Java and Web-based applications without the need for human intervention and time-consuming script updates.
The Rational Functional Tester interface:
Navigating functional tester interface: We can start by clicking Start > Programs > IBM Software Development Platform > IBM Rational Functional Tester > Java Scripting. If you have IBM Rational TestManager installed, the IBM Rational Test Login dialog box opens.
Working with a Functional Test project
Functional Test project is a collection of related test assets including scripts, object maps, verification point baseline files, script templates, and test datapools. Before recording scripts, you must create a Functional Test project. Test logs are stored in the same folder as the project folder in their own logs folder.
Setting up the Test Environment:
In any kind of testing, it is important to have a consistent context for each testing cycle. It is especially important for automated testing in a team environment. It is important that the person coordinating the execution of the tests ensures that the test run is set up to execute the test in the established order using the appropriate data files and starting at the appropriate AUT state.
After recording done, you need to reset this initial state before you play back (execute) your script. Any applications and windows that are open, active, or displayed when you record the script must be open, active, or displayed when you play back the script. Also, any relevant network settings, active databases, and system memory must be in the same state at playback as when you recorded the script. You must enable your Web browsers before you can use Rational Functional Tester to test HTML applications. You must enable your Java™ Runtime Environment (JRE) before you can use Rational Functional Tester to test Java applications.