Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Code Injection-Based Automated Test Aided Recognition Method

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

Active Publication Date: 2018-01-16
AEROSPACE INFORMATION
View PDF3 Cites 0 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
  • A Code Injection-Based Automated Test Aided Recognition Method

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 test auxiliary identification method based on code injection, which comprises the following steps: obtaining a process handle of a program under test, injecting the injected code into the process address of the program under test, and opening up a relevant memory address for subsequent operations; Send the control information and operation type to be tested to the injected code; the injected code searches for the corresponding control in the memory address of the program under test according to the control information, and performs the corresponding operation or obtains the corresponding control data according to the operation type; receives the injected code The operation result of the corresponding operation or the corresponding control data returned by the code.

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 吴旭曹晶晶
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products