Study on Automatic Software Functional Test Case Generation and Optimization
- Author
- HuangYing
- Advisor
- LuZuo
- School
- South China University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 60
- Citations
- 0
Abstract
With the rapid development of computer technology, software applications and serviceshave penetrated into the way people work and every aspect of daily life and have atremendous impact on people’s lives, enterprise development and social progress. Driven bythe huge demand for software applications, the scale of the application software continues toexpand, increasing complexity in software design. In order to adapt with varied problems, weneed to ensure the quality of the widely used software strictly. Software testing is the key toensure software quality and enhance software reliability. However, Software testing takes ahuge human, material and time resource. Therefore, improve the degree of software testautomation is a good way to increase the quality of software and decrease the cost of softwaredevelopment. One of the key to improve the automation for software testing is automatic thegeneration of test cases. Meanwhile, optimize the test cases is an inevitable requirement toenhance the quality of test cases and reduce test resources. Against the characteristics of Webapplications, Windows applications, mobile applications, automatic functional test casegeneration and optimization techniques according to these three software platforms areproposed in this paper: a methodology based on a user session and service profile matrix togenerate a reduced user session set for Web application; a framework uses event-flow basedmodel that adopts UIAutomation and ant colony search algorithm to generate feasible testcase for Windows applications; an activity page based crawl algorithm combined with someopen source tool to automatically test Android applications. Software testing industry usuallytakes record and playback technique to automatic functional test for Web and Windowsapplication. Most of the mobile enterprises test their mobile application manually. The studyon automation test technique for mobile application has only just started. This project has agood sense of practical significance for the promotion of software test automation.
Table of contents
Summary 5-6
Abstract 6-7
directory 7-9
first chapter 9-15 <br / > 1.1 research background 1.2 Status study abroad 9-10
10-13
1.3 research contents and objectives 13-14
1.4 content and structure of the thesis arrangements 14-15
the second chapter of software test automation technology 15-19
2.1 software testing theory 15-16 <br / > 2.1.1 functional Test 15
2.1.2 test 15
2.1.3 software test automation 15-16
2.2 common software Automation testing technology 16-18
2.2.1 record \u0026 Playback test 16
2.2.2 data-driven testing 16-17
2.2.3 keyword drive Test 17
2.2.4 model-driven testing 17-18
2.3 Summary 18-19
Chapter III Web -based user sessions functional test automation 19-28
3.1 Web application testing features 19
3.2 Web-based functional test model of user sessions 19-26
3.2 .1 user session data collected 20-21
3.2.2 service configuration file to extract 21-22
3.2.3 user sessions - services matrix create 22 - 24
3.2.4 user session reduction 24-26
3.3 Web applications pet store analysis 26-27
3.4 Summary 27 - Chapter 28
WINDOWS -based functional test automation event flow chart 28-41
4.1 desktop application testing features 28
4.2 WINDOWS graphical interface elements identification and manipulation techniques 28-30
4.3 functional Test event flow graph model based 30-37
4.3.1 graphical interface elements traverse 31-32
4.3.2 event flow diagram generation 32-34
4.3.3 nbsp generation and optimization of ant colony algorithm based search use cases ; 34-37
4.4 Notepad case Study 37-39
4.5 Summary 39-41
Chapter ANDROID function based test automation event page 41-54
5.1 mobile Application Features test 41-42
5.2 ANDROID ANDROID application and testing technology 42-44
5.3 ANDROID test model based on the active page 44-53 <br / > 5.3.1 event page and use case modeling to generate 45-49
5.3.2 simulation test 49-50
5.3.3 physical real machine test 50-53
5.4 Summary 53-54
Chapter VI Conclusion and outlook major work 54-56
6.1 article 54
inadequate and still need improvement 6.2 This work is 54-56
References made ??during 56-60
master's degree research 60-61
Thanks 61
Related dissertations
- Research and implementation of automatic generation method for test case two and based on the contract
- Research on a Method for Object-oriented System Function Test Case Generation
- Digital IC tester channel circuit design
- Research on Batch Testing Platform Technology of the Acceleration Sensor
- Design and Implementation of Network Management Integrated Test System
- Research and Design of Test Paper Generation System Based on Genetic Algorithm
- Automated Software Testing and Implementation Based Cube
- Model Based Testing Automation Framework of Data Pocessing System
- Development of the Automatic Test Software for Radar-seeker Based on LabVIEW
- The Design and Actualize of the IP Testing System
- Research on Multifunction Detecting System for Printed Circuit Board
- Research on Parameter Identification System of Linear Low Resistance Network
- Diplopia Image Testing Equipment for Ophthalmoplegia Patients and Diagnostic Decision Support System
- Research and Implementation of Ground Test System for Quantum Communication Payload on Space Platform
- Design of Testing System for Control Circuit Board
- The Design and Development of General Avionics Bus Auto-Test System
- Research and Development of Airborne Radio Altimeter Automatic Test System Based on General Automatic Test Platform
- Hardware&Software Implementation of Test Platform for Series Products
- The Design of Automatic Control System for Laser Particle Sizer
- Web Based Metwork-Security Tool Testing and Analysis