Multiple browser compatibility testing method and system
A compatibility test and multi-browser technology, applied in software testing/debugging, etc., can solve problems such as incomplete compatibility testing, inability to verify page operation behavior, and repeated operation behavior without improvement, so as to improve test efficiency, Effective monitoring to avoid boring effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0039] Example one
[0040] In the first embodiment, a server can be created to establish a communication channel between the currently operated browser and other browsers that have been started, and then through the Socket communication mechanism, the operation information related to the operation behavior It is sent to the server, and the API function of the browser automated test framework is called by the server to synchronize the operation information related to the operation behavior to other browsers, and simulate the execution operation behavior in the other browsers.
[0041] In specific implementation, the entire framework can be divided into Server and Client. See figure 2 The specific implementation process is as follows: First, inject the js script into the document of the web page opened in the browser that is actually operated, assign the port number for this connection, create the XMLHttpRequest object XHR, and register the hook function to bind mouse events and K...
Example Embodiment
[0126] Example two
[0127] In the second embodiment, JS can also be injected into the current page of the currently operated browser to monitor and capture information about the tester’s operation behavior, and then a hidden element can be created in the currently operated browser. Record the obtained message as its attribute, and notify the test program that the attribute of the hidden element has been updated through Flag flag bit and other methods. After the test program finds that the value of the flag bit is "true", it can hide according to the The ID of the element is located to the element, and the attribute value of the element is read, and then synchronized to other browsers through the Selenium-WebDriver extension or Waitr extension. That is to say, in this way, there is no need to create the server side, and the captured information about the operation behavior can be sent to other browsers. However, it should be noted that, for an operation behavior, the captured op...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap