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

Testing method and device of webpage access speed

A webpage access and testing method technology, applied in software testing/debugging, special data processing applications, instruments, etc., can solve the problems of automatic, fast, and accurate webpage access speed measurement, and achieve the effect of accurate webpage speed measurement

Active Publication Date: 2012-05-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the main purpose of the present invention is to provide a method and device for testing webpage access speed, which is used to solve the technical problem that the webpage access speed cannot be measured automatically, quickly and accurately in the webpage access speed test based on handheld devices

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
  • Testing method and device of webpage access speed
  • Testing method and device of webpage access speed
  • Testing method and device of webpage access speed

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail by citing the following embodiments and referring to the accompanying drawings.

[0027] figure 1 The flow chart of the browser web page access speed measurement method provided by the present invention, the method includes:

[0028] Step 100, adding a second interface in the browser program, the second interface can give a signal that the rendering of the webpage is completed;

[0029] Step 102, load the URL address for testing in the test case program, and load and run the browser program through the test framework;

[0030] Step 104, the test case program obtains the current system time T1 through the first interface while controlling the browser program to submit the URL address, that is, the time when the browser submits the URL address;

[0031] The first interface includes a function for obtaining the current...

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 invention discloses a testing method and device of webpage access speed, which can be used to solve the technical problems that the webpage access speed cannot be tested automatically, rapidly and accurately during the webpage access speed test based on a handheld device. According to the invention, first system time can be acquired through a first interface when a URL (uniform resource locator) address is submitted, and then a second interface can indicate the first interface to acquire second system time after the webpage rendering is finished and before the UI (user interface) is showed, and finally the total time of the webpage access can be obtained by calculating the difference value between the first system time and the second system time. By using the method and device provided by the invention, the webpage speed of the browser can be tested automatically and accurately.

Description

technical field [0001] The invention relates to mobile terminal browser technology, in particular to a method and device for testing webpage access speed. Background technique [0002] Today, mobile terminal devices are widely used in people's production and life. In order to meet people's various needs in work, life, and entertainment, hardware manufacturers have developed chips with increasingly powerful performance, and software developers have developed more and more More and more systems and application software based on mobile terminals, such as existing smart phones, can not only implement voice communication functions, but also provide Internet access services. Existing mobile phone operating systems, such as Nokia's Symbian operating system, Microsoft's Wince operating system, and Google's Android operating system, have more and more functions, and interface operations and displays are becoming more and more humanized and more user-friendly. Rich, but due to the li...

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
IPC IPC(8): G06F11/36G06F17/30
Inventor 徐铮
Owner TENCENT TECH (SHENZHEN) 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