Automated backend background testing of webpages
AssigneeBrowserStack Limited
InventorsSuyash Yogeshwar Sonawane, Yohan Pereira, Jimesh Chokshi
Life of this patent
Estimating the term…
Abstract
A software development and testing platform (SDTP) includes a browser extension, allowing a developer to run manual or automatic tests on a website. At the same time, a feature of the extension allows for performing automatic background tests, as the developer test workflow generates various webpages of the website. The SDTP captures the webpages, generates copies of the webpages in a backend server and runs background tests on the copies. The background tests, running on webpage copies do not interfere with the developer test workflow in the frontend.
Claims20
A method comprising:
- capturing a document object model (DOM) of a webpage;
- identifying uniform resource locator (URL) addresses of one or more assets referenced in the captured DOM;
- generating a proxy map, based on the URL addresses of the assets;
- generating a copy of the webpage in a rendering engine, based at least in part on the proxy map, the assets, and the captured DOM, wherein generating the copy of the webpage comprises:
- intercepting a DOM call to an asset;
- determining the URL in the proxy map corresponding to the asset;
- and
- using the determined URL in the proxy map, fetching the asset and generating the copy of the webpage, based on the fetched asset;
- executing one or more test scripts on the copy of the webpage in the rendering engine;
- storing results of the one or more test scripts;
- compiling the results;
- pushing the compiled results to a dashboard user interface;
- and
- displaying the compiled results in the dashboard user interface.
A non-transitory computer storage that stores executable program instructions that, when executed by one or more computing devices, configure the one or more computing devices to perform operations comprising:
- capturing a document object model (DOM) of a webpage;
- identifying uniform resource locator (URL) addresses of one or more assets referenced in the captured DOM;
- generating a proxy map, based on the URL addresses of the assets;
- generating a copy of the webpage in a rendering engine, based at least in part on the proxy map, the assets, and the captured DOM, wherein generating the copy of the webpage comprises:
- intercepting a DOM call to an asset;
- determining the URL in the proxy map corresponding to the asset;
- and
- using the determined URL in the proxy map, fetching the asset and generating the copy of the webpage, based on the fetched asset;
- executing one or more test scripts on the copy of the webpage in the rendering engine;
- storing results of the one or more test scripts;
- compiling the results;
- pushing the compiled results to a dashboard user interface;
- and
- displaying the compiled results in the dashboard user interface.
Dependencies are inferred from the claim text.