International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 45 - Number 16 |
Year of Publication: 2012 |
Authors: Anuja Jain M, Swarnalatha P, Muhammad Rukunuddin Ghalib, S. Prabu |
10.5120/6861-9208 |
Anuja Jain M, Swarnalatha P, Muhammad Rukunuddin Ghalib, S. Prabu . Web-Based Automation Testing Framework. International Journal of Computer Applications. 45, 16 ( May 2012), 1-5. DOI=10.5120/6861-9208
Every Software development goes through several phases in SDLC where validation of software plays a important role as it shows correctness of the software. Validation Phases is the most expensive and time-consuming process for QA Engineers as code coverage and version numbering of the software increases the manual testing efforts. To help QA Engineers to utilize there time effectively, several testing automation has been carried out since decade but they result into partially automated or require more tester interventions. Especially for GUI application the automation becomes challenging because of its dynamically changing nature. The paper proposes a cross-platform, code-driven, object-oriented[9] testing framework called as GUI-WAT (Web-Based Automation Testing) Framework which reads HTML source and generates GUIWebObjects. The HTML source of the web based application is parsed into hierarchical structure that represents web elements. The GUIWebObjects defines the properties of each web element and generalization is achieved with the help of Jsoup[5]such that change of UI does not reflect the correctness of the framework. The framework includes libraries, API and test cases repository for performing automation on any web-based application. GUI-WAT uses most promising tool called Selenium [2] for providing Action-events. Hence GUI-WAT is time-efficient, cost-reductive and thereby helps increasing code coverage.