Accurate identification and validation of graphical Editing Fra using rational functional Tester V8.0

Source: Internet
Author: User

Use rational functional Tester V8.0 to accurately identify and validate graphical Editing Framework (GEF) graphics

Because of the difficulty of recognition of graphics and the limitation of testing tools, automatic identification and verification of graphics has been a weak link in automated testing. Developers use the graphical Editing Framework (GEF) in eclipes to develop large graphics matrices and graphical interfaces. Prior to the Rational Functional Tester (RFT) V8.0, the automation associated with GEF graphics was always a headache for testers because it was not able to be accurately identified. The introduction of a single recognition of GEF graphics in the new RFT V8.0 brings the gospel to this segment of testers and, with appropriate coding, automates the recognition of GEF graphics.

Introduction to the graphical Editing Framework (GEF)

GEF (graphical Editor framework) is a graphical editing framework for Eclipse, which allows developers to graphically display and edit models to enhance the user experience. Many applications use GEF for graphical development, such as BPM structure diagrams, software module presentations, UML class diagram editors, graphical XML editors, and graphical database structure design tools. GEF currently offers two modes of presentation: Graphics (graphicalviewer) and tree (Treeviewer). The former uses draw2d graphics (ifigure) as a representation, more for the editing area, the latter is used to achieve the outline display.

In automated testing, the identification, operation and validation of graphics have been a weak link. As a structured vector graph, GEF should be better identified than BMP and JPG. However, the earlier versions of Rational functional Tester did not recognize a single GEF model, but only the draw2d main framework. This is extremely inconvenient for automated testing of GEF graphics, and we can only use position offsets to locate and manipulate graphics so that any movement of the image at any location can cause the automated test script playback to fail. and the verification of graphics is becoming an impossible task.

Because applications often design a large number of, attribute-uncertain, GEF operations, simple recording scripts are not suitable for developing a systematic test case, and the ITCL test framework is recommended to implement application automation testing involving GEF graphics. At the end of this paper, we will describe how to realize the recognition, operation and validation of GEF graphics in Rational functional Tester V8.0 with the ITCL framework.

Recognition of GEF graphics in the V8.0 of Rational functional Tester

Activating a test environment

To identify GEF graphics in RFT, you need to activate the test environment for your application.

Select the configuration in the menu and choose to activate the test environment. As shown in Figure 1.

Figure 1. Activate the application for testing

Note: You will need to restart the pending application after activation to take effect.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.