11-02-2013, 12:20 PM
A WEB CRAWLER FOR AUTOMATING WEB APPLICATION TESTING
A WEB CRAWLER .docx (Size: 23.34 KB / Downloads: 22)
ABSTRACT
Web applications are becoming more and more the replacement of desktop applications, using Ajax as their main technology to achieve user-friendly and interactive user interfaces. The best known example is the email application GMail, other examples include Google Docs, Google Maps, Facebook, Yahoo Mail and Twitter. These technological advantages brings some number of challenges when crawling those applications. The state of the user interface can not be accessed directly as with original web applications. This disables the usage of traditional web crawlers, which uses static analysis to find new pages. A dynamic approach, using a real browser of explore the user interface, was proven to be very successful. The dynamic approach did not scale well to large application, when applications grew the limits of this approach were reached. In this we first perform a measurement to find the exact limitations of using this dynamic approach, knowing the limitations we propose a technique to improve the scalability of Ajax web crawlers. We use the model of web application to apply a dynamic partition function, which we use to analyse the different parts of an Ajax application concurrently using multiple browsers. We implemented our approach in the open source testing tool Crawljax. We describe three case-studies evaluating the effectiveness of our implemented performance improvements. The results are very promising, showing expected performance improvements, and enabled us to use Crawljax successfully in large production environments.
EXISTING SYSTEM
For today’s web applications, one of the key technologies facilitating this move is AJAX. With AJAX, web browsers not only offer the user navigation through a sequence of HTML pages, but also dynamic rich interaction via graphical user interface (UI) components. In order to improve the dependability of AJAX applications, static analysis or testing techniques could be deployed. Unfortunately, static analysis techniques are not able to reveal many of the dynamic dependencies present in today’s web applications. Testing an AJAX application automatically is an difficult one so they developed a tool called CRAWLJAX. This tool is used to test an client side error in AJAX but it still demand for an manual effort from the tester this is an major disadvantage of the Ajax application.
Disadvantage:
It demand for an manual effort from the tester
It does not support multibrowser crawling
PROPOSED SYSTEM
To overcome the disadvantage of the CRAWLJAX. We proposed a tool to support automated testing of AJAX application without any manual effort. to obtain this model we developed a tool called Autocrawljax by crawling an AJAX application, automatically clicking buttons and other UI-elements, thus exercising the clientside UI functionality. Also it test the ajax user interface(taking into consideration to access blocked contents).
Advantage:
It reduces the manual effort
It supports multibrowser crawling
It access the blocked contents