User interface testing method and device

A user interface and test case technology, applied in the field of data processing, can solve the problems of increasing test costs and thresholds, and high maintenance costs of business buried points, and achieves the effect of reducing test costs and technical requirements.

Pending Publication Date: 2020-12-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] As a result, testers need to have a certain programming foundation to complete the writing and maintenance of test cases, and the maintenance cost of business embedding is high, which increases the test cost and threshold

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
  • User interface testing method and device
  • User interface testing method and device
  • User interface testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present application are described below in conjunction with the accompanying drawings.

[0037] At present, for the testing method of the user interface, the test case of the user interface is mainly generated by coding, and then test points are embedded in the business, so as to realize the test of the user interface by running the test case. This method requires testers to have a certain programming foundation, and the maintenance cost for business buried points is high, which increases the test cost and threshold.

[0038] To this end, the embodiment of the present application provides a user interface testing method. Before introducing the user interface testing method provided by the embodiment of the present application, it should be explained that when the user performs an operation on the UI, the system responds to the user operation usually based on a one-way data flow. Wherein, with regard to the unidirectional data flow, it can be understo...

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 embodiment of the invention discloses a user interface test method and device, and the method comprises the steps of generating a test case according to the recording of a user interface test process of a target business, and enabling the test case to be used for identifying an action event generated in the user interface test process, wherein the target business obtains a corresponding relationship between a data state and a virtual document object model by responding to the action event. If the user interface of the target service is tested, obtaining a test case; triggering an action event identified by the test case for a user interface of the target service, and obtaining a corresponding to-be-determined data state and a to-be-determined virtual document object model; and determining a test result according to a comparison result of the to-be-determined data state and the to-be-determined virtual document object model with the data state and the virtual document object model determined according to the corresponding relationship. According to the method, the technical requirements on testers are reduced, points do not need to be buried in the target service, and the test cost is further reduced.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a user interface testing method and device. Background technique [0002] Smart terminals can provide users with various business services through browsers. When providing business services, a user interface (User Interface, UI) corresponding to the business may be displayed on the browser, and the user obtains the business service by interacting with UI actions. [0003] In order to ensure the stability of business services, it is necessary to test the UI of the business. The current automated testing method needs to write corresponding test codes for different businesses to generate test cases, and it is necessary to bury test points in the business to realize UI testing by running test cases. [0004] As a result, testers need to have a certain programming foundation to complete the writing and maintenance of test cases, and the maintenance cost of business embedding...

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/36G06F9/451
CPCG06F11/3688G06F9/451
Inventor 郭润增耿志军周俊岑东益卢鑫畅江岱霖
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products