Check patentability & draft patents in minutes with Patsnap Eureka AI!

Generation method, automatic testing method and related device of virtual robot

A virtual robot and automated testing technology, applied in software testing/debugging, etc., can solve the problems of high workload and low efficiency of testers

Active Publication Date: 2017-11-14
ALIBABA (CHINA) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present application provides a method for generating a virtual robot, an automated testing method, and related devices, which are used to solve the problems of high workload and low efficiency of testers in the prior art when performing automated testing

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
  • Generation method, automatic testing method and related device of virtual robot
  • Generation method, automatic testing method and related device of virtual robot
  • Generation method, automatic testing method and related device of virtual robot

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] Embodiment 1 of the present application provides a method for generating a virtual robot for automated testing, such as image 3 As shown, it specifically includes the following processing steps:

[0055] Step 301 , providing the user with selectable robot types through a human-computer interaction interface.

[0056] Further, while providing selectable robot types, attribute information of the robot type can also be displayed for each robot type, such as some preset attribute parameters of the virtual robot of the robot type.

[0057] Step 302, acquiring the robot type selected by the user.

[0058] Step 303 , obtaining operation identifiers of multiple preset operations that need to be performed when using the virtual robot to test the object under test.

[0059] Further, the multiple preset operations that need to be performed when different types of virtual robots test the object under test may be different or the same. If they are different, this step is specific...

Embodiment 2

[0073] Embodiment 2 of the present application provides a method for automated testing of a virtual robot generated using the method for generating a virtual robot described above, such as Figure 4 As shown, it specifically includes the following processing steps:

[0074] Step 401, after the virtual robot starts the test, selects the attribute parameters according to the operation in the preset attribute parameters of the virtual robot, and determines the operation to be performed on the object under test this time.

[0075] Step 402 , according to the target selection attribute parameter among the preset attribute parameters of the virtual robot, determine the operation target of the operation to be performed on the object under test this time.

[0076] This step is optional.

[0077] Step 403 , using the program corresponding to the operation to be performed this time, performing the corresponding operation on the measured object, and obtaining the operation result.

[0...

Embodiment 3

[0090] Based on the same inventive concept, according to the method for generating a virtual robot for automated testing provided by the above-mentioned embodiments of the present application, correspondingly, Embodiment 3 of the present application also provides a device for generating a virtual robot for automated testing, its structure Schematic such as Figure 5 shown, including:

[0091] An identification obtaining unit 501, configured to obtain operation identifications of a plurality of preset operations that need to be performed when using a virtual robot to test an object under test;

[0092] An instruction unit 502, configured to instruct the user to train the virtual robot to have the ability to perform the preset operation based on the operation identifier of each preset operation;

[0093] A program generating unit 503, configured to generate a program required for the virtual robot to perform the preset operation according to the operations performed by the user...

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 present application discloses a method for generating a virtual robot, an automated testing method, and a related device, including: obtaining operation identifiers of multiple preset operations that need to be performed when using a virtual robot to test an object under test; Set the operation identification of the operation, instructing the user to train the virtual robot to have the ability to perform the preset operation; and generate the program that the virtual robot needs to use to perform the preset operation according to the operations performed by the user for each operation identification of the preset operation and by establishing a correspondence between the preset attribute parameters of the virtual robot and the generated program, generating a virtual robot having the preset attribute parameters and using the program to perform the multiple preset operations on the measured object. By adopting the solution provided by the embodiment of the present application, the workload of testers in the process of automated testing is reduced, and the testing efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of automated testing, and in particular to a method for generating a virtual robot for automated testing, an automated testing method and related devices. Background technique [0002] When using the existing automated testing method to test the object under test, it is usually first to write a test case for the object under test according to the test needs, and then write the corresponding automation script according to the test case, and complete the test by running the automation script during the test. The test of the object under test. [0003] Among them, a test case generally represents some fixed operations performed on the object under test in a fixed order. Correspondingly, running the automation script corresponding to the test case can implement these fixed operations on the object under test in this fixed order, thereby Complete the test on the tested object and get the test result. ...

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 ALIBABA (CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More