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

A software testing method and device

A software testing method and a technology of software to be tested, which are applied in the computer field, can solve the problems of inaccurate identification of controls, poor software testing effect, and difficulty in accurately identifying controls, etc., so as to improve test coverage and test accuracy, and improve control identification accuracy Effect

Active Publication Date: 2022-02-01
BEIJING YUNCE INFORMATION TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The current software testing scheme has the problem that some controls cannot be accurately identified, resulting in poor software testing results
For example: for controls that appear randomly and disappear within a short period of time, it is difficult to accurately identify the control due to less control attribute information or insufficient test framework capabilities; for carousel controls, although image recognition can recognize the currently displayed image, However, due to the fast rotation speed, after an image is recognized, the test operation will proceed to the next image, causing the test to fail

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 software testing method and device
  • A software testing method and device
  • A software testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064]In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0065] For the problems existing in the prior art stated in the background technology section, the present invention provides a software testing method, by judging the characteristic color of the control, and detecting the area occupied by the characteristic color in the screenshot of the software interface to be tested, in order to determine the charac...

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 application discloses a software testing method and device. The method includes: determining a target area in the screenshot of the software interface to be tested, the target area is an area expected to include a target control; determining a target sub-area in the target area, the target sub-area is a predicted target control Set the area occupied by the characteristic color; if it is determined that the target sub-area matches the expected area range, then perform a test operation on the target sub-area. It can be seen that by setting the characteristic color for the control and determining the area occupied by the characteristic color in the screenshot of the software interface to be tested to identify and test the control, the application can effectively improve the recognition accuracy of the control, thereby improving the test coverage and Test accuracy.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a software testing method and device. Background technique [0002] Software testing refers to a process used to facilitate the verification of the correctness, integrity, safety and quality of software. [0003] The current software testing scheme has the problem that some controls cannot be accurately identified, resulting in poor software testing results. For example: for controls that appear randomly and disappear within a short period of time, it is difficult to accurately identify the control due to the lack of control attribute information or insufficient test framework capabilities; for the control of the carousel, although the image recognition can recognize the currently displayed image, However, due to the fast rotation speed, after an image is recognized, the test operation will proceed to the next image, causing the test to fail. [0004] Therefore, a m...

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 BEIJING YUNCE INFORMATION TECH CO LTD