Web applications pervade our life, being crucial for a multitude of economic, social and educational activities. For this reason, their quality has become a top-priority problem. End-to-End testing ...aims at improving the quality of a web application by exercising it as a whole, and by adopting its requirements specification as a reference for the expected behaviour. In this paper, we outline a novel approach aimed at generating test scripts for web applications from either textual or UML-based requirements specifications. A set of automated transformations are employed to keep textual and UML-based requirements specifications synchronized and, more importantly, to generate End-to-End test scripts from UML artefacts.
Presently in software testing companies, 90% of software testing is carried out manually which takes lots of time, and also need large number of employees which not only increase the cost of the ...Software but also takes more time for completion. Therefore, software testing companies are moving towards automated testing and there is a need to develop a testing framework which is application independent and scalable with the increased requirements of each application. An automated testing framework has been proposed here for testing web applications. The proposed framework is based on keyword driven framework in which a excel file containing the keywords is imported to the framework by using selenium WebDriver API.
The SmartDriver framework is an open extension of Selenium WebDriver framework aimed at decreasing implementation and maintenance costs of automated tests. It composes from two principal modules ...working in synergy. The structuring module ensuring three layer architecture of reusable objects, page objects and tests. Besides decreasing of implementation and maintenance costs, this module allows to create tests which can be easily read by testers or business analysts without previous extensive programming knowledge. The maintenance module then decreases time needed to update the scripts. When a test fails when locating a page element which does not exist due to obsolete test script, SmartDriver automatically analyzes if the element has been just moved to another place in the page. If so, it gives this information to the script developer.
Page Object is a design pattern aimed at making web test scripts more readable, robust and maintainable. The effort to manually create the page objects needed for a web application may be substantial ...and unfortunately existing tools do not help web developers in such task. In this paper we present APOGEN, a tool for the automatic generation of page objects for web applications. Our tool automatically derives a testing model by reverse engineering the target web application and uses a combination of dynamic and static analysis to generate Java page objects for the popular Selenium WebDriver framework. Our preliminary evaluation shows that it is possible to use around 3/4 of the automatic page object methods as they are, while the remaining 1/4 need only minor modifications.
In today's 21 st century era countless software applications are written as a web based application which runs in a web browsers. With new technologies and commercialization of I.T. sector, the web ...based system has undergoes frequent and rapid changes. Today Softwares are coded as a web based application, which help to access data from any part of the globe. Even the economic relevance of web based enhances the control and quality of software. The quality assurance of any system depends on its test. But to do manually testing in most of the cases is time consuming, expensive and hectic. For the better business purpose and to save time and money automation testing is required. There are variety of tools are available in the market for this. One of the best known tool is selenium suite which is a combination of different automation testing tool. In this paper we will discuss about the selenium suite. It provides testers with different framework for different test cases. The main objective of this paper is to find the best tool in selenium suite and then compare it with some other tool for same task. For this purpose, performance evaluation is done on the basis of some criteria.
Functional test automation is increasingly adopted by web applications developers. In particular, 2nd generation tools overcome the limitations of 1st generation tools, based on screen coordinates, ...by providing APIs for easy selection and interaction with Document Object Model (DOM) elements. On the other hand, a new, 3rd generation of web testing tools, based on visual image recognition, brings the promise of wider applicability and simplicity. In this paper, we consider the problem of the automated creation of 3rd generation visual web tests from 2nd generation test suites. This transformation affects mostly the way in which test cases locate web page elements to interact with or to assert the expected test case outcome.
Our tool PESTO determines automatically the screen position of a web element located in the DOM by a DOM-based test case. It then determines a rectangle image centred around the web element so as to ensure unique visual matching. Based on such automatically extracted images, the original, 2nd generation test suite is rewritten into a 3rd generation, visual test suite. Experimental results show that our approach is accurate, hence potentially saving substantial human effort in the creation of visual web tests from DOM-based ones.
Test suite maintenance tends to have the biggest impact on the overall cost of test automation. Frequently modifications applied on a web application lead to have one or more test cases broken and ...repairing the test suite is a time-consuming and expensive task.
This paper reports on an industrial case study conducted in a small Italian company investigating on the analysis of the effort to repair web test suites implemented using different UI locators (e.g., Identifiers and XPath).
The results of our case study indicate that ID locators used in conjunction with LinkText is the best solution among the considered ones in terms of time required (and LOCs to modify) to repair the test suite to the new release of the application.
This paper presents a free data loss prevention solution that is based on two widely known and publicly available and free data loss prevention software tools, namely MyDLP and OpenDLP. A system ...architecture is proposed, which has been designed to combine these two software tools in a way such that they co-exist inside an information system, complementing each other, and providing solid data loss prevention services. The proposed architecture incorporates mechanisms for automating the operation of the developed solution, thus minimizing the need for human intervention.
This poster presents an industrial case study about test automation and test suite maintenance in the context of Web applications. The Web application under test is a Learning Content Management ...System (eXact learning LCMS). We analysed the costs associated with the realignment of four equivalent Selenium WebDriver test suites, implemented using the page object pattern and different methods to locate web page elements, to a subsequent release of eXact learning LCMS. In our study, the two ID-based test suites required significantly less maintenance effort than the XPath-based ones.