Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2022-02-25
深圳市奇林软件有限公司
View PDF4 Cites 0 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 browser page testing method, system and terminal to solve the problem of poor test stability and low test efficiency in the prior art by testing browser pages at fixed intervals. The problem

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
  • A browser page testing method, system and terminal
  • A browser page testing method, system and terminal
  • A browser page testing method, system and terminal

Examples

Experimental program
Comparison scheme
Effect test

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...

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 present invention is applicable to the technical field of computer applications, and provides a browser page testing method, system and terminal. The method includes: starting a browser to be tested, and obtaining a page test script corresponding to the browser, and obtaining a page test script from the page test script. Select a test step from the included test steps and execute the selected test step. During the execution of the selected test step, count the number of currently unprocessed resource request information, and obtain the CPU usage rate and resource request of the terminal occupied by the browser. The information is the request information sent by the browser to the background server through the terminal. If the number of unprocessed resource request information is equal to the preset number threshold and the CPU usage rate of the terminal occupied by the browser is lower than the preset usage rate, the execution of the selected resource request information will be stopped. Test steps, and select the remaining test steps from the test steps included in the page test script to re-test, reducing the workload and labor costs of testers.

Description

technical field [0001] The invention belongs to the technical field of computer applications, and in particular relates to a browser page testing method, system and terminal. Background technique [0002] With the development of computer and Internet technology, browsers are becoming more and more important in people's work, study and life. Users can realize information query, online shopping, etc. by operating in the browser page. Usually, in order to ensure the normal use of the browser page, the browser page needs to be tested. The current method for automated testing of browser pages is generally to automatically execute corresponding test steps on the browser page every certain test time (for example, 5 seconds), and the browser page responds to the test steps (for example, loading pictures) . However, due to some reasons (for example, network congestion), the browser page responds slowly to the test step, and the current test step cannot be completed within the test...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672
Inventor 林锦燕
Owner 深圳市奇林软件有限公司