Font Size: a A A

The Application Research And Implementation Of Web System Automated Testing Based On RFT

Posted on:2010-07-11Degree:MasterType:Thesis
Country:ChinaCandidate:R E GuoFull Text:PDF
GTID:2178360278465585Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Software testing is an important tool for software quality assurance, which aims to discover and correct software errors as much as possible, improving software reliability. With the development of software industry, people attach importance to testing increasingly. At the same time, automated testing also has become a hot area of concern in the field of testing. This article realizes the automated testing system under this context, and it has high efficiency, ease of use and reusability characteristics.This article aims to set up the automated testing system, discusses the concept of the testing, development of software automated testing, test tools, the introduction of testing conditions, costs and considerations, focuses on the design and implement the automated test system. This system is based on IBM automated testing tool RFT (Rational Function Tester), with IBM's automated testing framework for reference, using Java language to complete automated testing script development. In this paper, the framework of the system is divided into the following levels: page object layer (pages), test task layer (tasks), test case layer (cases), test environment layer (testenv), test data layer (testsuite). Every layer contains different file types, they are mutual independent and interdependent: Page object layer stores GUI object information of the application, responsible for providing GUI object's atomic methods, such as Text Field's getText and setText methods. Test task layer do some common test operations according to invoke GUI object's method of the page object layer, such as text entry, clicking the submit button and so on. Test case layer reads test data from an external file, invokes the methods of the test task layer, operates the application, verifies its status and records the results. The test environment layer mainly stores the environment information and charges for the start of the control program who can read into the test data. Test data layer stores test data for automated testing. The system designed in this paper focuses on modular design and hierarchical structure, and it can provide guidance for automated testing in an easy way, successfully achieving the automated regression testing of web system.
Keywords/Search Tags:RFT, Web System, Regression Test, Automated Testing
PDF Full Text Request
Related items