CN111026638A - Webpage automatic testing method and device, electronic equipment and storage medium - Google Patents

Webpage automatic testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111026638A
CN111026638A CN201911037558.6A CN201911037558A CN111026638A CN 111026638 A CN111026638 A CN 111026638A CN 201911037558 A CN201911037558 A CN 201911037558A CN 111026638 A CN111026638 A CN 111026638A
Authority
CN
China
Prior art keywords
webpage
code
acquiring
test
performance data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911037558.6A
Other languages
Chinese (zh)
Inventor
安宇鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beike Technology Co Ltd
Original Assignee
Beike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201911037558.6A priority Critical patent/CN111026638A/en
Publication of CN111026638A publication Critical patent/CN111026638A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a webpage automatic testing method, a webpage automatic testing device, electronic equipment and a storage medium, wherein the method comprises the following steps: in the process of executing the automatic test of the user interface of the webpage, when the rendering of the webpage is completed, injecting a code for acquiring the performance data of the webpage and running; and acquiring and outputting the performance data of the webpage. The scheme can simultaneously realize the automatic test of the user interface of the webpage and the automatic test of the performance of the webpage, improve the test efficiency and reduce the test cost.

Description

Webpage automatic testing method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of automatic testing, in particular to a method and a device for automatically testing a webpage, electronic equipment and a storage medium.
Background
With the rapid development of internet technology, internet products grow exponentially, wherein web application products grow particularly rapidly, and the quality guarantee of web products is increasingly important while the products grow rapidly and iteratively. In the process of rapid iteration of web application, in order to guarantee quality, the workload of test regression is required to be increased day by day, so that automatic test of the web is urgently needed to replace manual test, and the test efficiency is greatly improved.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for automatically testing a web page, an electronic device, and a storage medium, which can simultaneously implement an automatic test of a user interface of a web page and an automatic test of a web page performance, improve a test efficiency, and reduce a test cost.
In order to solve the technical problem, the technical scheme of the application is realized as follows:
in one embodiment, a method for web page automated testing is provided, the method comprising:
in the process of executing the automatic test of the user interface of the webpage, when the rendering of the webpage is completed, injecting a code for acquiring the performance data of the webpage and running;
and acquiring and outputting the performance data of the webpage.
Wherein the method further comprises:
and packaging the injected codes for acquiring the performance of the webpage and the automatic test codes of the user interface of the webpage into the automatic test codes of the webpage.
Wherein the injecting code for obtaining performance data of the web page comprises:
injecting code for acquiring performance data of the webpage through a page injection page.
Wherein when the page rendering is complete, the method further comprises:
injecting a console error-reporting monitoring code and operating;
and when the type of the monitoring output is determined to be the error type, recording the error information of the console.
Wherein the method further comprises:
and packaging the injected codes for acquiring the performance of the webpage, the console error reporting monitoring codes and the user interface automatic test codes of the webpage into the webpage automatic test codes of the webpage.
Wherein the method further comprises:
using nodejs to build a user interface automatic test system of the webpage; and/or the presence of a gas in the gas,
injecting a code for acquiring performance data of the webpage, monitoring console error reporting information and positioning of interaction between page dom elements and the page by using an interface provided by puppieeer; and/or the presence of a gas in the gas,
compiling a test case of the automatic test of the webpage by using the mocha framework; and/or the presence of a gas in the gas,
the web page automation case is automatically executed using the gitlab ci.
In another embodiment, there is provided a web page automation test apparatus, the apparatus including: the device comprises an execution unit, an injection unit, an acquisition unit and an output unit;
the execution unit is used for executing the user interface automation test of the webpage; and running the code injected by the injection unit;
the injection unit is used for injecting a code for acquiring the performance data of the webpage and running the code when the webpage rendering is finished in the process of automatically testing the user interface of the webpage by the execution unit;
the acquisition unit is used for acquiring the performance data of the webpage when the execution unit runs the injected code;
and the output unit is used for outputting when the acquisition unit acquires the performance data of the webpage.
Wherein the content of the first and second substances,
the injection unit is further used for packaging the injected codes for acquiring the webpage performance and the user interface automation test codes of the webpage into the webpage automation test codes of the webpage.
Wherein the content of the first and second substances,
the injection unit is specifically configured to inject, when injecting the code for acquiring the performance data of the web page, the code for acquiring the performance data of the web page by a page injection page.
Wherein the content of the first and second substances,
the injection unit is further used for injecting a console error-reporting monitoring code when the page rendering is finished;
the execution unit is further configured to run the console error reporting monitoring code injected by the injection unit;
the acquisition unit is further used for acquiring a monitoring output type;
the output unit is further configured to, when the obtaining unit determines that the type of the monitoring output is an error type, record in a console error report information.
Wherein the content of the first and second substances,
the injection unit is further used for packaging the injected codes for acquiring the webpage performance, the console error reporting monitoring codes and the user interface automation test codes of the webpage into the webpage automation test codes of the webpage.
Wherein the content of the first and second substances,
the automatic test system of the user interface of the webpage is built through nodejs; and/or the presence of a gas in the gas,
injecting a code for acquiring performance data of the webpage, monitoring console error reporting information and positioning interaction between page dom elements and the page, and realizing the positioning by using an interface provided by puppeteer; and/or the presence of a gas in the gas,
a test case of the automatic test of the webpage is compiled by using a mocha frame; and/or the presence of a gas in the gas,
the automated test case is automatically executed using gitlab ci.
In another embodiment, an electronic device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the web page automation test method when executing the program.
In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the web page automation test method.
According to the technical scheme, when the test script of the user interface of the webpage is executed, the code for acquiring the performance of the webpage is injected to automatically acquire and output the performance data of the webpage. The scheme can simultaneously realize the automatic test of the user interface of the webpage and the automatic test of the performance of the webpage, improve the test efficiency and reduce the test cost.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a schematic view illustrating an automated testing process of a web page according to an embodiment of the present application;
FIG. 2 is a schematic view illustrating an automated testing process of a web page according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of an apparatus for implementing the above technique in an embodiment of the present application;
fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail with specific examples. Several of the following embodiments may be combined with each other and some details of the same or similar concepts or processes may not be repeated in some embodiments.
The embodiment of the application provides a webpage automatic testing method, which is applied to a webpage automatic testing device, wherein the device can be a PC and the like. The performance data of the webpage is automatically acquired and output by injecting code for acquiring the performance of the webpage when a test script of a user interface of the webpage is executed. The scheme can simultaneously realize the automatic test of the user interface of the webpage and the automatic test of the performance of the webpage, improve the test efficiency and reduce the test cost.
The following describes in detail a process for implementing web page automation test in the embodiment of the present application with reference to the accompanying drawings.
In the embodiment of the application, firstly, a user interface automatic test system of a webpage needs to be built, and specifically, the user interface automatic test system of the webpage is built by using nodejs; and/or injecting a code for acquiring the performance data of the webpage, monitoring error report information of a console and positioning interaction between a page dom element and a page by using an interface provided by puppeteer; and/or writing a test case of the automatic test by using the mocha framework; and/or, automatically performing an automated case using gitlab ci.
The following settings are required in the process of building the user interface automatic test system of the webpage:
a directory, such as a config directory, for storing configuration files, wherein the configuration files include: the configuration of a browser, the storage position of a test report, the configuration of uniform management of page URL and the like;
generating a path of a test report after executing the case each time, such as mochawousome-report;
npm rely on the package to store a catalog: such as node _ modules, nmp dependency packages including puppeteer, mocha, request, etc.;
the test cases and contents of pageinstance stored in the core, such as a test directory, usually one pageinstance corresponds to all element packages and element operations under one page, and the interaction between the pages is used by way of reference.
The mocha framework is used for compiling the test case of the automated test, and the method specifically comprises the following steps:
the method comprises the steps of identifying a group of related tests by using a test suite, wherein one test case is a minimum unit of the test so as to be convenient for subsequent injection of codes for acquiring performance data of a webpage, and the test suite is packaged after a console reports an error and monitors the codes.
Taking the test case of the PC homepage (a test suite is set for the web page automation test of the page) as an example:
firstly, a test suite of the page (PC station home page) calls a test base class (baseTest) first, opens a browser and jumps to the PC station home page, and injects a code for acquiring performance data of a webpage of the page;
secondly, calling an element checking method packaged in the pageinstance to detect whether the search box element exists or not;
thirdly, opening a new tab for the search operation, and judging whether the URL of the new page conforms to the expected result; and finally, calling an after method of baseTest to close the browser after all steps are executed.
Example one
Referring to fig. 1, fig. 1 is a schematic view illustrating a process of automated web page testing according to an embodiment of the present application. The method comprises the following specific steps:
step 101, in the process of executing the automatic test of the user interface of the webpage, when the rendering of the webpage is completed, injecting a code for acquiring the performance data of the webpage and running.
Since the client cannot directly inject the code for acquiring the performance data of the web page, in the embodiment of the present application, the code for acquiring the performance data of the web page is injected by using an interface provided by puppeter through a page injection (page.evaluation) method, that is, the performance data of the web page is acquired by executing window in the context of a page instance through a page.evaluation method encapsulated by api of puppeter, where the acquired performance data of the web page includes: the DNS analysis time, the TCP connection establishment time, the white screen time, the DOM rendering time, the page loading time and the like can be set according to actual application.
And 102, acquiring and outputting the performance data of the webpage.
In a specific implementation, when an automated test on a page is performed for the first time, in a test process of a user interface (step 101), a code for acquiring performance data of the web page is injected while performing the performance test, and after the web page automated test (the user interface automated test and the web page performance automated test of the web page) that is completed this time is performed, the following operations may be further performed:
and packaging the injected codes for acquiring the performance of the webpage and the automatic test codes of the user interface of the webpage into the automatic test codes of the webpage for the subsequent automatic test of the webpage.
By adopting the mode, the user interface of the webpage and the automatic test of the performance of the webpage can be realized at the same time by injecting the code for acquiring the performance data of the webpage in the automatic test process of the user interface of the webpage, so that the automatic test efficiency of the webpage is improved, and the cost of the automatic test is reduced; and the injected codes for acquiring the performance data of the webpage and the codes for automatically testing the user interface of the webpage are packaged aiming at the corresponding page, so that the subsequent test on the page is facilitated, the test efficiency of the page is further improved, and the test cost is reduced.
Example two
Referring to fig. 2, fig. 2 is a schematic view illustrating a web page automated testing process according to a second embodiment of the present application. The method comprises the following specific steps:
step 201, in the process of executing the automatic test of the user interface of the webpage, when the rendering of the webpage is completed, injecting a code for acquiring the performance data of the webpage, and a console error-reporting monitoring code and running.
Implementation of injection of code for obtaining performance data of a web page:
since the client cannot directly inject the code for acquiring the performance data of the web page, in the embodiment of the present application, the code for acquiring the performance data of the web page is injected by using an interface provided by puppeter through a page injection (page.evaluation) method, that is, the performance data of the web page is acquired by executing window in the context of a page instance through a page.evaluation method encapsulated by api of puppeter, where the acquired performance data of the web page includes: the DNS analysis time, the TCP connection establishment time, the white screen time, the DOM rendering time, the page loading time and the like can be set according to actual application.
Injection of error-reporting listening codes for consoles:
in specific implementation, the output of the console is monitored by using a page object event (page. on ('console') of puppeteer, and when the type of the monitored output is judged to be error, the error information of the console is recorded.
Step 202, if the performance data of the webpage is obtained, outputting the performance data; if the type of the monitoring output is determined to be the error type, recording the error information of the control console.
The performance data of the web page acquired in the embodiment of the application can be written into a test report through a mochawousome/addContext interface when performing data processing and recording error information of the console.
In specific implementation, when an automated test on a page is performed for the first time, in the test process of the user interface (step 201), a code for acquiring performance data of the web page and a code for monitoring error report of the console are injected and the web page automated test is performed, and the web page automated test (the user interface automated test, the web page performance automated test, and the error report monitoring of the web page) completed this time is performed. After the injected code for acquiring the web page performance and the console error monitoring code are reported, the following operations can be further performed:
and packaging the injected codes for acquiring the performance of the webpage, the console error reporting monitoring codes and the user interface automatic test codes of the webpage into the webpage automatic test codes of the webpage for subsequent webpage automatic test of the webpage.
By adopting the mode, the automatic test of the user interface of the webpage, the automatic test of the performance of the webpage and the error monitoring can be realized simultaneously by injecting the code for acquiring the performance data of the webpage and the error monitoring code of the control console in the automatic test process of the user interface of the webpage, so that the automatic test efficiency of the webpage is improved, and the cost of the automatic test is reduced; and the injected codes for acquiring the performance data of the webpage and the codes for the console error reporting monitoring codes and the user interface automatic test of the webpage are encapsulated aiming at the corresponding page, so that the subsequent test of the page is facilitated, the test efficiency of the page is further improved, and the test cost is reduced.
In the embodiment of the application, the automatic testing time of the webpage can be set, wherein the testing time can be cycle time or specific time, the automatic testing of the webpage is automatically executed, and the packaged webpage automatic testing code is directly called; therefore, test iteration can be automatically realized, cases of manual test are greatly reduced, and the efficiency of on-line test and the quality of on-line products are improved.
The CI integration construction can be added after the use case design and development are completed, the automatic test of the webpage plays a role in the entry-entry and exit-entry stage of the project, the code can be automatically executed after being submitted each time in a gitlab CI mode, the mail can be automatically sent to the development of the finally submitted code when the execution fails, developers can see which cases do not pass, and the manual regression amount of the test is greatly reduced.
The construction steps are as follows:
firstly, configuring a gitlab runner;
secondly, pulling a code of an automatic case on a machine where the runner is located, and installing related dependence;
step three, configuring gitlab-ci.yml, automatically pulling the latest case code after submitting the code each time and executing the automatic script of the corresponding system;
fourthly, after the execution is finished, the test report is archived, the test report can be downloaded through pipeline in the git warehouse, and the execution failure automatically sends an email to the submitter.
According to the method and the device, a web automatic testing framework is built based on puppeteer, UI automatic testing, web performance testing, custom automatic case execution, test report generation and gitlab ci pipeline execution can be completed. The automatic testing of the webpage can be comprehensively realized, and the testing efficiency is improved.
Based on the same inventive concept, the embodiment of the application also provides a webpage automatic testing device. Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus applied to the above technology in the embodiment of the present application. The device includes: an execution unit 301, an injection unit 302, an acquisition unit 303, and an output unit 304;
the execution unit 301 is used for executing the user interface automation test of the webpage; and runs the code injected by the injection unit 302;
an injection unit 302, configured to inject, by the execution unit 301, a code for acquiring performance data of a web page and run the code when rendering of the web page is completed in a process of executing an automated test on a user interface of the web page;
an obtaining unit 303, configured to obtain performance data of the web page when the execution unit 301 runs the injected code;
an output unit 304, configured to output when the obtaining unit 303 obtains the performance data of the web page.
Preferably, the first and second electrodes are formed of a metal,
the injection unit 302 is further configured to encapsulate the injected code for acquiring the web page performance and the user interface automation test code of the web page as the web page automation test code of the web page.
Preferably, the first and second electrodes are formed of a metal,
the injection unit 302 is specifically configured to, when injecting the code for acquiring the performance data of the web page, inject the code for acquiring the performance data of the web page by using a page injection page.
Preferably, the first and second electrodes are formed of a metal,
the injection unit 302 is further configured to inject a console error-reporting monitoring code when the page rendering is completed;
the execution unit 301 is further configured to run the console error monitoring code injected by the injection unit 302;
an obtaining unit 303, further configured to obtain a monitoring output type;
and the output unit 304 is further configured to, when the obtaining unit 303 determines that the type of the monitoring output is an error type, log in console error report information.
Preferably, the first and second electrodes are formed of a metal,
the injection unit 302 is further configured to encapsulate the injected code for acquiring the web page performance, the console error reporting monitoring code, and the user interface automation test code of the web page into the web page automation test code of the web page.
Preferably, the first and second electrodes are formed of a metal,
the automatic test system of the user interface of the webpage is built through nodejs; and/or the presence of a gas in the gas,
injecting a code for acquiring performance data of the webpage, monitoring console error reporting information and positioning interaction between page dom elements and the page, and realizing the positioning by using an interface provided by puppeteer; and/or the presence of a gas in the gas,
the test case of the automatic test of the webpage is compiled by using a mocha frame; and/or the presence of a gas in the gas,
the automated test case is automatically executed using gitlab ci.
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
In another embodiment, an electronic device is also provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the web page automated testing method when executing the program.
In another embodiment, a computer readable storage medium is also provided, having stored thereon computer instructions, which when executed by a processor, implement the steps in the web page automation test method.
Fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 4, the electronic device may include: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the following method:
in the process of executing the automatic test of the user interface of the webpage, when the rendering of the webpage is completed, injecting a code for acquiring the performance data of the webpage and running;
and acquiring and outputting the performance data of the webpage.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. An automated webpage testing method, the method comprising:
in the process of executing the automatic test of the user interface of the webpage, when the rendering of the webpage is completed, injecting a code for acquiring the performance data of the webpage and running;
and acquiring and outputting the performance data of the webpage.
2. The method of claim 1, further comprising:
and packaging the injected codes for acquiring the performance of the webpage and the automatic test codes of the user interface of the webpage into the automatic test codes of the webpage.
3. The method of claim 1, wherein injecting code for obtaining performance data for the web page comprises:
injecting code for acquiring performance data of the webpage through a page injection page.
4. The method of claim 1, wherein when rendering of a page is complete, the method further comprises:
injecting a console error-reporting monitoring code and operating;
and when the type of the monitoring output is determined to be the error type, recording the error information of the console.
5. The method of claim 4, further comprising:
and packaging the injected codes for acquiring the performance of the webpage, the console error reporting monitoring codes and the user interface automatic test codes of the webpage into the webpage automatic test codes of the webpage.
6. The method of claim 4 or 5, further comprising:
using nodejs to build a user interface automatic test system of the webpage; and/or the presence of a gas in the gas,
injecting a code for acquiring performance data of the webpage, monitoring console error reporting information and positioning of interaction between page dom elements and the page by using an interface provided by puppieeer; and/or the presence of a gas in the gas,
compiling a test case of the automatic test of the webpage by using the mocha framework; and/or the presence of a gas in the gas,
the web page automation case is automatically executed using the gitlab ci.
7. An automated web page testing apparatus, the apparatus comprising: the device comprises an execution unit, an injection unit, an acquisition unit and an output unit;
the execution unit is used for executing the user interface automation test of the webpage; and running the code injected by the injection unit;
the injection unit is used for injecting a code for acquiring the performance data of the webpage and running the code when the webpage rendering is finished in the process of automatically testing the user interface of the webpage by the execution unit;
the acquisition unit is used for acquiring the performance data of the webpage when the execution unit runs the injected code;
and the output unit is used for outputting when the acquisition unit acquires the performance data of the webpage.
8. The apparatus of claim 7,
the injection unit is further used for packaging the injected codes for acquiring the webpage performance and the user interface automation test codes of the webpage into the webpage automation test codes of the webpage.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1-6 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 6.
CN201911037558.6A 2019-10-29 2019-10-29 Webpage automatic testing method and device, electronic equipment and storage medium Pending CN111026638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911037558.6A CN111026638A (en) 2019-10-29 2019-10-29 Webpage automatic testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911037558.6A CN111026638A (en) 2019-10-29 2019-10-29 Webpage automatic testing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111026638A true CN111026638A (en) 2020-04-17

Family

ID=70204648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911037558.6A Pending CN111026638A (en) 2019-10-29 2019-10-29 Webpage automatic testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111026638A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694735A (en) * 2020-05-28 2020-09-22 北京城市网邻信息技术有限公司 Page performance testing method and device, electronic equipment and storage medium
CN112068824A (en) * 2020-09-16 2020-12-11 杭州海康威视数字技术股份有限公司 Webpage development preview method and device and electronic equipment
CN113986322A (en) * 2021-12-29 2022-01-28 天津联想协同科技有限公司 Method, device and storage medium for dynamically modifying page codes
CN114691530A (en) * 2022-06-01 2022-07-01 广州世炬网络科技有限公司 Communication end-to-end automatic test method and platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100325615A1 (en) * 2009-06-23 2010-12-23 Myspace Inc. Method and system for capturing web-page information through web-browser plugin
CN104375940A (en) * 2014-11-28 2015-02-25 浪潮电子信息产业股份有限公司 Debugging method for JavaScript files
US20150089299A1 (en) * 2013-09-25 2015-03-26 Microsoft Corporation Online application testing across browser environments
CN108121650A (en) * 2016-11-29 2018-06-05 腾讯科技(深圳)有限公司 A kind of test method and device for page user interface
CN108897684A (en) * 2018-06-28 2018-11-27 郑州云海信息技术有限公司 A kind of feed-back type webpage automatic test script design method based on TestNG
CN109947637A (en) * 2017-12-21 2019-06-28 中国移动通信集团重庆有限公司 Webpage compatibility automated test method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100325615A1 (en) * 2009-06-23 2010-12-23 Myspace Inc. Method and system for capturing web-page information through web-browser plugin
US20150089299A1 (en) * 2013-09-25 2015-03-26 Microsoft Corporation Online application testing across browser environments
CN104375940A (en) * 2014-11-28 2015-02-25 浪潮电子信息产业股份有限公司 Debugging method for JavaScript files
CN108121650A (en) * 2016-11-29 2018-06-05 腾讯科技(深圳)有限公司 A kind of test method and device for page user interface
CN109947637A (en) * 2017-12-21 2019-06-28 中国移动通信集团重庆有限公司 Webpage compatibility automated test method, device, equipment and medium
CN108897684A (en) * 2018-06-28 2018-11-27 郑州云海信息技术有限公司 A kind of feed-back type webpage automatic test script design method based on TestNG

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111694735A (en) * 2020-05-28 2020-09-22 北京城市网邻信息技术有限公司 Page performance testing method and device, electronic equipment and storage medium
CN111694735B (en) * 2020-05-28 2023-07-21 北京城市网邻信息技术有限公司 Page performance testing method and device, electronic equipment and storage medium
CN112068824A (en) * 2020-09-16 2020-12-11 杭州海康威视数字技术股份有限公司 Webpage development preview method and device and electronic equipment
CN113986322A (en) * 2021-12-29 2022-01-28 天津联想协同科技有限公司 Method, device and storage medium for dynamically modifying page codes
CN113986322B (en) * 2021-12-29 2022-03-11 天津联想协同科技有限公司 Method, device and storage medium for dynamically modifying page codes
CN114691530A (en) * 2022-06-01 2022-07-01 广州世炬网络科技有限公司 Communication end-to-end automatic test method and platform

Similar Documents

Publication Publication Date Title
CN111026638A (en) Webpage automatic testing method and device, electronic equipment and storage medium
US9940225B2 (en) Automated error checking system for a software application and method therefor
US10073761B2 (en) Legacy system
CA2797451A1 (en) System for identifying and inferring web session events
US9262311B1 (en) Network page test system and methods
CN104281518A (en) Terminal application test method, device, system and platform and mobile terminal
CN108255708B (en) Method, device, storage medium and equipment for accessing production file in test environment
CN111124919A (en) User interface testing method, device, equipment and storage medium
CN104035863B (en) A kind of browser testing method and device
CN108920146A (en) Page control assembly and visual Simulation operating system
US10606586B2 (en) Application architecture generation
JP5213671B2 (en) Test case selection method and selection system
CN104331369A (en) Browser-based webpage detection method and device, and server
CN103186463B (en) Determine the method and system of the test specification of software
CN112241360A (en) Test case generation method, device, equipment and storage medium
EP3447635A1 (en) Application architecture generation
CN111221721B (en) Automatic recording and executing method and device for unit test cases
CN110543429A (en) Test case debugging method and device and storage medium
CN107038117B (en) Web automatic testing method based on definition-reference between event processing functions
CN109697164A (en) Test method, device, storage medium and the terminal of App have been adjusted in browser
CN113031995B (en) Rule updating method and device, storage medium and electronic equipment
CN110633199A (en) Testing apparatus, method, and medium for block chain supporting intelligent contract
CN115168175A (en) Program error solving method, device, electronic equipment and storage medium
CN115757088B (en) Fault injection method, device and equipment based on environment variable
US20220164207A1 (en) System for providing an adaptable plugin framework for application transformation to cloud

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination