Autodesk Inventor API design and implementation of automated testing
- Author
- YuLiangFei
- Advisor
- ZhaoJianJun , LiYuGang
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 59
- Citations
- 0
Abstract
Software testing is an important software life cycle stage. Software testing technology, especially software test automation technology is currently the most controversial international software industry, yet to be developed technologies. At present, many domestic and foreign research institutions and companies have done a lot of research and application of software testing work. Recording / playback and data-driven is the more popular type of two automated testing framework. The former automation tools automatically record user actions, to generate a linear script. Testers by playing these scripts to perform regression testing. The disadvantage of this method is the script reusable low maintenance cost is very high. The latter data-driven testing framework, by separating the test data and test scripts, run-time test data related to the test scripts, test cases to share some multiple test scripts, scripts utilization and maintainability have been greatly improved. In this paper, data-driven testing theory, developed a set of API (Application Programming Interface, Application Programming Interface) automated test systems, test for Inventor API, which provides an API to give users high-quality secondary development of Inventor. This paper analyzes the data-driven automated testing system is characterized and studied API testing process, the final design of the API-based data-driven automated testing system that uses VBScript as the test scripts in XML format to store data files. The system includes a test input-output system, test case management systems and test execution control system three subsystems. Thesis through structural diagrams, flowcharts, class diagrams and other forms of these three subsystems are discussed in detail the design, functionality and workflow. Wherein the test input-output system is the key to implementing data-driven test module, test scripts through the system interface provides access to test data in the file, but also passed the test script module test results output. The test case management system provides a powerful visual interface, help testers according to different test case design method to generate test files. Test execution control system is responsible for the initialization of the test environment, perform tests and generate test reports and other work. Finally, this paper developed a system using a practical example of the API test, showing the test input-output system, test cases and test execution management system how the control system complement each other to complete the whole process of testing support in order to achieve improve test efficiency and test quality. It can be seen through the practice, the use of this system to develop test scripts, test script development to take advantage of easy to use VBScript to write high quality test scripts. Test cases can be very flexible and easily pass the test case management tool. Because the script and data separation, test scripts and test cases extended maintenance are very convenient, testers do not even after extended test cases need to modify test scripts, which is designed in this paper a distinctive feature of the test system.
Table of contents
Abstract 3-5
ABSTRACT 5-10
1 Introduction 10-13
1.1 Software Testing Research 10-12
1.2 Autodesk Inventor Profile 12
1.3 dissertation chapters arrangements. 12-13
2 automatic test technology 13-20
2.1 Software Testing 13
2.2 automated test 13-17
2.2.1 The importance of automated testing 13-14
2.2.2 Automated Testing Tool status 14-17
2.3 automated test scripts 17-19
2.3.1 Linear script 17-18
2.3.2 Data-driven script 18
2.3.3 keyword-driven scripts 18-19
2.4 Summary 19-20
3 Inventor API automated test systems 20-26
3.1 Inventor API Profile 20-21
3.1.1 how to use the Inventor API 20-21
3.1.2 Inventor API structure 21
3.2 Inventor API automated testing process 21-23
3.3 automated test system components 23-25 ??
3.3.1 Test Input Output System 24
3.3.2 Test Case Management System 24
3.3.3 test execution control system 24-25
3.4 Summary 25-26
4 Test Input Output System 26-41
4.1 Test Script 27-31
4.1.1 test script selection 27-28
4.1.2 Data-driven script 28-31
4.2 test file 31-39
4.2.1 test case design method 31-37
4.2.2 test instance 37-39
4.3 test output 39-40
4.4 Summary 40-41
5 test management system 41-46
5.1 capture parameters 42
5.2 test case storage 42-45
5.3 Chapter Summary 45-46
6 test execution control system 46-51
6.1 test cases and scripts organizational structure 48
6.2 Initialization Test Input Output System 48-49
6.3 Test results 49-50
6.4 fails to restore 50
6.5 Chapter Summary 50-51
7 Practical Applications 51-56
7.1 develop test scripts 51-54
7.1.1 use the wizard to create a new project 51-53
7.1.2 using a shared module 53-54
7.2 to generate test cases 54-55
7.3 to generate a reference file 55
7.4 running tests to obtain test results 55 < br /> 7.5 Chapter Summary 55-56
8 Summary and improve 56-58
8.1 This article summarizes 56
8.2 nbsp future improvements ; 56-58
References 58-60
Appendix 60-64
Appendix 1 test scripts 60-61
Appendix 2 test 61-62
Appendix 3 reference file 62
Appendix 4 test results file 62-64
Thanks 64 -65
papers published during the study for a degree directory 65-67
Related dissertations
- Research and Implemention of Automated Test System Base on XML
- Research and Development on Rapid Design System of Shaft Parts Based on Inventor API
- Research and Implementation of Multiple Payment Methods on Purchasing Website
- Research of Detection and Tracking on the Chinese Micro-blog Topic and System Design
- 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
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Design and Implementation of the Motion Control System Based on USB Interface
- API Design and Implementation of Message Service Component
- The Study on Efficiency Improvement of System Rework Line of Electronic Product Based on TPS
- Study on Bearing Capacity and Dynamic Disaster of Hexagonal Spudcan Foundation
- Functional data analysis and control of air pollution in Beijing
- Marketing Strategy Analysis for Glimepiride API of Company S
- 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
- The Research on Trojan Detection Technology Based on Extended Attack Trees
- Application of virtual technology in Tianjin Port Container Terminal
- Intangible Cultural Data Mining and Spatial Visualization of the Business Information in the Internet
- Research of Data Mining Based Trojan Detection