|
US Patent 8,327,271 -- Method and System for Testing Websites -- 4 December 2012
1. 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 web browsing components, the web browsing components including Document Object Model (DOM) access methods included in Dynamic Linked Libraries associated with a browser code library; computer program code for accessing a website to be tested; computer program code for rendering and examining at least one web page of the website so as to at least (i) extract details of organization and structure of elements of the web page, and (ii) store the details of the web page in a recorded script; computer program code for selecting a validation test to be performed; and computer program code for performing the validation test using at least one of the DOM access methods of the web browsing components, wherein during the validation test, the at least one web page is newly rendered and details of organization and structure 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 the stored details in the recorded script.
2. A non-transitory computer readable medium as recited in claim 1, wherein the web browsing components are Internet Explorer (IE) web browsing components associated with an IE browser.3. A non-transitory computer readable medium as recited in claim 1, wherein the details extracted for at least one of the elements of the web page includes element identifiers.
4. A non-transitory computer readable medium as recited in claim 1, wherein the details extracted for at least one of the elements of the web page includes an element count for the web page.
5. A non-transitory computer readable medium as recited in claim 1, wherein said computer readable medium comprises: computer program code for logging details of test execution to a log file for post-test analysis.
6. A non-transitory computer readable medium as recited in claim 1, wherein the computer program code for performing the validation test includes at least computer program code for performing adaptive playback of the recorded script with respect to the at least one web page as newly rendered.
7. A computer readable medium as recited in claim 6, wherein the computer program code for performing adaptive playback of the recorded script with respect to the at least one web page as newly rendered comprises computer program code for searching the at least one web page as newly rendered for a nearly correct match.
8. A non-transitory computer readable medium as recited in claim 1, wherein computer readable medium comprises: computer program code for checking links on at least one web page.
9. A non-transitory computer readable medium as recited in claim 1, wherein computer readable medium comprises: computer program code for checking buttons on at least one web page.
10. A non-transitory computer readable medium as recited in claim 1, wherein said computer readable medium comprises: computer program code for automatically synchronizing page delivery, including downloading and rendering.
11. A non-transitory computer readable medium as recited in claim 1, wherein said computer readable medium comprises: computer program code for load testing to test the remote server regarding the webpage in accordance with a load.
12. A non-transitory computer readable medium as recited in claim 1, wherein said computer program code for performing the validation test comprises: computer program code for examining a web page using a rendering of the web page by the test-enabled browser.
13. A non-transitory computer readable medium as recited in claim 1, wherein said computer program code for performing the validation test comprises: computer program code for recording a script pertaining to an interaction sequence with the web page; and computer program code for subsequently playing back the script to confirm content of the web page and/or perform validations.
14. A non-transitory computer readable medium as recited in claim 1, wherein the web page includes a plurality of component parts, and wherein said computer program code for performing the validation test comprises computer program code for determining download timings for at least a plurality of the component parts of the web page.
15. A non-transitory computer readable medium as recited in claim 1, wherein said computer readable medium comprises: computer program code for indicating where a scan of the website is to begin and where it is to end.
16. A non-transitory computer readable medium as recited in claim 1, wherein said computer readable medium comprises: computer program code for examining the webpage to determine if the webpage meets user-specified criteria.
17. 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 browser code library including at least Dynamic Linked Libraries that provide 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 rendering and examining at least one web page of the website so as to at least (i) extract details of organization and structure of elements of the web page, and (ii) store the details of the web page in a recorded script; and computer program code for performing a validation test using at least one of the DOM access methods of the browser code library, wherein during the validation test, the at least one web page is newly rendered and details of organization and structure 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 the stored details in the recorded script.
18. A computer system as recited in claim 17, wherein the computer program code for performing the validation test includes at least computer program code for performing adaptive playback of the recorded script with respect to the at least one web page as newly rendered.19. A computer system as recited in claim 18, wherein the computer program code for performing adaptive playback of the recorded script with respect to the at least one web page as newly rendered comprises computer program code for searching the at least one web page as newly rendered for a nearly correct match.