Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for testing software based on artificial intelligence

A technology for testing software and artificial intelligence, applied in the computer field, can solve problems such as inability to apply various software testing requirements, large limitations, and cost

Active Publication Date: 2016-12-07
LIANYUNGANG ELECTRONICS PORT INFORMATION DEV CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional software testing usually requires many testers to personally participate in the testing process, which requires a lot of labor costs
[0003] In order to reduce the workload of personal testing, testers can write automated test documents in advance and complete software testing through automated test documents. The update of the software requires corresponding adjustments to the automated test documents. The frequency of such adjustments is sometimes relatively high, and the time and cost of adjustments are sometimes relatively high. This method of automated test documents for software testing cannot be applied to various Software testing needs, limited
[0004] Aiming at the problem that the software testing of the above-mentioned automated test documents has relatively large limitations, no effective solution has been proposed so far

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 testing software based on artificial intelligence
  • Method and device for testing software based on artificial intelligence
  • Method and device for testing software based on artificial intelligence

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] see figure 1 Shown is a flow chart of a method for testing software based on artificial intelligence, the method comprising the following steps:

[0027] Step S102, obtain the current display interface of the target object, the target object is the software to be tested, wherein the type of the software to be tested may include APP, webpage, etc.; the current display interface can be obtained by taking a screenshot of the interface of the tested software .

[0028] Step S104, determine the operation point and the test operation corresponding to the operation point according to the content of the current display interface, the test operation includes click operation, input operation, drag operation or zoom operation; the test method can select the operation point and the operation point according to the display interface For the test operation performed on this operating point, the preferred operating point and test operation corresponding to different interfaces may be d...

Embodiment 2

[0066] Corresponding to the method provided by the above-mentioned embodiment, the embodiment of the present invention also provides a device for testing software based on artificial intelligence, see image 3 , the device consists of the following modules:

[0067] The interface acquisition module 32 is used to obtain the current display interface of the target object; the target object is the software to be tested, and the type of the software to be tested can include APP, web pages, etc.; Screenshots are obtained.

[0068] The operation determination module 34 is used to determine the operation point and the test operation corresponding to the operation point according to the content of the current display interface, and the test operation includes a click operation, an input operation, a drag operation or a zoom operation; this module can be selected according to the display interface The operating point and the test operation performed on the operating point may have dif...

Embodiment 3

[0100] This embodiment provides a specific operation mode for applying the method and device for testing software based on artificial intelligence provided in the foregoing embodiments. It should be noted that the following is only an implementation of the method and device based on the above-mentioned artificial intelligence-based testing software, and should not be regarded as a limitation, and different implementations can be adopted in specific applications according to actual conditions. Among them, using a neural network for testing is the most typical form of expression based on artificial intelligence in this embodiment.

[0101] Initial preparation:

[0102] (1) Train the defect comparison neural network according to a large amount of label data containing pictures, so that the neural network can judge defects.

[0103] Among them, a typical data should be as follows: There is a screenshot of a common software (whether it is a screenshot of a webpage, Windows softwar...

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 method and a device for testing software based on artificial intelligence. The method comprises the following steps of: acquiring a current display interface of a target object; determining operation points and testing operation corresponding to the operation points according to content of the current display interface; carrying out corresponding testing operation on each determined operation point and preserving a result interface after each time of the testing operation; according to the result interface, setting the operation point corresponding to the result interface and an award score value of the testing operation; accumulating all the operation points and the award score values of the testing operation; taking the accumulated award score value as an award score value of the current display interface; switching to the next display interface and continually obtaining the award score value of the next display interface until the award score values of all the display interfaces corresponding to the target object are obtained; and generating a testing result of the target object according to the award score values of all the display interfaces. The method and device for testing the software based on the artificial intelligence break through the limitation of traditional automatic document testing.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for testing software based on artificial intelligence. Background technique [0002] As we all know, software testing is an indispensable link in the software development process. Its purpose is to find the defects in the software as much as possible, so that the errors can be corrected in time, and then the reliability of the software can be improved. Traditional software testing usually requires many testers to personally participate in the testing process, which requires a lot of labor costs. [0003] In order to reduce the workload of personal testing, testers can write automated test documents in advance and complete software testing through automated test documents. The update of the software requires corresponding adjustments to the automated test documents. The frequency of such adjustments is sometimes relatively high, and the time and cost of adju...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 靳松波
Owner LIANYUNGANG ELECTRONICS PORT INFORMATION DEV 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