Method and system for testing websites
AssigneeSoftware Research, Inc.
InventorEdward F. Miller
Life of this patent
Estimating the term…
Abstract
Methods and systems to test of 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.
Claims12
A non-transitory computer readable medium including at least computer program code for a test enabled web browser application operable on a client, said computer readable medium comprising:
- computer program code internal to the test enabled browser application for providing web browsing capabilities;
- and
- computer program code internal to the test enabled browser application for testing capabilities of a website hosted by a server and accessible to a computer via a network,
- wherein the computer program code for testing capabilities of the website includes at least computer program code configured to insert a validation check into a test script for testing at least one webpage of the website, the test script being separate from the at least one webpage being tested,
- wherein the validation check in the test script and web browsing activities provided by the web browsing capabilities are able to separately access a Document Object Model (DOM) associated with the at least one webpage of the website,
- wherein the computer program code for testing capabilities of the website includes at least computer program code configured to manipulate information contained in a HTTP/S request header used by the test enabled web browser application to interact with the server, and
- wherein the validation check is inserted into the test script as at least one command, and the at least one command operates, when executed, to:
- find a current index of at least one DOM element of the at least one webpage based on a specified property name and/or property value;
- and (i) submit a named event to the at least one DOM element of the at least one webpage having the current index, or (ii) insert or verify a value in the at least one DOM element of the at least one webpage having the current index.
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 internal to the test enabled browser for providing web browsing capabilities;
- and
- computer program code internal to the test enabled browser for testing capabilities of a website hosted by a server and accessible to a computer via a network,
- wherein the computer program code for testing capabilities of the website includes at least computer program code configured to insert a validation check into a test script for testing at least one webpage of the website, the test script being separate from the at least one webpage being tested,
- wherein the validation check in the test script and web browsing activities provided by the web browsing capabilities are able to separately access a Document Object Model (DOM) associated with the at least one webpage of the website,
- wherein the computer program code for testing capabilities of the website includes at least computer program code configured to manipulate information contained in a HTTP/S request header used by the test enabled browser to interact with the server, and
- wherein the validation check is inserted into the test script as at least one command, and the at least one command operates, when executed, to:
- find a current index of at least one DOM element of the at least one webpage based on a specified property name and/or property value;
- and (i) submit a named event to the at least one DOM element of the at least one webpage having the current index, or (ii) insert or verify a value in the at least one DOM element of the at least one webpage having the current index.
Dependencies are inferred from the claim text.