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

A Method of Exception Recovery During Automated Execution

A technology of automatic execution and exception recovery, applied in the field of testing, can solve the problems that steps cannot be executed according to the designed operation, exceptions and interruptions occur during execution, and achieve the effect of reducing manual maintenance work and improving work efficiency.

Active Publication Date: 2017-02-15
FUJIAN XINGHAI COMM TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently, the QuickTest Professional (QTP for short) tool provided by HP can conduct automated unmanned testing of products, thereby reducing the time and energy spent during testing, but due to the influence of the environment, including the network and other aspects during the automated unmanned execution There are too many, which will cause many steps to fail to execute according to the designed operation, resulting in exceptions during execution, and because automated execution is generally executed during off-duty hours, execution will be interrupted in the case of abnormal execution
In response to these problems, most of the abnormal non-automated tools can avoid the above problems, including the problem of the tool interface itself, but it may take a long time to sort out and accumulate the abnormal parts, which is time-consuming and labor-intensive

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 Method of Exception Recovery During Automated Execution
  • A Method of Exception Recovery During Automated Execution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Please refer to figure 1 and figure 2 , an exception recovery method during automated execution, comprising the following steps:

[0024] Step 10, automatically load QTP script by an external script, and start QTP;

[0025] Step 20, execute script combination for a series of functions of the automatic execution software through a function script;

[0026] Step 30, the QTP program framework executes the function test, records and saves the tested function information to the configuration file, the function information includes the function ID, and organizes the obtained function results into a test report;

[0027] Step 40, if an exception is encountered during the execution of QTP, then judge whether the exception can be caught, if it is an exception that can be caught, then continue to execute, if it is an exception that cannot be caught, then stop the execution; if no exception is encountered during the execution of QTP, then continue to execute, Stop execution un...

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 provides a recovery method for exceptions during automation execution. The recovery method comprises the following steps: automatically loading a QTP (quick test professional) script, and starting QTP; executing script combination on a series of functions of automation execution software; executing function test on a QTP program frame, recording and saving tested function information to a configuration file, and collating acquired function results into a rest report; capturing the exceptions and handling the exceptions during the execution until normal stop or error stop; capturing stop execution; judging whether the stop execution is abnormal or not; if the stop execution belongs to the normal stop, exiting a program, and otherwise, entering the next step; starting an external script; performing statistics on the number of times of the stop execution with an abnormal function, and deciding whether the function is continued or the function is skipped to enter next function execution according to the number of times of the stop execution. According to the recovery method provided by the invention, automatic handling on the exceptions during the automation is realized, so that continuous operation is performed by the QTP, the manual maintenance is reduced, and the work efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to an exception recovery method during automatic execution. Background technique [0002] Currently, the QuickTest Professional (QTP for short) tool provided by HP can conduct automated unmanned testing of products, thereby reducing the time and energy spent during testing, but due to the influence of the environment, including the network and other aspects during the automated unmanned execution As a result, many steps cannot be executed according to the designed operation, resulting in exceptions during execution, and since automated execution is generally executed during off-duty hours, the execution will be interrupted in the case of abnormal execution. In response to these problems, most of the abnormal non-automated tools can avoid the above problems, including the problem of the tool interface itself, but it may take a long time to sort out and accumulate the abnormal parts, ...

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 FUJIAN XINGHAI COMM TECH
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