Browser testing method and device
A test method and test device technology, applied in the browser field, can solve the problems of low test efficiency and achieve the effect of improving test efficiency and reducing operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0016] refer to figure 1 As shown, the first embodiment of the present invention provides a browser testing method, which includes the following steps:
[0017] Step S1, providing a test entry page, in which an automatically executed module, a control for loading pages, and a web page address (URL, full name Uniform Resource Locator, also known as Uniform Resource Locator) are defined in the test entry page. characters), each webpage address in the list points to a test page, and the automatically executed module is used to obtain a webpage address from the list each time, and provide the webpage address to the webpage for loading the page The control used to load the page loads the test page pointed to by the web page address;
[0018] Step S2, start a browser, input an entry webpage address to the browser, and the entry webpage address points to the test entry page;
[0019] Step S3, during the process of sequentially loading the test page by the browser, whether the proce...
no. 2 example
[0034] Although the browser testing method provided according to the first embodiment can improve the test efficiency, in the process of sequentially loading the test pages by the browser, once the process of listening to the browser does not exist, the output of the test result including abnormal information indicates the browser's failure. The stability of the webpage loaded by the kernel is not good, and the contingency of the test results cannot be avoided, so that the accuracy of the obtained test results is low, and it is impossible to provide users with more comprehensive reference data.
[0035] To further address the above issues, see image 3 As shown, the second embodiment provides a browser testing method. Compared with the browser testing method of the first embodiment, the above-mentioned step S4 includes if the browser is always listening to the browser during the sequential loading of each test page. If the process to the browser exists, then outputting a test ...
no. 3 example
[0044] refer to Figure 4 As shown, the third embodiment of the present invention provides a browser testing device 100 , which includes a providing module 101 , an input module 102 , a monitoring module 103 and an output module 104 . It can be understood that the above-mentioned modules refer to computer programs or program segments for performing one or more specific functions. In addition, the distinction between the above modules does not mean that the actual program code must also be separated.
[0045] Provide module 101, be used for providing a test entry page, in this test entry page define an automatically executed module, a control for loading the page and a list including a plurality of web page addresses, each web page in the list The addresses point to a test page respectively, and the automatically executed module is used to obtain a webpage address from the list each time, and provide the webpage address to the control for loading the page, and the control for ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 