A browser page testing method, system and terminal
A browser page, testing method technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as low test efficiency and poor test stability, and achieve the effect of improving test stability and test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It shows the implementation process of the browser page testing method provided by an embodiment of the present invention. The process execution subject of this embodiment is a terminal installed with a browser page, and the browser obtains network information through a background server. The process is detailed as follows:
[0030] In step S101, a browser to be tested is started, and a page test script corresponding to the browser is acquired.
[0031] In one embodiment of the present invention, before step S101 includes:
[0032] 1) Obtain the local network address.
[0033] 2) Set the proxy address of the browser to the local network address.
[0034] In this embodiment, the local network address is the local IP address (Internet Protocol Address, Internet Protocol Address) of the terminal.
[0035] In the present embodiment, if the browser to be tested is not a preset browser, the browser's HTTP (HyperText Transfer Protocol, hypertext transfer protocol)...
Embodiment 2
[0098] image 3 Shows the test system 100 of the browser page provided by an embodiment of the present invention, for executing figure 1 The method steps in the corresponding embodiments are applied to a terminal equipped with a browser, and the browser obtains network information through a background server, and the test system 100 of the browser page includes:
[0099] The test script acquiring module 110 is configured to start the browser to be tested, and acquire the page test script corresponding to the browser.
[0100] The test step selection module 120 is configured to select a test step from the test steps included in the page test script, and execute the selected test step.
[0101] The test information acquisition module 130 is used to count the number of currently unprocessed resource request information during the execution of the selected test steps, and obtain the CPU utilization rate of the terminal occupied by the browser. The resource request information is ...
Embodiment 3
[0124] Figure 5 It is a schematic diagram of a terminal provided by an embodiment of the present invention. Such as Figure 5 As shown, the terminal 5 of this embodiment includes: a processor 50 , a memory 51 and a computer program 52 stored in the memory 51 and operable on the processor 50 . When the processor 50 executes the computer program 52, it realizes the steps of each embodiment as described in Embodiment 1, for example figure 1 Step S101 to step S104 are shown. Alternatively, when the processor 50 executes the computer program 52, it realizes the functions of each module / unit in each system embodiment as described in Embodiment 2, for example image 3 The functions of modules 110 to 140 are shown.
[0125] Exemplarily, the computer program 52 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 51 and executed by the processor 50 to complete this invention. The one or more modules / units may be a series of co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


