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

CN103631590AActive Publication Date: 2014-03-12GUANGDONG OPPO MOBILE TELECOMM CORP LTD
4 Cites 8 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2014-03-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method for editing an automated testing script. The method comprises the following steps that a mapping form is generated according to a testing script to be edited; any row of the mapping form is selected to be operated; according to the operation, the testing script is automatically updated. Compared with the prior art, according to the method for editing the automated testing script, the mapping form is generated according to the testing script to be edited at first, then any row of the mapping form is selected to be operated, and the testing script can be automatically updated on the basis of the operation, so that the testing script is easily and rapidly edited, the reusability of the testing script is improved, and the workload of developers is reduced.
Need to check novelty before this filing date? Find Prior Art

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...