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

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 problems such as inability to accurately identify controls, difficulty in accurately identifying controls, and poor software testing effects, so as to improve test coverage and test accuracy, and improve recognition accuracy. Effect

Active Publication Date: 2019-05-14
BEIJING YUNCE INFORMATION TECH CO LTD
View PDF8 Cites 3 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
  • Software testing method and device
  • Software testing method and device
  • 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 invention discloses a software testing method and device. The method comprises the following steps: determining a target area in a screenshot of a to-be-tested software interface, wherein the target area is an area expected to comprise a target control; determining a target sub-region in the target region, wherein the target sub-region is a region occupied by a preset feature color of the target control; And if it is determined that the target sub-region is matched with the expected region range, executing a test operation on the target sub-region. Visibly, the feature color is set for thecontrol, and the area occupied by the feature color in the screenshot of the to-be-tested software interface is determined to identify and test the control, so that the control identification accuracy can be effectively improved, and the test coverage rate and the test precision are further improved.

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 戴亦斌谢春鸿景成新
Owner BEIJING YUNCE INFORMATION TECH CO LTD