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

Web automation testing method and electronic device

An automated test and a technology to be tested, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as high failure rate and waste of cost, and achieve the effect of improving the test success rate

Inactive Publication Date: 2017-10-10
BEIJING WEIYING TIMES TECH CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a Web automated testing method and electronic equipment, which are used to solve the problems of high failure rate and waste of cost in the existing automated testing method. The present invention provides a Web automated testing solution, which can improve Web test execution success rate

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 automation testing method and electronic device
  • Web automation testing method and electronic device
  • Web automation testing method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] A web automation testing solution according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

[0048] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0049] figure 1 A flow chart of Embodiment 1 of a Web automated testing method provided by the present invention, such as figure 1 As shown, the method of this embodiment may include:

[0050] Step 101, access the webpage to be tested.

[0051] In this embodiment, the webpage to be tested can be accessed through Selenium, a web application testing tool.

[0052] Step 102, judging whether the webpage to be tested is successfully loaded, if yes, execute step 103, otherwis...

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 Web automation testing method and an electronic device, and relates to the field of automation testing. The web automation testing method promotes the success rate of Web testing execution. The testing method comprises the steps that a web page to be tested is accessed, whether or not the loading of the web page to be tested is successful is judged, if the loading of the web page to be tested is successful, the positioning of a target element is conducted on the web page to be tested; if the target element is not located, whether or not the presence of a floating layer or a popup window is in the web page to be tested is judged, if the floating layer or the popup window is present in the web page to be tested, after the floating layer or the popup window is closed, the positioning of the target element is re-conducted in the web page to be tested; if the target element is located again from the web page to be tested, an operational test is conducted on the target element. The Web automation testing method is applied to webpage testing in various operating systems.

Description

technical field [0001] The invention relates to the field of automated testing, in particular to a web automated testing method and electronic equipment. Background technique [0002] Automated testing is an important part of software product quality assurance. In daily research and development, due to rapid iteration, we often need to perform regression testing of the main process on each business line. This is also the main application and embodiment of the efficiency of functional automated testing . In the functional automation test of the web and mobile terminals, through the script code operation interface, click, slide and other operations are performed to simulate the user to complete a series of functional processes. However, in this process, it is usually impossible to predict how the network environment will affect the page loading time. And pop-up pages such as advertisements temporarily configured by website operators. Therefore, the accuracy of judging the loa...

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/3668
Inventor 黄昊王全红
Owner BEIJING WEIYING TIMES TECH CO LTD
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