Method and System for Testing Websites
AssigneeSoftware Research, Inc.
InventorEdward F. Miller
Life of this patent
Estimating the term…
Abstract
A method and system is provided for testing and analyzing websites via a test-enabled web browser. In the representative embodiment a user controls a test-enabled web browser via a set of pull-down menus, thereby choosing between alternative testing and analysis functional capabilities, selecting files in which to store recordings (scripts), choosing files into which to place test results and messages, and setting various parameters that affect how the testing and analysis functions are performed. The general result of systematic use of the test-enabled browser on websites is improved content quality, demonstrated website server behavior for deep tests, quicker delivery by the website server, and better serviceability for e-business.
Claims13
A non-transitory computer readable medium including at least computer program code stored therein for providing a test-enabled browser for testing a website residing on a network, said computer readable medium comprising:
- computer program code for interfacing with a code base library that provides at least Document Object Model (DOM) access methods;
- computer program code for accessing the website to be tested using the test-enabled browser;
- computer program code for retrieving a test script for use in testing at least one web page of the website;
- and
- computer program code for performing a validation test using at least one of the DOM access methods of the code base library, wherein during the validation test, the at least one web page is newly rendered and details of elements for the at least one web page as newly rendered are accessed via the at least one of the DOM access methods and compared to details in the test script.
A method for testing a website residing on a network, said method:
- rendering a web page having a Document Object Model (DOM) associated herewith, the web page being part of the website;
- examining the DOM of the rendered web page to identify a plurality of linked-to web pages;
- subsequently rendering one or more of the linked-to web pages;
- examining the DOM of each of the one or more rendered linked-to web pages to discover link relationships;
- and
- presenting an illustration that indicates the web page and the one or more linked-to web pages and indicates link relationships with the one or more of the linked-to web pages.
A computer system for testing a website, comprising:
- a memory for storing computer program code;
- and
- a processing unit configured to execute the stored computer program code,
- wherein the stored computer program code supports testing of a website by implementing a test-enabled browser, and wherein the stored computer program code includes at least:
- computer program code for interfacing with a code base library that provides at least Document Object Model (DOM) access methods;
- computer program code for accessing the website to be tested using the test-enabled browser;
- computer program code for retrieving a test script for use in testing at least one web page of the website;
- and
- computer program code for performing a validation test using at least one of the DOM access methods of the code base library, wherein during the validation test, the at least one web page is newly rendered and details of elements for the at least one web page as newly rendered are accessed via the at least one of the DOM access methods and compared to details in the test script.
Dependencies are inferred from the claim text.