Method and system for debugging automatic testing script and agent device

A technology of automated testing and proxy devices, applied in the testing field, can solve problems such as the resource shortage of the equipment under test and testing instruments, and achieve the effects of improving script output efficiency, improving debugging efficiency, and reducing costs

CN101976219AInactive Publication Date: 2011-02-16BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
3 Cites 3 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2011-02-16
Estimated Expiration
Not applicable · inactive patent

Smart Images

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

Abstract

The invention provides a method and system for debugging an automatic testing script and an agent device. The method comprises the steps of: obtaining a command executing result from a script executing server; obtaining a data structure of a function from a function base; and carrying out error check on the command of the testing script and the function call according to the obtained command executing result and the data structure of the function. The system comprises an agent device, an information storage module, a script executing server, a function library and a script debugging module. The invention realizes that the automatic testing script can be debugged without using a device to be tested and a testing instrument, thereby solving the problem of resource shortage of the device to be tested and the testing instrument.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present invention relate to testing technologies, and in particular to a method and system for debugging automated test scripts and an agent device. Background technique

[0002] In the field of testing, in order to improve the efficiency and coverage of testing, automated testing is usually used instead of manual testing. Automated testing generally uses automated test scripts to set up the test instrument and the device under test accordingly, and then the test device executes the verification of various functions and performances of the device under test. The initially generated automated test scripts cannot be directly used for project testing, and there will be many errors in the automated test scripts, so the automated test scripts need to be debugged.

[0003] figure 1 It is a schematic diagram of a system for debugging automated test scripts in the prior art. figure 2 It is a flow chart of debugging an automated test ...

Examples

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0036] When debugging automated test scripts, in order to solve the problem of tight resources of the equipment under test and test instruments, it is necessary to consider a method that can realize debugging without using the equipment under test and test instruments. Therefore, the embodiment of the present invention proposes a method for debugg...