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

An automatic testing method and device

A technology for automated testing and testers, applied in the computer field, it can solve the problems of occupying a large amount of test resources, difficult to set reward functions, and unable to take into account the test depth and coverage breadth at the same time, so as to achieve the effect of saving test resources.

Active Publication Date: 2019-05-03
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This technology uses an inverted reinforced learning method that helps create better strategies based upon feedback provided by experts over time. These methods are trained automatically without human interference while still being able to match their performance against real-world scenarios accurately. By gathering coordinate values between each pixel click made during tests, this system learns how well they perform under different conditions like temperature changes, humidity levels, etc., resulting in improved training efficiency compared to traditional approaches such as trial/test cycles.

Problems solved by technology

This patented technical problem addressed by this patents relates to improving the efficiency and accuracy of software testing processes while reducing costs associated with manually-based methods like click buttons and monkeys. However, current solutions require expensive equipment and may only cover limited areas due to their lacked ability to consider how well they perform during different situations. Therefore there needs an improved approach called reinforce learning algorithms (RML).

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
  • An automatic testing method and device
  • An automatic testing method and device
  • An automatic testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0039] figure 1 is a schematic diagram of main steps of a method for automated testing according to an embodiment of the present invention. Such as figure 1 As shown, the automated testing method of the embodiment of the present invention mainly includes the following steps:

[0040] Step S101: Collecting decision-making trajectory data of testers during testing, and us...

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 method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: collecting decisiontrack data of a tester during testing, and taking the decision track data as an expert strategy; Creating a model of a reward function; taking the expert strategy as an input of an inverse reinforcement learning algorithm to obtain a return coefficient enabling the value of the reward function to be maximum; and according to the reward function corresponding to the maximum return coefficient, calculating a strategy corresponding to the maximum cumulative reward function value so as to carry out an automatic test according to the strategy. According to the implementation mode, the reward function is designed through the inverse reinforcement learning algorithm, then the strategy corresponding to the expert strategy is obtained, automatic testing is carried out according to the strategy, onone hand, testing resources are saved, and on the other hand, the testing depth and the coverage range can be close to the testing effect of a tester.

Description

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

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
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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