Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Automatic testing auxiliary recognition method based on code injection

A technology of automated testing and code injection, applied in the computer field, can solve problems such as inoperability and inability to identify, achieve the effect of efficient and accurate operation, expand the scope of use, and improve the efficiency of testing work

Active Publication Date: 2015-05-20
AEROSPACE INFORMATION
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides an automated test auxiliary identification method based on code injection, which is used to solve the problem that some controls (such as custom controls, etc.) cannot be recognized and cannot be operated, which is common in current automated test tools, and expands the scope of automated testing. range, improving test productivity

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
  • Automatic testing auxiliary recognition method based on code injection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0020] figure 1 It is a schematic flow chart of an automated test-assisted identification method based on code injection according to an embodiment of the present invention. As shown in the figure, the automated test-assisted identification method based on code injection includes the following steps:

[0021] S102. Obtain the process handle of the program under test, inject the injected code into the process address of the program under test, and open up rela...

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 discloses an automatic testing auxiliary recognition method based on code injection. The automatic testing auxiliary recognition method comprises the following steps that a progress handle of a tested procedure is obtained; an injected code is injected in a progress address of the tested procedure, a related memory address is developed for subsequent operation; control information to be tested and an operation type are transmitted to the injected code; the injected code searches for corresponding control in the memory address of the tested procedure according to the control information, and corresponding operation is executed or corresponding control data are obtained according to the operation type; the operation result, returned by the injected code, of the corresponding operation or the corresponding control data returned by the injected code are received.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an automated test-assisted identification method based on code injection. Background technique [0002] Most of the current automated testing software is based on the recording and playback strategy. During the recording process, the control object is identified and the operation type is recorded. During the playback process, the control object is operated to obtain the control data information and perform data verification. Such tools work well with system standard controls. However, for some non-standard controls, this type of automated testing software cannot correctly identify them, resulting in the inability to perform playback operations, and cannot obtain internal data information of controls (such as table controls), and data verification cannot be performed. Contents of the invention [0003] The present invention provides an automated test auxiliary identification ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 吴旭曹晶晶
Owner AEROSPACE INFORMATION
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
Eureka Blog
Learn More
PatSnap group products