Automation testing script offline debugging method and system

A technology of automated testing and debugging methods, applied in the direction of software testing/debugging, etc., can solve the problems of wasting testing resources, reducing testing efficiency, and lack of code checking methods in explanatory languages, so as to improve testing efficiency and save testing resources.

Active Publication Date: 2013-11-27
MAIPU COMM TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the automated test script development of the prior art, the writing language of the script usually selects an explanatory scripting language (such as: Tcl, Ruby, Perl, Python, etc.), which has the advantage of being conducive to rapid development and debugging of scripts, but some problems are prone to occur when writing scripts. Syntax errors, such as parameter input errors when calling the corresponding application programming interface (Application Programming Interface, API) function, etc.
These errors occur when script developers write code. At the same time, due to the lack of effective code inspection methods in the interpreted language itself (regular code walkthrough usually only finds a small number of errors), these error scripts can only be loaded into the tested Debugging on the devic

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automation testing script offline debugging method and system
  • Automation testing script offline debugging method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] For automated test system script developers, limited by resources and other conditions, it is difficult to load each test script to the real device under test for debugging immediately. However, when resources are available and the script is debugged, it is found that many low-level grammatical problems always hinder the debugging. Spending a lot of time on this will not only consume equipment resources, but also greatly reduce the test efficiency. The offline debugging method of the automated test script of the present invention can find and correct the errors of the script itself, such as grammatical errors or API function calling errors, before the actual online debugging, so as to overcome the above-mentioned shortcomings.

[0027] The process flow of the offline debugging method of the automated test scr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to automation testing technologies of the data communication field and discloses an automation testing script offline debugging method and system. The automation testing script offline debugging method mainly comprises the steps of setting two debugging modes inside a testing script; developing two branches in the API (application programming interface) function of the testing script; simulating the information of a device to be tested in the offline debugging branch of the API function for connecting the device to be tested; in the offline debugging mode, defaulting every function corresponding to a simulated physical device as normal; when echo values need to be read from the device to be tested, simulating the echo values through the offline debugging branch, ignoring the logic check of the function and only checking whether the information transmitted in as the function requires is correct; outputting a debugging result after offline debugging is completed. The automation testing script offline debugging system comprises a mode setting module and a debugging agent module. The automation testing script offline debugging method and system can save testing resources and improve the testing efficiency.

Description

technical field [0001] The invention relates to an automated test technology in the field of data communication, in particular to an off-line debugging method and system for an automated test script. Background technique [0002] As the development cycle of data communication products is getting shorter and shorter, the product release cycle is getting faster and faster, and the corresponding testing workload is also increasing. For automated testing, it is required to be able to complete the testable automated test scripts as soon as possible to verify the product. function. [0003] In the automated test script development of the prior art, the writing language of the script usually selects an explanatory scripting language (such as: Tcl, Ruby, Perl, Python, etc.), which has the advantage of being conducive to rapid development and debugging of scripts, but some problems are prone to occur when writing scripts. Syntax errors, such as incorrect parameter input when calling...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 陈明杨长轩
Owner MAIPU COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products