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

A software testing method and device

A software testing method and technology for software to be tested, applied in the computer field, can solve problems such as difficulty in accurately identifying controls, inaccurate identification of controls, and test failures, and achieve the effects of improving recognition accuracy, test coverage and test accuracy

Inactive Publication Date: 2019-04-26
BEIJING YUNCE INFORMATION TECH CO LTD
View PDF7 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
  • 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, based on the pre-recorded attribute information for the target control, to find out the target area where the target control is expected to be located in the screenshot of the interface, and the target ...

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 steps of determining attribute information of a target control in a to-be-tested software interface; Based on theattribute information, determining a target area in an interface screenshot of the to-be-tested software interface, the target area being an area expected to comprise the target control; Determininga 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 an expected region range, executing a test operation on the target sub-region. Visibly, the attribute information is recorded for the control to determine the expected area of the control inthe interface screenshot, and then the area occupied by the feature color of the control in the area is determined to identify the control and perform the related test operation, so that the control identification accuracy can be effectively improved, and the test coverage rate and the test precision are 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
CPCG06F11/3676G06F11/3688
Inventor 戴亦斌谢春鸿景成新
Owner BEIJING YUNCE INFORMATION TECH CO LTD