The Rational functional Tester (RFT) version 8.0 reinforces the automated testing capabilities of the Eclipse based application system and adds support for GEF (graphical Editor Framework) objects. Based on Eclipse's widget collection, this article focuses on how to configure RFT Eclipse applications, dynamic lookups of Eclipse artifacts, and configuration and testing of GEF objects.
I. Overview
IBM Rational Functional Tester is an advanced automated testing tool that enables testers and GUI developers to better control the testing of applications. RFT supports both automated testing of WEB applications and automation of Eclipse applications. In addition to WEB support, the 8.0 release reinforces support for the Eclipse platform, especially the ability to recognize GEF objects, which greatly meets the industry's strong demand for Eclipse application automation testing.
RFT specifically provides a configuration panel for the Eclipse application and requires you to specify the folder path for the Eclipse run program, and to configure its Eclipse platform properties separately for different eclipse applications, otherwise RFT cannot recognize the controls in the application, and chapter II of this article will The detailed steps of the configuration are described in detail.
After configuring the Eclipse platform properties, the next chapter of this article, based on the type structure of the Eclipse window widget, deeply parses the mapping relationship between the Eclipse window widget and the RFT test object, and how to apply this mapping relationship to write a dynamic lookup method for the Eclipse window widget.
The GEF (graphical Editor framework) is a graphical editing framework based on Eclipse, RFT open the GEF optional configuration item in the Eclipse Platform Properties Configuration panel, and the fourth chapter of this article is detailed in its configuration and application.
Ii. Configuring Eclipse Platform Properties
In order for RFT to recognize the Eclipse object, you need to configure the tested application properties in RFT, as well as the Eclipse platform properties.
Configure application properties to be tested
First enter the application Configuration window (Application Configure Tool), as shown in Figure 1, click the Configuration button (Configure) in the toolbar and select the Configure Application option (Configure application for testing), thereby opening the configuration interface.
Figure 1. Application Configuration Window