Method for editing automated testing script
A technology of automated testing and test scripts, applied in the field of editing automated test scripts, can solve the problems of poor reusability of test scripts and low efficiency of test scripts, and achieve the effect of increasing reusability and reducing work
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2014-03-12
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of automated testing, and more particularly relates to a method for editing automated testing scripts. Background technique
[0002] With the continuous increase of mobile phone functions, more customized versions, shortened market cycles, mobile phone software testing has become more complex, but the test cycle is shorter, so mobile phone software testing automation has become an important software testing method. The test cases for mid- and high-end mobile phone software are huge, reaching 3,000-6,000, including about 1,500-3,000 automation cases. To effectively carry out automated testing, it is necessary to be able to quickly develop automated test scripts with low cost and high coverage, while effectively reducing the Maintenance and migration costs of test scripts.
[0003] At present, manual writing of automated test scripts is widely used, that is, developers write automated test scripts according to manual t...
Examples
Embodiment Construction
[0031] Embodiments of the present invention will now be described with reference to the drawings, in which like reference numerals represent like elements. The automated test script is based on the android platform among the present invention, and each test script comprises a plurality of script units, and each script unit corresponds to a processing mode, and each script unit includes information such as operation type and control numbering, such as logging in to qq During the process of automated testing, the test script includes multiple operations such as clicking the account box and entering the qq account number. These operations are the processing methods for the qq software testing process.
[0032] Please refer to figure 1 , which describes the specific flow of an embodiment of the method for editing an automated test script in the present invention. like figure 1 shown, including the following steps:
[0033] Step S101, setting a table in the automated test softwa...