Method and system for multi-browser compatibility testing
A compatibility test and multi-browser technology, applied in software testing/debugging, etc., can solve problems such as incomplete compatibility testing, repeated operation behaviors not improved, and failure to verify page operation behaviors, etc., 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
Embodiment 1
[0040] In the first embodiment, a server can be created to establish a communication channel between the currently operated browser and other activated browsers, and then through the Socket communication mechanism, the operation information related to the operation behavior After sending to the server, the server calls the API function of the browser automation test framework to synchronize the operation information related to the operation behavior to other browsers, and simulate the execution of the operation behavior in other browsers.
[0041] In specific implementation, the whole framework can be divided into Server side and Client side. see figure 2 , the specific implementation process is as follows: First, inject the js script into the webpage document opened in the browser to be operated, assign the port number for this connection, create the XMLHttpRequest object XHR, and register the hook function to bind the mouse event and Input events such as keyboard events an...
Embodiment 2
[0127] In the second embodiment, it is also possible to inject JS into the current page of the currently operated browser to monitor and capture information related to 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 the Flag flag, etc. After the test program finds that the value of the flag is "true", it can hide it according to the hidden element. The ID of the element locates the element, reads the attribute value of the element, and then synchronizes it to other browsers through the Selenium-WebDriver extension or the Waitr extension. That is to say, in this way, the captured operation behavior-related information can be sent to other browsers without creating a server. However, it should be noted that for an operation behavior, the captured operation information generally ne...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com