Driving a web browser for testing web pages using a document object model
AssigneeSoftware Research, Inc.
InventorEdward F. Miller
Life of this patent
Estimating the term…
Abstract
Methods and systems to test web browser enabled applications are disclosed. In one embodiment, a browser application can allow a user to perform test and analysis processes on a candidate web browser enabled application. The test enabled browser can use special functions and facilities that are built into the test enabled browser. One implementation of the invention pertains to functional testing, and another implementation of the invention pertains to pertains to site analysis.
Claims29
A computing device, comprising:
- a memory;
- web browser program code stored in the memory;
- and
- a processor configured to perform the web browser program code,
- wherein the web browser program code, when performed, provides a web browser operating on the computing device,
- wherein the web browser program code provides the web browser with Document Object Model (DOM) access capabilities,
- wherein the web browser program code, executable by the computing device, includes at least:
- computer program code for testing and analysis of a web page as rendered by the web browser;
- computer program code for accessing an attribute or property value of an element of a DOM of the web page, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the DOM of the web page using a browser programming interface that enables the web browser program code to have access to the DOM, the browser programming interface is supported by an API underlying the web browser program code for providing a plurality of library function calls or methods that are accessible by the web browser program code, and wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the attribute or property value of the element of the DOM of the web page for purposes of the testing and analysis of the web page rendered in the web browser,
- wherein the web browser program code supports at least one command, provided to the web browser via the browser programming interface, to facilitate synchronized testing and analysis of asynchronous processes of the web page rendered by the web browser using the underlying API, and
- wherein the at least one command includes a DOM index value, a DOM property name and a DOM property value, and causes examination of a name and a value of a property found in the DOM of the web page at the DOM index value to determine whether the name and the value match the DOM property name and the DOM property value, respectively.
A non-transitory computer readable medium including at least computer program code operational on a computer for providing a web browser, said computer readable medium comprising:
- computer program code for providing web browsing capabilities and testing capabilities for a website being hosted by a server and accessible to the computer via a network, the website including at least one web page,
- wherein the computer program code for providing web browsing capabilities and testing capabilities, when performed, provides the web browser with Document Object Model (DOM) access capabilities, and
- wherein the computer program code for providing web browsing capabilities and testing capabilities includes at least:
- computer program code for testing and analysis of a web page as rendered by the web browser;
- and
- computer program code for accessing an attribute or property value of an element of a DOM of the web page, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the DOM of the web page using a browser programming interface that enables the computer program code for providing web browsing capabilities and testing capabilities to have access to the DOM, the browser programming interface is supported by an API underlying the computer program code for providing web browsing capabilities and testing capabilities for providing a plurality of library function calls or methods that are accessible by the computer program code for providing web browsing capabilities and testing capabilities, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the attribute or property value of the element of the DOM of the web page for purposes of the testing and analysis of the web page rendered in the web browser, and wherein the computer program code for providing web browsing capabilities and testing capabilities supports at least one command, provided to the web browser via the browser programming interface, to facilitate synchronized testing and analysis of asynchronous processes of the web page rendered by the web browser using the underlying API, and
- wherein the at least one command includes a DOM index value, a DOM property name and a DOM property value, and causes examination of a name and a value of a property found in the DOM of the web page at the DOM index value to determine whether the name and the value match the DOM property name and the DOM property value, respectively.
A non-transitory computer readable medium including at least computer program code operational on a computer for providing a web browser, said computer readable medium comprising:
- computer program code for providing web browsing capabilities and testing capabilities for a website being hosted by a server and accessible to the computer via a network, the website including at least one web page,
- wherein the computer program code for providing web browsing capabilities and testing capabilities, when performed, provides the web browser with Document Object Model (DOM) access capabilities, and
- wherein the computer program code for providing web browsing capabilities and testing capabilities includes at least:
- computer program code for testing and analysis of a web page as rendered by the web browser;
- and
- computer program code for accessing an attribute or property value of an element of a DOM of the web page, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the DOM of the web page using a browser programming interface that enables the computer program code for providing web browsing capabilities and testing capabilities to have access to the DOM, the browser programming interface is supported by an API underlying the computer program code for providing web browsing capabilities and testing capabilities for providing a plurality of library function calls or methods that are accessible by the computer program code for providing web browsing capabilities and testing capabilities, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the attribute or property value of the element of the DOM of the web page for purposes of the testing and analysis of the web page rendered in the web browser, and wherein the computer program code for providing web browsing capabilities and testing capabilities supports at least one command, provided to the web browser via the browser programming interface, to facilitate synchronized testing and analysis of asynchronous processes of the web page rendered by the web browser using the underlying API, and
- wherein the at least one command includes a DOM index value, a DOM property name and a DOM property value, and causes search of the DOM of the web page beginning at the DOM index value for a name and a value of a property found in the DOM at the DOM index value to determine whether the name and the value match the DOM property name and the DOM property value, respectively.
A computing device, comprising:
- a memory;
- web browser program code stored in the memory;
- and
- a processor configured to perform the web browser program code,
- wherein the web browser program code, when performed, provides a web browser operating on the computing device,
- wherein the web browser program code provides the web browser with Document Object Model (DOM) access capabilities,
- wherein the web browser program code, executable by the computing device, includes at least:
- computer program code for testing and analysis of a web page as rendered by the web browser;
- computer program code for accessing an attribute or property value of an element of a DOM of the web page, wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the DOM of the web page using a browser programming interface that enables the web browser program code to have access to the DOM, the browser programming interface is supported by an API underlying the web browser program code for providing a plurality of library function calls or methods that are accessible by the web browser program code, and wherein the computer program code for accessing the attribute or property value of the element of the DOM of the web page accesses the attribute or property value of the element of the DOM of the web page for purposes of the testing and analysis of the web page rendered in the web browser,
- wherein the web browser program code supports at least one command, provided to the web browser via the browser programming interface, to facilitate synchronized testing and analysis of asynchronous processes of the web page rendered by the web browser using the underlying API, and
- wherein the at least one command includes a DOM index value, a DOM property name and a DOM property value, and causes search of the DOM of the web page beginning at the DOM index value for a name and a value of a property found in the DOM at the DOM index value to determine whether the name and the value match the DOM property name and the DOM property value, respectively.
Dependencies are inferred from the claim text.