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

Method and device for automatically recovering target program operation control in automated testing

A technology of automated testing and target programs, applied in the computer field, to achieve the effect of ensuring continuous execution capabilities

Active Publication Date: 2016-06-01
北京鸿享技术服务有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The technical problem to be solved by the present invention is to provide a method and device for automatically recovering the operation control of the target program in automated testing, which solves the problem of ensuring that the automated testing program is guaranteed when the system runs abnormally due to software problems during the running of the automated testing program. The problem that can be restored to the normal state and continue to run can achieve the purpose of automated testing of the Windows system

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
  • Method and device for automatically recovering target program operation control in automated testing
  • Method and device for automatically recovering target program operation control in automated testing
  • Method and device for automatically recovering target program operation control in automated testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0058] Such as image 3 As shown, the implementation of the control method of the present invention for restoring the system when a blue screen occurs during testing of the test module includes the following steps:

[0059] Step 310, back up and store the system, and set a configuration file for system testing, the configuration file is used to record the execution information of the test module;

[0060] Among them, the system can be backed up by means of Ghost image.

[0061] After the system is backed up, the system registry can be set to enable the system to restart when a blue screen occurs, and to obtain blue screen debugging information and store the blue screen debugging information when the system appears blue screen.

[0062] Wherein, the execution information of the test module includes the serial number (CaseID) of the test module and the state information of the test module.

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-recovery target program run control method and device in automation testing. The method comprises the following steps of: dividing a target program into multiple modules which can run independently and respectively has a unique identifier, building a configuration file for recording the performance of the modules which are performed, and storing the target program and the corresponding configuration file in a non-system partition; and performing the target program, and if the system is judged to run abnormally at present, automatically restarting an operating system according to presets, and recovering the operating system by a pre-made system mirror image document; after the system is recovered, inquiring the identifier of the module which causes the abnormity and is recorded in the configuration file, and performing the target program from the next module of the module identifier. The method and the device provided by the invention can ensure that the behaviors of real users are stimulated in windows in the automated testing process, and can automatically recover the system and perform the testing process when the system runs abnormally for the reason of software problems, thus guaranteeing the continuous performing capability of the automated testing.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for controlling the operation of an automatically recoverable target program in automated testing. Background technique [0002] With the rapid development of computer technology and the wide application of Windows system, in the automated testing of Windows software, it is necessary to use programs instead of humans to operate the software under test. [0003] A blue screen appears on the computer, also known as the blue screen of death (Blue Screen of Death, abbreviated as: BSoD), such as figure 1 As shown, refers to the screen image displayed by the Microsoft Windows operating system when it cannot recover from a system error. [0004] In the process of automatic testing of windows software, if the tested object is system security software such as anti-virus software or Trojan horse firewall, it is often encountered that there are multiple anti-virus sof...

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 北京鸿享技术服务有限公司
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