Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for generating browser testing script

A technology for testing scripts and browsers, applied in the field of browsers, can solve problems such as expensive fees, undisclosed codes, and inconvenient positioning, and achieve the effects of simple operation, simple recording process, and improved verification efficiency.

Inactive Publication Date: 2014-06-25
烟台中科网络技术研究所
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The current testing tools have the following shortcomings, for example: JMeter script output format is XML, cannot be expanded, cannot support dynamic pages, and is inconvenient to locate problems
Performance Runer can only simulate user behavior at the HTTP level, but cannot simulate user behavior at the page level. It is difficult to support the testing of dynamic pages, and the workload of testers is heavy
Load Runner can support dynamic pages and HTTP page-level recording, but it belongs to commercial software, the code is not public, and the charges are expensive

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
  • Method and device for generating browser testing script
  • Method and device for generating browser testing script
  • Method and device for generating browser testing script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0042] Such as figure 1 Shown, the present invention generates the realization flowchart of the test script method of browser operation, is described in detail as follows:

[0043] In step S101, the script recorder detects whether there is session content in the information between the browser and the server;

[0044] In step S102, when there is session content in the information between the browser and the server, the script recorder monitors the page information of the browser, and records the session content between the browser and the server content record storage;

[0045] In step S103, the script recorder generates a page-based function statement according to the monitored page information of the browser, an...

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 relates to the technical field of browsers, in particular to a method and device for generating a browser testing script. The method comprises the following steps that a script recorder detects whether conversation content exists in the information between a browser and a proxy server; when the conversation content exists in the information between the browser and the proxy server, the script recorder monitors the page information of the browser and records and stores the conversation content between the browser and the proxy server; the script recorder generates a function statement based on a page according to the monitored page information of the browser, and a primary script is generated according to the function statement; the script recorder generates an Http conversation sequence according to the monitored conversation content; and the script recorder screens the generated primary script and the monitored conversation content, and whether the conversation sequence can generate a new script statement is judged.

Description

technical field [0001] The invention relates to the technical field of browsers, and more specifically, to a method and device for generating browser test scripts. Background technique [0002] With the continuous development of Internet technology, the browser has become an important tool for obtaining information. On the other hand, along with the integration trend of consumer electronics, computer, and communication, browsers also appear thereupon. Browsers display web page content by parsing web page program codes. However, at present, the back-end architecture of websites varies greatly, and the front-end page implementation technologies are also diverse, requiring a unified standard recording script. [0003] The WEB supports dynamic pages, resulting in differences in the data that the browser interacts with the server through the Hypertext transfer protocol (HTTP). Relying on manual judgment of dynamic data requires heavy workload and high misjudgment rate. The dat...

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/36
Inventor 杨光宇衣安平刘增刘玮
Owner 烟台中科网络技术研究所
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More