Browser compatibility detection oriented client Web application capture and playback system and method

A web application and browser technology, applied in special data processing applications, instruments, network data retrieval, etc., can solve problems such as JavaScript interface call errors, cannot be found, and affect the correct playback of subsequent events.

Active Publication Date: 2016-04-06
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF3 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the disadvantage of existing browser platform-independent capture / replay technology is that in order to reproduce a JavaScript error, the captured event sequence is usually replayed on the same browser platform, without considering the cross-browser platform Under the circumstances, when the event sequence captured on one browser is replayed on another different browser, the replay may fail or even be wrongly replayed due to an incompatible JavaScript interface call error, which eventually leads to false positives and false positives in the detection results. False report
When the fourth event is dispatched, because the registered callback function cannot be found, the replay fails and affects the correct replay of subsequent events

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
  • Browser compatibility detection oriented client Web application capture and playback system and method
  • Browser compatibility detection oriented client Web application capture and playback system and method
  • Browser compatibility detection oriented client Web application capture and playback system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] In order to understand the present invention, related terms and the like will be explained before explaining the present invention.

[0074] setTimeout: This function is a predefined function in the Javascript language, and the timeout timer can be registered through the setTimeout function;

[0075] setInterval: This function is a predefined function in the Javascript language, through which a periodically triggered timer can be registered;

[0076] Ajax (AsynchronousJavaScriptandXML): It is a technology for exchanging data asynchronously between a Web application client and a server, which can update a certain part of a page without reloading the entire page;

[0077] XHR (XMLHttpRequest): request object in Ajax;

[0078] onreadystatechange: The XHR object provides the onreadystatechange event, which can be used to register an event handler to process the response message;

[0079] beforeunload: This event is a predefined event in the browser, which is triggered by ...

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 browser compatibility detection oriented client Web application capture and playback system and method. The method comprises: during an event capture stage, recording various uncertain events generated when a Web application runs in a reference browser platform, and storing causal relationships between external events and internal events, wherein the uncertain events include external user interaction events and browser internal events (such as a timer event, an Ajax message and uncertain function calling); during a playback stage, performing cross-browser remote playback in a test browser platform and collecting page message in the playback process; and performing comparison through information collected from different browsers to detect various compatibility problems. According to the application capture and playback system and method, the accuracy of a detection result can be effectively improved.

Description

technical field [0001] The invention relates to a browser compatibility detection-oriented client web application capturing and replaying system and method, belonging to the technical field of the Internet and the web. Background technique [0002] With the rapid development of the Internet and Web technology, Web applications are becoming an important platform for information acquisition and communication. Application developers hope that applications can perform consistently on various mainstream browser platforms, but due to differences in browser implementation technologies and standards support, web applications may behave differently when running on different browser platforms. Inconsistencies in how pages are rendered are known as cross-browser incompatibilities (XBIs). Generally, cross-browser incompatibility issues (XBIs) fall into three categories: behavioral inconsistencies, layout inconsistencies, and content inconsistencies. Inconsistent behavior: This kind of...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/951G06F16/958
Inventor 吴国全魏峻钟华黄涛何妹妹
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products