The Application Research and Implementation of Web System Automated Testing Based on RFT
- Author
- GuoRuiE
- Advisor
- LiWenSheng
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 131
- Citations
- 1
Abstract
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.
Table of contents
Abstract 4-5
ABSTRACT 5-9
first chapter 9-12
1.1 Background and Significance topics 9 - 10
1.2 the main work papers and content organization 10-12
Chapter automated software testing overview 12-20
2.1 automated Testing Introduction 12-13
2.2 level automated testing and development phase 13-14
2.3 automated testing tools 14-15
2.4 the introduction of automated testing conditions 15-16
2.5 automated test cost 16-17
2.6 adaptation of automated testing scenarios 17-19
2.7 automated Testing considerations 19-20
RFT chapter describes 20-23
3.1 RFT Profile 20
3.2 RFT object recognition technology 20-23 < br /> 3.2.1 grasping objects France 21
3.2.2 Find method 21-23
Chapter WEB system design of automated testing 23-29
4.1 design Goals 23-25 ??
4.2 overall design 25-29
4.2.1 IBM automated testing framework introduced 25-26 <br / > 4.2.2 system Framework describes 26-29
Chapter WEB system test automation implementation 29-44
5.1 development environment and deployment environment 30 - 31
5.2 system layers function realization 31-42
5.2.1 pages layer 31-33
5.2.2 tasks layers 33-34
5.2.3 cases layer 34-36
5.2.4 testsuite layer 36-39
5.2.5 testenv layer 39-42 <br / > 5.3 system other important functions 42-44
Chapter VI system availability, suitability analysis 44-48
6.1 system works 44-47 < br /> 6.2 system scenarios 47-48
Chapter VII Conclusion 48-51
7.1 problems encountered and solutions 48-49 <br / > 7.2 thesis work summarizes 49-50
7.3 thesis work on further improvement of thinking 50-51
References 51-52
Appendix 1 pages layer code examples 52-58
Appendix 2 tasks layer code examples 58-61
Appendix 3 cases layer code examples 61-63
Acknowledgements 63-64
master's papers published during the catalogs and participate in research projects Shuo 64
Related dissertations
- Design and Implement of Automation Test System of Web Product
- Keyword-based automated test -driven Web services research and application
- Research and Implementation of Automated Software Testing for Video Surveillance
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- Design and Implementation of the Management System of the Service Area
- Design and Implementation of a Medium-sized Supermarket Management System
- Design and Implementation of a Communication Company VIP Customer Resource Management System
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Design and Implementation of Enterprise-customized Attendance System Based on Web
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Study on the Relationship between Economic Growth and Development of the Specialized Market
- Design and Realization of Test Equipment for a Data Record Device
- Design and implementation of monitoring tool Linux system and its automation test based on
- Analysis and Design of the Security Penetration Testing Methods in Web System
- The Design and Implementation of Tang Gu Supply and Marketing Cooperative on Human Resource Information Management
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Web tomato cultivation expert system research and Realization Based on
- Research and Implementation of an Automatic Embedded Test Platform
- The Research of Automated Software Testing-Research on Test Suite Optimizing Strategy