CN102624576A - Method for automatically testing webpage downloading time of browser and system thereof - Google Patents
Method for automatically testing webpage downloading time of browser and system thereof Download PDFInfo
- Publication number
- CN102624576A CN102624576A CN2011100324651A CN201110032465A CN102624576A CN 102624576 A CN102624576 A CN 102624576A CN 2011100324651 A CN2011100324651 A CN 2011100324651A CN 201110032465 A CN201110032465 A CN 201110032465A CN 102624576 A CN102624576 A CN 102624576A
- Authority
- CN
- China
- Prior art keywords
- screenshotss
- webpage
- page download
- screenshotss picture
- picture
- 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.)
- Granted
Links
Images
Abstract
The invention provides a method for automatically testing webpage downloading time of a browser and a system thereof. The method comprises the following steps: according to a webpage opening instruction, opening the webpage on a terminal so as to start to download the webpage and recording webpage downloading starting time; during a webpage downloading process, acquiring at least one screenshot on the terminal and simultaneously recording at least one value corresponding to a screenshot moment of at least one screenshot; successively comparing the at least one screenshot so as to determine whether the webpage is completely downloaded; if the webpage is determined to be completely downloaded according to one of the at least one screenshot, determining webpage downloading completion time according to the value corresponding to the screenshot moment of the screenshot which determines that the webpage is completely downloaded. By using the method and the system of the invention, the webpage downloading time and flow of different browsers can be accurately measured without the source code of the browser.
Description
Technical field
The present invention relates to the browsing device net page measuring technology, especially relate to the page download time method and the system of automatic test browser.
Background technology
Calculate time and the flow that browsing device net page is downloaded at present, following three kinds of modes arranged usually:
First kind of mode:, also draw the traffic consumes of page download process simultaneously through inquiry mobile phone connection management through the zero-time and the deadline of hand computation page download.Because adopt the mode of pinching stopwatch, accuracy is not high, error ratio is bigger.In addition, use the manual testing, sampled point is fewer, and accuracy is not enough, and time-consuming and manpower.When different browsers is tested, also need drop into different manpowers and test.
The second way: by means of the zero-time and the deadline of stopwatch record page download, and record a video, draw zero-time and deadline through each frame of analyzing video recording then, thereby obtain both differences through the whole process that webpage is opened.Yet though adopt the method for video recording analysis frame, accuracy has improved some, because need be to many pictures, the human eye analysis is very hard.Equally, owing to need manual test, relatively waste time and energy, sampled point is few, and accuracy is not high enough.
The third mode: through in the browser source code, adding test code, test code writes down the zero-time and the deadline of page download, thereby draws both differences (being the page download time), writes down traffic consumes simultaneously.Though this mode can accurately calculate the webpage time through code interface, but needing the source code of acquisition different browsers version to realize, almost is impossible and obtain source code.
This shows, need a kind of automatic test technology that can accurately measure the page download time of different browsers and need not to obtain the source code of browser.
Summary of the invention
In order to solve the problems of the technologies described above, the present invention proposes a kind of page download time method and system of automatic test browser, can under the situation of the source code that need not to obtain browser, accurately measure the page download time of different browsers.
According to an aspect of the present invention, a kind of page download time method of automatic test browser is provided, has comprised: on the terminal, opened said webpage to begin to download said webpage according to opening the webpage instruction, write down the zero-time of said page download simultaneously; In said page download process, on said terminal, obtain at least one screenshotss picture, simultaneously corresponding at least one value of the screenshotss of record and said at least one the screenshotss picture moment; More said successively at least one screenshotss picture finishes to confirm whether said webpage is downloaded; And if confirm that according to one of said at least one screenshotss picture said page download finishes, then basis and the screenshotss of confirming the screenshotss picture that said page download finishes constantly corresponding value confirm deadline of said page download.
Said method may further include: the difference of calculating said deadline and said zero-time is as the time of downloading said webpage cost.
Said method may further include: when opening said webpage, and the record start flow value; When definite said page download finished, flow value accomplished in record; And the difference of calculating said completion flow value and said fore flow value is as downloading the flow that said webpage consumes.
Said method may further include: do not have download to finish if confirm said webpage; Then send and obtain screenshotss picture instruction, the wherein said step of obtaining at least one screenshotss picture comprises: receiving the said current screenshotss picture that obtains when obtaining the instruction of screenshotss picture.
The said step of obtaining at least one screenshotss picture can comprise: periodically obtain current screenshotss picture; Said method may further include: if confirm that said page download finishes; Then send and stop to obtain screenshotss picture instruction, and according to the current screenshotss picture of this snapshot instruction stopping to obtain.
The screenshotss of said record and said at least one the screenshotss picture step of corresponding at least one value constantly can comprise: store said at least one screenshotss picture, and the corresponding screenshotss order of the screenshotss moment of record and said at least one screenshotss picture in the title of said at least one screenshotss picture respectively; And said basis and the screenshotss of confirming the screenshotss picture that said page download finishes corresponding value constantly confirm that the step of the deadline of said page download can comprise: the screenshotss order of the screenshotss picture that finishes according to screenshotss cycle, said zero-time and definite said page download is confirmed the said deadline.
The screenshotss of said record and said at least one the screenshotss picture step of corresponding at least one value constantly can comprise: store said at least one screenshotss picture, and the corresponding timestamp of the screenshotss moment of record and said at least one screenshotss picture in the title of said at least one screenshotss picture respectively.
Said terminal can be intelligent mobile terminal; Said intelligent mobile terminal can receive that said terminal sends through the communication interface with terminal saidly opens the webpage instruction opening said webpage, and receives the screenshotss instruction to obtain said at least one screenshotss picture from said terminal; And the step that said terminal can be carried out the step of said more said successively at least one screenshotss picture and confirm the said deadline, said method may further include: said intelligent mobile terminal through said communication interface will said at least one screenshotss picture, said zero-time and send to said terminal with corresponding at least one value of the screenshotss moment of said at least one screenshotss picture.
Said basis is opened webpage instruction and can be comprised in the step of opening said webpage on the terminal: open the webpage instruction and in said browser's address bar, import the network address of said webpage with the mode of simulating keyboard according to said, and the operation that simulation points impacts out said webpage is to open said webpage.
The step of said more said successively at least one screenshotss picture can comprise: the mode of the character that employing contrast picture pixel or optical character identification obtain; The screenshotss picture that this precalculated position is showed when said page download is accomplished of at least one screenshotss picture of showing of the precalculated position of more said webpage and storage in advance successively; And saidly confirm that according to one of said at least one screenshotss picture the step that said page download finishes comprises: when the screenshotss picture that this precalculated position is showed when said page download is accomplished of one of at least one screenshotss picture of showing when the precalculated position of said webpage and storage in advance is identical; Confirm that said page download finishes, wherein when said page download is accomplished on said precalculated position displayed web page download and accomplish mark.
According to a further aspect in the invention, the system of a kind of page download time of automatic test browser is provided, has comprised: browser is used on the terminal, downloading and displayed web page; The test execution unit is used on said browser, opening said webpage to begin to download said webpage according to opening the webpage instruction, writes down the zero-time of said page download simultaneously; And be used for obtaining at least one screenshotss picture from the said webpage of said browser-presented, simultaneously the screenshotss of record and said at least one screenshotss picture corresponding at least one value constantly in said page download process; And the test processes unit, be used for sending the said webpage instruction of opening to said test execution unit; And be used for said at least one screenshotss picture of reception, and more said successively at least one screenshotss picture finishes to confirm whether said webpage is downloaded from said test execution unit; And if be used for confirming that according to one of said at least one screenshotss picture said page download finishes, then basis and the screenshotss of confirming the screenshotss picture that said page download finishes constantly corresponding value confirm deadline of said page download.
Said system may further include: computing unit, the difference that is used to calculate said deadline and said zero-time is as the time of downloading said webpage cost.
Said test execution unit can be further used for record start flow value when opening said webpage, and flow value accomplished in record when definite said page download finishes; And the difference that said computing unit is further used for calculating said completion flow value and said fore flow value is as downloading the flow that said webpage consumes.
If can being further used for confirming said webpage, said test processes unit do not have download to finish; Then send and obtain screenshotss picture instruction to said test execution unit, and said test execution unit receive said when obtaining the instruction of screenshotss picture the said webpage from said browser-presented obtain current screenshotss picture.
Said test execution unit can periodically obtain current screenshotss picture; If said test processes unit can be further used for confirming that said page download finishes; Then send and stop to obtain screenshotss picture instruction, and said test execution unit can be further used for according to the current screenshotss picture of this snapshot instruction stopping to obtain to said test execution unit.
Said test execution unit and said browser can be positioned on the intelligent mobile terminal; Said test processes unit and said computing unit can be positioned on the terminal; Said test execution unit can receive said that said test processes unit sends through the communication interface between said intelligent machine portable terminal and the said terminal and open the webpage instruction, and said test execution unit can be further used for through said communication interface will said at least one screenshotss picture, said zero-time and send to said test processes unit with corresponding at least one value of the screenshotss moment of said at least one screenshotss picture.
Said at least one screenshotss picture can be stored in said test execution unit, and record and the screenshotss of said at least one screenshotss picture corresponding timestamp constantly in the title of said at least one screenshotss picture respectively.
Said test processes unit can comprise the simulating keyboard module; Said simulating keyboard module can be used for the network address of opening webpage instruction at the said webpage of said browser's address bar input according to said, and the operation that simulation points impacts out said webpage is to open said webpage.
Said test processes unit can adopt the mode of the character that contrast picture pixel or optical character identification obtain; The screenshotss picture that this precalculated position is showed when said page download is accomplished of at least one screenshotss picture of showing of the precalculated position of more said webpage and storage in advance successively; And when the screenshotss picture that this precalculated position is showed when said page download is accomplished of one of at least one screenshotss picture of showing when the precalculated position of said webpage and storage in advance is identical; Confirm that said page download finishes, wherein when said page download is accomplished on said precalculated position displayed web page download and accomplish mark.
By visible with technique scheme, the page download time method and the system of a kind of automatic test browser provided by the invention adopt the mode of test automatically; Through in the downloading process of browsing device net page, obtaining the screenshotss picture; Time when writing down each screenshotss simultaneously, and the screenshotss picture when the screenshotss picture that obtains accomplished with this page download of storage in advance compares, thus can confirm the page download time automatically; Accurately high; Sampling quantity is many, and can be applied to any a browser on smart mobile phone or the PC, and need not to obtain the source code of browser.
Description of drawings
Fig. 1 is an indicative flowchart of testing the page download time method of browser according to an embodiment of the invention automatically;
Fig. 2 is the indicative flowchart of the page download time method of automatic test browser according to another embodiment of the present invention;
Fig. 3 is the indicative flowchart of the page download time method of automatic test browser according to still another embodiment of the invention;
Fig. 4 is the indicative flowchart according to the page download time method of the automatic test browser of the example embodiment of the embodiment of Fig. 2 of the present invention;
Fig. 5 is the indicative flowchart according to the page download time method of the automatic test browser of the example embodiment of the embodiment of Fig. 3 of the present invention; And
Fig. 6 is the block diagram of system of testing the page download time of browser according to an embodiment of the invention automatically.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment that the present invention is done to describe in detail further below.
Because when the flow of time that page download spent of testing browser and consumption, adopt manual method relatively usually, this method precision is not high, workload is big.Though and a kind of method of browser source code of utilizing can be measured accurately in addition, generally unlikely obtain the source code of various browsers.Scheme of the present invention adopts the mode of test automatically; In the page download process, repeatedly obtain the screenshotss picture; Obtain the time of each screenshotss and the flow at terminal simultaneously; Download the screenshotss picture of accomplishing through the expression of relatively each screenshotss picture and storage in advance then, thereby confirming when both are identical, to calculate page download time and consumed flow.
Fig. 1 is an indicative flowchart of testing the page download time method 100 of browser according to an embodiment of the invention automatically.Referring to Fig. 1, method 100 comprises:
Need to prove that according to embodiments of the invention, above-mentioned terminal can be an intelligent mobile terminal, for example, smart mobile phone.Intelligent mobile terminal can through and terminal between communication interface receiving computer terminal send open the webpage instruction opening webpage, and receive the screenshotss instruction to obtain at least one screenshotss picture from terminal.Terminal is carried out successively relatively at least one screenshotss picture step and the step of definite deadline.May further include according to the method for the invention: intelligent mobile terminal through communication interface with at least one screenshotss picture, zero-time and with the screenshotss of at least one screenshotss picture constantly corresponding at least one value send to terminal.According to another embodiment of the present invention, above-mentioned terminal can also be a terminal, and step 110 to step 140 is all carried out on computer terminal, so that the page download time of the browser on the automatic test computer terminal.
Because embodiments of the invention adopt the mode of test automatically, so accurately high, sampling quantity is many.In addition, because the present invention adopts picture mode relatively, therefore, can be applied to any a browser on smart mobile phone or the PC, and need not to obtain the source code of browser.
Fig. 2 is the indicative flowchart of the page download time method 200 of automatic test browser according to another embodiment of the present invention.When this embodiment is described, no longer to carrying out detailed description with the similar step of embodiment of Fig. 1 description.Referring to Fig. 2, method 200 comprises:
Owing to determine whether to download to finish according to the screenshotss picture and expend the regular hour possibly, so it is also conceivable that and carry out with confirming that step that whether download finishes is separated with the step of screenshotss.In other words, no longer wait until and confirm just to send the screenshotss instruction under the situation that page download do not finish, thereby further improve the precision of test.
Fig. 3 is the indicative flowchart of the page download time method 300 of automatic test browser according to still another embodiment of the invention.When this embodiment is described, no longer to carrying out detailed description with the similar step of the described embodiment of Fig. 1.Referring to Fig. 3, method 300 comprises:
The same with the mode of calculated flow rate described in Fig. 1, in the described embodiment of Fig. 3, also can test automatically and download the flow that webpage consumed, just no longer detail here.
Fig. 4 is the indicative flowchart according to the page download time method 400 of the automatic test browser of the example embodiment of the embodiment of Fig. 2 of the present invention.In this example embodiment, be example with the smart mobile phone, test the browsing device net page of smart mobile phone through terminal automatically and download the time of cost and the flow of consumption.Referring to Fig. 4, method 400 comprises:
Step 430 is carried out sectional drawing (comprising local sectional drawing) to mobile phone screen, and is that title is stored with the timestamp.In the page download process, terminal can send instructions again current screen is carried out screenshotss or local screenshotss, and can be saved in the mobile phone disk, and picture name can be preserved according to timestamp and also can be preserved according to the screenshotss order.In addition, terminal can carry out sectional drawing or local sectional drawing to mobile phone screen through the application programming interfaces (API) of PC external member.
Step 440: the screenshotss picture is uploaded to terminal, and after terminal obtains picture, just carry out picture contrast (perhaps local contrast) or the contrast of OCR (local OCR) character, whether checking has been downloaded and has been finished.The sectional drawing zone can be set according to the download progress bar of different browsers or the diverse location of downloading flag.
Step 470 calculates page download time and consumed flow.Draw the time of page download cost through calculating deadline T2 and zero-time T1 difference, and calculate the flow that the difference of accomplishing flow N2 and initial flow N1 draws page download consumption.
Step 480 finishes test automatically.
Fig. 5 is the indicative flowchart according to the page download time method 500 of the automatic test browser of the example embodiment of Fig. 3 of the present invention.In this example embodiment, be example with the smart mobile phone, test the spended time and the consumed flow of the browsing device net page download of smart mobile phone automatically through terminal.Referring to Fig. 5, this method 500 comprises:
Step 510 begins test.Can send the test sign on by the PC terminal equally, the description in concrete mode and the step 410 is similar.
Step 515, according to open any browser instruction unpack browser, input URL opens webpage, writes down off the net year time started T1 and flow value N1 simultaneously, and end mark is set or accomplishes variable End, and for example, it is False that page download completion variable End is set.Except end mark, the detailed description of step 515 and the description of step 420 are similar.
Step 535 finishes thread A.Promptly no longer carry out the screenshotss operation.
Step 565 draw the time that the download webpage spends through calculating deadline T2 and zero-time T1 difference, and the difference of calculating completion flow N2 and initial flow N1 draws the flow of downloading webpage consumption.
Step 570 finishes thread B.
Because the operation that the webpage in the downloading process is carried out screenshotss and the screenshotss picture is transferred to terminal and the operation of the picture of contrast terminal or the character that OCR obtains respectively two thread execution, so just can reduce or avoid the influence of the time loss of the contrast picture of terminal execution or the character that OCR obtains to measuring accuracy.
Need to prove that though the described example embodiment of Fig. 4 and Fig. 5 is page download time and the flow that communicates the browser of testing on the smart mobile phone through terminal and smart mobile phone, the present invention is not limited to this.One skilled in the art will recognize that can be separately on terminal or smart mobile phone, realize above-mentioned to the page download time of browser and the automatic test of flow.
Fig. 6 is the block diagram of system 600 of testing the page download time of browser according to an embodiment of the invention automatically.Referring to Fig. 6, this system 600 comprises: test execution unit 610, test processes unit 620, browser 630.
According to another embodiment of the present invention, this system 600 further comprises: the difference that computing unit 640, computing unit 640 are used to calculate deadline and zero-time is as the time of downloading the webpage cost.
According to still another embodiment of the invention, test execution unit 610 is further used for record start flow value when opening webpage, and flow value accomplished in record when definite page download finishes; And the difference that computing unit 640 is further used for calculating completion flow value and fore flow value is as downloading the flow that webpage consumes.
If being further used for confirming webpage, test processes unit 620 do not have download to finish; Then send and obtain screenshotss picture instruction, and test execution unit 610 obtains current screenshotss picture from browser 630 receiving when obtaining the instruction of screenshotss picture to test execution unit 610.
At least one screenshotss picture can be stored in test execution unit 610, and record and the screenshotss of at least one screenshotss picture corresponding at least one timestamp constantly in the title of at least one screenshotss picture respectively.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.
Claims (19)
1. automatic page download time method of test browser comprises:
On the terminal, open said webpage to begin to download said webpage according to opening the webpage instruction, write down the zero-time of said page download simultaneously;
In said page download process, on said terminal, obtain at least one screenshotss picture, simultaneously corresponding at least one value of the screenshotss of record and said at least one the screenshotss picture moment;
More said successively at least one screenshotss picture finishes to confirm whether said webpage is downloaded; And
If confirm that according to one of said at least one screenshotss picture said page download finishes, then basis and the screenshotss of confirming the screenshotss picture that said page download finishes constantly corresponding value confirm deadline of said page download.
2. the page download time method of automatic test browser according to claim 1 further comprises:
The difference of calculating said deadline and said zero-time is as the time of downloading said webpage cost.
3. the page download time method of automatic test browser according to claim 2 further comprises:
When opening said webpage, the record start flow value;
When definite said page download finished, flow value accomplished in record; And
The difference of calculating said completion flow value and said fore flow value is as downloading the flow that said webpage consumes.
4. the page download time method of automatic test browser according to claim 2 further comprises:
Do not have download to finish if confirm said webpage, then send and obtain the instruction of screenshotss picture, the wherein said step of obtaining at least one screenshotss picture comprises:
Saidly obtain the instruction of screenshotss picture and the time obtain current screenshotss picture receiving.
5. the page download time method of automatic test browser according to claim 2, the wherein said step of obtaining at least one screenshotss picture comprises: periodically obtain current screenshotss picture, said method further comprises:
Finish if confirm said page download, then send and stop to obtain the instruction of screenshotss picture, and according to the current screenshotss picture of this snapshot instruction stopping to obtain.
6. the page download time method of automatic test browser according to claim 5, the screenshotss of wherein said record and said at least one screenshotss picture step of corresponding at least one value constantly comprise:
Store said at least one screenshotss picture, and record and the screenshotss of said at least one screenshotss picture corresponding screenshotss order constantly in the title of said at least one screenshotss picture respectively; And
Said basis confirms that with the corresponding value of the screenshotss moment of confirming the screenshotss picture that said page download finishes the step of the deadline of said page download comprises:
According to screenshotss cycle, said zero-time and confirm that the screenshotss order of the screenshotss picture that said page download finishes confirms the said deadline.
7. according to the page download time method of each the described automatic test browser in the claim 2 to 5, the screenshotss of wherein said record and said at least one the screenshotss picture step of corresponding at least one value constantly comprise:
Store said at least one screenshotss picture, and record and the screenshotss of said at least one screenshotss picture corresponding timestamp constantly in the title of said at least one screenshotss picture respectively.
8. according to the page download time method of each the described automatic test browser in the claim 2 to 7; Wherein said terminal is an intelligent mobile terminal; Said intelligent mobile terminal is saidly opened the webpage instruction opening said webpage through what the communication interface with terminal received that said terminal sends, and receives the screenshotss instruction to obtain said at least one screenshotss picture from said terminal; And said terminal is carried out the step of said more said successively at least one screenshotss picture and the step of confirming the said deadline, and said method further comprises:
Said intelligent mobile terminal through said communication interface with said at least one screenshotss picture, said zero-time and with the screenshotss of said at least one screenshotss picture constantly corresponding at least one value send to said terminal.
9. according to the page download time method of each the described automatic test browser in the claim 2 to 7, wherein said basis is opened webpage and is instructed the step of on the terminal, opening said webpage to comprise:
Open webpage instruction and in said browser's address bar, import the network address of said webpage according to said, and the operation that simulation points impacts out said webpage is to open said webpage with the mode of simulating keyboard.
10. according to the page download time method of each the described automatic test browser in the claim 2 to 7; The step of wherein said more said successively at least one screenshotss picture comprises: the mode of the character that employing contrast picture pixel or optical character identification obtain; The screenshotss picture that this precalculated position is showed when said page download is accomplished of at least one screenshotss picture of showing of the precalculated position of more said webpage and storage in advance successively; And saidly confirm that according to one of said at least one screenshotss picture the step that said page download finishes comprises: when the screenshotss picture that this precalculated position is showed when said page download is accomplished of one of at least one screenshotss picture of showing when the precalculated position of said webpage and storage in advance is identical; Confirm that said page download finishes, wherein when said page download is accomplished on said precalculated position displayed web page download and accomplish mark.
11. a system that tests the page download time of browser automatically comprises:
Browser is used on the terminal, downloading and displayed web page;
The test execution unit is used on said browser, opening said webpage to begin to download said webpage according to opening the webpage instruction, writes down the zero-time of said page download simultaneously; And be used for obtaining at least one screenshotss picture from the said webpage of said browser-presented, simultaneously the screenshotss of record and said at least one screenshotss picture corresponding at least one value constantly in said page download process; And
The test processes unit is used for sending the said webpage instruction of opening to said test execution unit; And be used for said at least one screenshotss picture of reception, and more said successively at least one screenshotss picture finishes to confirm whether said webpage is downloaded from said test execution unit; And if be used for confirming that according to one of said at least one screenshotss picture said page download finishes, then basis and the screenshotss of confirming the screenshotss picture that said page download finishes constantly corresponding value confirm deadline of said page download.
12. the system of the page download time of automatic test browser according to claim 11 further comprises:
Computing unit, the difference that is used to calculate said deadline and said zero-time is as the time of downloading said webpage cost.
13. the system of the page download time of automatic test browser according to claim 12; Wherein said test execution unit is further used for record start flow value when opening said webpage, and flow value accomplished in record when definite said page download finishes; And the difference that said computing unit is further used for calculating said completion flow value and said fore flow value is as downloading the flow that said webpage consumes.
14. the system of the page download time of automatic test browser according to claim 12; If being further used for confirming said webpage, wherein said test processes unit do not have download to finish; Then send and obtain screenshotss picture instruction to said test execution unit, and said test execution unit receive said when obtaining the instruction of screenshotss picture the said webpage from said browser-presented obtain current screenshotss picture.
15. the system of the page download time of automatic test browser according to claim 12; Wherein said test execution unit periodically obtains current screenshotss picture; If said test processes unit is further used for confirming that said page download finishes; Then send and stop to obtain screenshotss picture instruction, and said test execution unit is further used for according to the current screenshotss picture of this snapshot instruction stopping to obtain to said test execution unit.
16. system according to page download time of the described automatic test browser of claim 12 to 15; Wherein said test execution unit and said browser are positioned on the intelligent mobile terminal; Said test processes unit and said computing unit are positioned on the terminal; Said test execution unit receives said that said test processes unit sends through the communication interface between said intelligent machine portable terminal and the said terminal and opens the webpage instruction, and said test execution unit be further used for through said communication interface will said at least one screenshotss picture, said zero-time and send to said test processes unit with corresponding at least one value of the screenshotss moment of said at least one screenshotss picture.
17. system according to page download time of the described automatic test browser of claim 12 to 15; Said at least one the screenshotss picture of wherein said test execution unit storage, and the screenshotss of record and said at least one screenshotss picture corresponding timestamp constantly in the title of said at least one screenshotss picture respectively.
18. system according to page download time of the described automatic test browser of claim 12 to 15; Wherein said test processes unit comprises the simulating keyboard module; Said simulating keyboard module is used for the network address of opening webpage instruction at the said webpage of said browser's address bar input according to said, and the operation that simulation points impacts out said webpage is to open said webpage.
19. system according to page download time of the described automatic test browser of claim 12 to 15; The mode of the character that wherein said test processes unit employing contrast picture pixel or optical character identification obtain; The screenshotss picture that this precalculated position is showed when said page download is accomplished of at least one screenshotss picture of showing of the precalculated position of more said webpage and storage in advance successively; And when the screenshotss picture that this precalculated position is showed when said page download is accomplished of one of at least one screenshotss picture of showing when the precalculated position of said webpage and storage in advance is identical; Confirm that said page download finishes, wherein when said page download is accomplished on said precalculated position displayed web page download and accomplish mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110032465.1A CN102624576B (en) | 2011-01-27 | 2011-01-27 | A kind of method and system of web page download time of automatic test browser |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110032465.1A CN102624576B (en) | 2011-01-27 | 2011-01-27 | A kind of method and system of web page download time of automatic test browser |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102624576A true CN102624576A (en) | 2012-08-01 |
CN102624576B CN102624576B (en) | 2016-04-20 |
Family
ID=46564267
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110032465.1A Active CN102624576B (en) | 2011-01-27 | 2011-01-27 | A kind of method and system of web page download time of automatic test browser |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102624576B (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902625A (en) * | 2012-11-14 | 2013-01-30 | 北京奇虎科技有限公司 | Software performance test system and method |
CN102929782A (en) * | 2012-11-14 | 2013-02-13 | 北京奇虎科技有限公司 | Device and method for testing software performances |
CN103810086A (en) * | 2012-11-08 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method, device and system for processing website causing browser breakdown |
CN103812713A (en) * | 2012-11-06 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method and apparatus for testing webpage loading time |
CN104052630A (en) * | 2013-03-14 | 2014-09-17 | 北京百度网讯科技有限公司 | Method and system for executing verification on website |
CN104333601A (en) * | 2014-11-14 | 2015-02-04 | 广东欧珀移动通信有限公司 | Application synchronization method, system and terminal |
CN104796929A (en) * | 2014-01-22 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Network debugging method and device |
CN105025518A (en) * | 2014-04-30 | 2015-11-04 | 中国电信股份有限公司 | Method, server and system for carrying out auto-dial testing on application running quality |
CN105765905A (en) * | 2013-12-05 | 2016-07-13 | 埃森哲环球服务有限公司 | Network server system, client device, computer program product and computer-implemented method |
CN105812564A (en) * | 2016-03-11 | 2016-07-27 | 合肥联宝信息技术有限公司 | Control method, electronic device and personal computer |
CN106161133A (en) * | 2015-04-21 | 2016-11-23 | 腾讯科技(深圳)有限公司 | The method of testing of a kind of web page loading time and device |
CN106612198A (en) * | 2015-10-26 | 2017-05-03 | 中国移动通信集团公司 | Quality-of-service test index test method and quality-of-service test index test device |
CN106982368A (en) * | 2016-01-19 | 2017-07-25 | 腾讯科技(深圳)有限公司 | video response speed detection method and system |
CN107239397A (en) * | 2017-05-17 | 2017-10-10 | 北京微影时代科技有限公司 | A kind of web automated testing methods and electronic equipment |
CN108205674A (en) * | 2017-12-22 | 2018-06-26 | 广州爱美互动网络科技有限公司 | Content identification method, electronic equipment, storage medium and the system of social APP |
CN108475335A (en) * | 2016-01-27 | 2018-08-31 | 霍尼韦尔国际公司 | The Method and kit for of the postmortem analysis of tripping field device in process industrial for using optical character identification & intelligent character recognitions |
WO2019085598A1 (en) * | 2017-10-31 | 2019-05-09 | 阿里巴巴集团控股有限公司 | Method and apparatus for calculating above-the-fold rendering duration of page, and electronic device |
CN110209978A (en) * | 2019-01-28 | 2019-09-06 | 腾讯科技(深圳)有限公司 | A kind of data processing method and relevant apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060224844A1 (en) * | 2005-03-29 | 2006-10-05 | Hitachi, Ltd. | Data copying method and apparatus in a thin provisioned system |
CN101071438A (en) * | 2007-03-26 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Capture server, distribution server, method and system for generating webpage capture |
CN101072131A (en) * | 2006-09-19 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Network operation monitoring method and system |
CN101206657A (en) * | 2006-12-21 | 2008-06-25 | 英业达股份有限公司 | Web page beforehand download method |
CN101807180A (en) * | 2009-02-16 | 2010-08-18 | 宏达国际电子股份有限公司 | Mobile electric device and pretreatment and display method of web page thereof |
-
2011
- 2011-01-27 CN CN201110032465.1A patent/CN102624576B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060224844A1 (en) * | 2005-03-29 | 2006-10-05 | Hitachi, Ltd. | Data copying method and apparatus in a thin provisioned system |
CN101072131A (en) * | 2006-09-19 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Network operation monitoring method and system |
CN101206657A (en) * | 2006-12-21 | 2008-06-25 | 英业达股份有限公司 | Web page beforehand download method |
CN101071438A (en) * | 2007-03-26 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Capture server, distribution server, method and system for generating webpage capture |
CN101807180A (en) * | 2009-02-16 | 2010-08-18 | 宏达国际电子股份有限公司 | Mobile electric device and pretreatment and display method of web page thereof |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103812713A (en) * | 2012-11-06 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method and apparatus for testing webpage loading time |
CN103810086A (en) * | 2012-11-08 | 2014-05-21 | 腾讯科技(深圳)有限公司 | Method, device and system for processing website causing browser breakdown |
CN102929782A (en) * | 2012-11-14 | 2013-02-13 | 北京奇虎科技有限公司 | Device and method for testing software performances |
CN102902625B (en) * | 2012-11-14 | 2015-04-22 | 北京奇虎科技有限公司 | Software performance test system and method |
CN102902625A (en) * | 2012-11-14 | 2013-01-30 | 北京奇虎科技有限公司 | Software performance test system and method |
CN104052630A (en) * | 2013-03-14 | 2014-09-17 | 北京百度网讯科技有限公司 | Method and system for executing verification on website |
CN105765905A (en) * | 2013-12-05 | 2016-07-13 | 埃森哲环球服务有限公司 | Network server system, client device, computer program product and computer-implemented method |
CN105765905B (en) * | 2013-12-05 | 2019-04-19 | 埃森哲环球服务有限公司 | Network server system, the method implemented by computer and computer readable storage medium |
CN104796929A (en) * | 2014-01-22 | 2015-07-22 | 腾讯科技(深圳)有限公司 | Network debugging method and device |
CN105025518B (en) * | 2014-04-30 | 2018-09-25 | 中国电信股份有限公司 | A kind of application operation quality auto-dial testing method, server and system |
CN105025518A (en) * | 2014-04-30 | 2015-11-04 | 中国电信股份有限公司 | Method, server and system for carrying out auto-dial testing on application running quality |
CN104333601B (en) * | 2014-11-14 | 2018-01-16 | 广东欧珀移动通信有限公司 | Using synchronous method, system and terminal |
CN104333601A (en) * | 2014-11-14 | 2015-02-04 | 广东欧珀移动通信有限公司 | Application synchronization method, system and terminal |
CN106161133A (en) * | 2015-04-21 | 2016-11-23 | 腾讯科技(深圳)有限公司 | The method of testing of a kind of web page loading time and device |
CN106161133B (en) * | 2015-04-21 | 2020-08-04 | 腾讯科技(深圳)有限公司 | Method and device for testing webpage loading time |
CN106612198A (en) * | 2015-10-26 | 2017-05-03 | 中国移动通信集团公司 | Quality-of-service test index test method and quality-of-service test index test device |
CN106612198B (en) * | 2015-10-26 | 2019-08-13 | 中国移动通信集团公司 | A kind of test method and device of measure of the quality of service index |
CN106982368B (en) * | 2016-01-19 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Video response speed detection method and system |
CN106982368A (en) * | 2016-01-19 | 2017-07-25 | 腾讯科技(深圳)有限公司 | video response speed detection method and system |
CN108475335B (en) * | 2016-01-27 | 2022-10-14 | 霍尼韦尔国际公司 | Method for post-inspection analysis of tripped field devices in process industry using optical character recognition, smart character recognition |
CN108475335A (en) * | 2016-01-27 | 2018-08-31 | 霍尼韦尔国际公司 | The Method and kit for of the postmortem analysis of tripping field device in process industrial for using optical character identification & intelligent character recognitions |
CN105812564A (en) * | 2016-03-11 | 2016-07-27 | 合肥联宝信息技术有限公司 | Control method, electronic device and personal computer |
CN107239397A (en) * | 2017-05-17 | 2017-10-10 | 北京微影时代科技有限公司 | A kind of web automated testing methods and electronic equipment |
WO2019085598A1 (en) * | 2017-10-31 | 2019-05-09 | 阿里巴巴集团控股有限公司 | Method and apparatus for calculating above-the-fold rendering duration of page, and electronic device |
CN108205674B (en) * | 2017-12-22 | 2022-04-15 | 广州爱美互动网络科技有限公司 | Social APP content identification method, electronic device, storage medium and system |
CN108205674A (en) * | 2017-12-22 | 2018-06-26 | 广州爱美互动网络科技有限公司 | Content identification method, electronic equipment, storage medium and the system of social APP |
CN110209978A (en) * | 2019-01-28 | 2019-09-06 | 腾讯科技(深圳)有限公司 | A kind of data processing method and relevant apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN102624576B (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102624576A (en) | Method for automatically testing webpage downloading time of browser and system thereof | |
CN104461903B (en) | The method and apparatus of test client based on browser | |
US20170099560A1 (en) | System, a method and a computer program product for automated remote control | |
CN112270149B (en) | Verification platform automatic integration method and system, electronic equipment and storage medium | |
CN106383786A (en) | Interface pressure performance testing method and device and electronic equipment | |
CN103309802A (en) | Method and device for testing system stability in mobile terminal | |
CN105338110A (en) | Remote debugging method, platform and server | |
CN110362483A (en) | Performance data acquisition method, device, equipment and storage medium | |
CN103544100A (en) | Method, system and client side for testing APP of portable data processing equipment | |
CN106354628A (en) | Payment app test method and device thereof | |
CN103581987B (en) | The test method and device of the page download speed of mobile terminal device | |
CN109426603A (en) | A kind of method and apparatus for analyzing application program Caton | |
CN111159042A (en) | Fluency testing method and device and electronic equipment | |
TWI476587B (en) | Testing method and testing apparatus for testing function of electronic apparatus | |
CN104052769A (en) | Method, apparatus and system for updating resources contained by mobile terminal application | |
US9378109B1 (en) | Testing tools for devices | |
WO2017113877A1 (en) | Automatic measurement method for mobile terminal app loading energy consumption based on actual physical measurement | |
CN103269497B (en) | A kind of method and system mobile phone being managed and testing | |
CN109005459A (en) | A method of the detection smart television application starting time | |
CN112241373A (en) | Automatic test method, test device, processor and test system | |
CN102014157B (en) | Meteorological data downloading engine and method | |
CN109672534A (en) | Processing method, device, storage medium and the electronic device of Internet resources | |
KR102106618B1 (en) | System, terminal device, verification apparatus, method and computer-readable medium for testing application performance | |
CN103884905A (en) | Method, apparatus and system for testing power consumption of terminal device service application | |
US10834169B2 (en) | System and method of communicating with and controlling a test device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |