Automatic page testing method and device, computer equipment and storage medium

An automated testing and page technology, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as reducing test efficiency and time-consuming, and achieve the effects of improving test efficiency, improving standardization, and reducing labor costs

Pending Publication Date: 2020-03-24
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For different test items, each page contained in it requires a tester with high professional ability to manually edit the page element positioning script for positioning, which is time-consuming and greatly reduces the test efficiency

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
  • Automatic page testing method and device, computer equipment and storage medium
  • Automatic page testing method and device, computer equipment and storage medium
  • Automatic page testing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0031] The page automation testing method provided by the embodiment of the present invention can be applied to an element positioning tool for effectively locating page elements, realizing the execution of test cases, and improving the efficiency and accuracy of automated test cases. This page automated testing method can be applied in such as figure 1 An application environment in which a computer device communicates with a server over a network....

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 an automatic page testing method and device, computer equipment and a storage medium, and the method comprises the steps: receiving a to-be-tested page address, obtaining at least one to-be-positioned element based on a to-be-tested page corresponding to the to-be-tested page address, and enabling each to-be-positioned element to correspond to a feature label; preliminarilypositioning the to-be-positioned element according to the element positioning priority based on the feature tag to obtain an element positioning result, wherein the element positioning result corresponds to an element type; according to the element type, adopting a function positioning logic corresponding to the element type to generate a positioning function corresponding to the element to be positioned, wherein the function positioning logic comprises an initial variable; receiving a parameter value corresponding to a target variable, wherein the target variable corresponds to the initial variable; and testing according to the positioning function and the parameter value corresponding to the target variable, so that the positioning effectiveness can be improved, and the testing efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of element positioning, in particular to a page automation testing method, device, computer equipment and storage medium. Background technique [0002] At present, in the process of automated testing, testers need to manually edit automated test scripts and design test cases. In the process of developing automated test scripts, the main thing is to locate page elements, so that page elements can be operated to realize automated testing. For different test items, each page it contains requires a tester with high professional ability to manually edit the page element positioning script for positioning, which is time-consuming and greatly reduces the test efficiency. Contents of the invention [0003] Embodiments of the present invention provide a method, device, computer equipment, and storage medium for automatic page testing to solve the problem that at present, automated test scripts require highl...

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/3684G06F11/3688
Inventor 余娟娟
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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