Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automated testing method and device for software interface

An automated testing and software interface technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as difficulty in parsing source code and playback, difficulty in correctly identifying interface elements, source code dependencies, etc.

Active Publication Date: 2019-04-05
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide an automated testing method and device for a software interface to solve the problem that the current analytical playback test method is too dependent on the source code of the tested object, and it is difficult to correctly identify interface elements, and there are many popular programming languages. and replay the harder questions

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
  • Automated testing method and device for software interface
  • Automated testing method and device for software interface
  • Automated testing method and device for software interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0091] Such as figure 1 As shown, the embodiment of the present invention provides a kind of automatic testing method of software interface, comprising:

[0092] Step 101 , recording the running process of the software to be tested, intercepting key operation screens of the software to be tested by human beings, and recording the human operation information and test data used by the human operation.

[0093] Step 102: Identify the image of the control where t...

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 an automatic test method and device for a software interface and relates to the technical field of a computer software test. The method comprises the steps of recording an operation process of to-be-tested software, intercepting key operation images of artificially operating the to-be-tested software and recording artificial operation information and test data employed by artificial operations; identifying an image of a control in which an operation focus is located, determining a partial image capable of uniformly validating an operated object from the image of the control in which the operation focus is located, and intercepting the partial image; determining target operation information and target test data of the operated object; automatically operating the to-be-tested software, and identifying a target operation object in a to-be-tested software interface according to the operated object in the partial image; filling data in the target operation object according to the target test data and operating the target operation object according to the target operation information, thereby generating a test result; and judging whether the test of the target operation object is successful or not according to the test result.

Description

technical field [0001] The invention relates to the technical field of computer software testing, in particular to an automatic testing method and device for a software interface. Background technique [0002] Currently, software testing is the process of executing a software program in order to find errors in the software program, and the main work content of software testing is verification and validation. Among them, verification is a series of activities to ensure that the software correctly implements the established functions, that is, to ensure that the software does what is expected. Confirmation is a series of activities and processes, the purpose of which is to verify the logical correctness of the software in a given external environment, that is, to ensure that the software does the established events in the correct way. [0003] With the development of software development technology, agile development has become the mainstream development model. The purpose o...

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/3644G06F11/3688
Inventor 周广增黄元炯叶建锋曾旭峰
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products