WEB user interface automatic test method and device, equipment and storage medium

An automated testing and user interface technology, applied in the testing field, can solve the problems of high writing threshold, high maintenance cost of automated testing programs, and reducing the value of automated testing of WEB user interfaces.

Pending Publication Date: 2021-03-16
BEIJING YUNCE INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the high threshold for writing WEB user interface automation testing programs and the high maintenance cost of WEB user interface automation testing programs, the value of WEB user interface automation testing is greatly reduced

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
  • WEB user interface automatic test method and device, equipment and storage medium
  • WEB user interface automatic test method and device, equipment and storage medium
  • WEB user interface automatic test method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present application, the following will describe the technical solutions in one or more embodiments of the present application with reference to the accompanying drawings in one or more embodiments of the present application. The technical solution is clearly and completely described, and obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on one or more embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this document.

[0023] figure 1 This is a schematic flowchart of an implementation mode of the WEB user interface automatic testing method of the embodiment of the application, figure 1 The method shown can be executed by the WEB user interface au...

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 provides a WEB user interface automatic test method and device, equipment and a storage medium, and the method comprises the steps: carrying out the analysis of a testinstruction, displayed on a browser of terminal equipment, of a current page of a WEB according to a preset rule, and obtaining a tested target object and a test operation for the target object, wherein the test instruction is written according to a preset natural language grammar; obtaining a screenshot of a current page of the WEB displayed on a browser of the terminal device, and identifying the screenshot of the current page of the WEB to obtain position information of a target object in the current page of the WEB; and performing test operation on the target object according to the position information of the target object to obtain an automatic test result of the user interface. According to the embodiment of the invention, the threshold for writing the WEB user interface automatic test program can be reduced, and the maintenance cost of the WEB user interface automatic test program is reduced.

Description

technical field [0001] The present application relates to the technical field of testing, and in particular, to a global wide area network (World Wide Web, referred to as WEB) user interface (User Interface, referred to as UI) automated testing method, WEB user interface automated testing device, electronic equipment and computer-readable storage media. Background technique [0002] At present, most of the WEB user interface automated tests are built based on Selenium, and the automated test programs are mainly written based on high-level languages ​​such as JAVA\PYTHON, and the positioning of page elements is done using attributes such as control ID\XPATH. If you want to write a stable WEB user interface automated test program, the tester needs to have strong programming skills. The first time to write a WEB user interface automated test program requires a considerable human cost. With the update and iteration of the WEB user interface, it is necessary to Invest a relativel...

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/36G06F8/41G06K9/32G06N20/00
CPCG06F11/3684G06F11/3688G06F8/427G06N20/00G06V20/62
Inventor 王晓磊高强齐鹏飞仇鑫叶菲菲
Owner BEIJING YUNCE INFORMATION TECH 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