Critical Analogy of Automated Testing Tools
Total Page:16
File Type:pdf, Size:1020Kb
www.ijemr.net ISSN (ONLINE): 2250-0758, ISSN (PRINT): 2394-6962 Volume-6, Issue-2, March-April 2016 International Journal of Engineering and Management Research Page Number: 187-192 Critical Analogy of Automated Testing Tools Shivani Varshney1, Himani Gupta2 1, 2Research Scholar, Department of Computer Science, Galgotias University, Greater Noida, U.P., INDIA ABSTRACT correct behavior, plan that leads them through a set of Software testing aims at evaluating an attribute or important test cases. A test case in software testing is a set capability of a program or system and determining that it of conditions written for particular applications & tester meets its required results. Testing automation tools enables run all these conditions to ensure the correct functionality developers and testers to easily automate the entire process of of the software applications. Manual testing is a laborious testing in software development. It is to audit & customize activity that requires the tester to possess a certain set of source code. Performing testing in an effective manner produces arete software. With agile practices getting more qualities; to be patient, observant, speculative, creative, popular Test Automation is an important factor in achieving innovative, open-minded, resourceful, opinionated, and continuous delivery. There are so many tools available in skillful. Manual testing helps discover defects related to market for test automation. It includes both Open Source and the usability testing and GUI testing area. Any new Proprietary Tools/Framework. It is a very challenging task to application must be manually tested before its testing can pick up best tool for automation testing. The objective of the be automated. Manual testing requires more effort, but is paper is to conduct a comparative study of automated testing necessary to check automation feasibility The problems tools such as Selenium free source, HP Quick test professional with manual testing are, it is very time consuming process, (QTP) , Telerik Test Studio , Watir and Sahi. This work not reusable, has no scripting facility, great effort required, computes and compares these automated software testing tools to determine their application and effectiveness. and some errors remain uncovered . Automation testing covers all the problems of Keywords--- Selenium free source, HP Quick test manual testing. It increases the test execution speed, more professional (QTP), Telerik , Watir and Sahi. reliable, repeatable, programmable, comprehensive. [2]Automation Testing is running test cases where manual intervention is not required to run each one. It uses special I. INTRODUCTION software to write & execute test cases to compare the actual outcome with the predicted outcome. Aim of present paper is to perceive the foremost automated tool.[3] “Software testing is a process used to identify the The following section highlights a brief review of correctness, completeness and quality of developed automated testing tool. The remaining sections are computer software”. It is the process of exercising and organized as follows. Section 3.0 gives an insight to the evaluating a system or system components by manual evolution of Automated Testing Tools and its components. automatic means to verify that it satisfies specified Section 4.0 gives a description of HP QTP, Selenium, requirements or to identify differences between expected Sahi , Telerik Test Studio and Watir. A critical analogy of and actual results. The fundamental goal is to analyze the these automated tools is presented in Section 5.0. The features supported by various functional testing tools that results are depicted in Section 6.0 along with the scope for aid in minimizing the resources[1]. future work. and Section 7.0 presents the conclusion. There are two ways of testing that are manual or automation. Manual testing carried out by the testers. Manual II. TESTING TOOLS Testing is a process where a tester often follows a written test plan that leads them through a set of important test In software testing, test automation is the use of cases It requires a tester to play the role of an end user, and special software (separate from the software being tested) use most of all features of the application to ensure its to control the execution of tests and the comparison of 187 Copyright © 2016. Vandana Publications. All Rights Reserved. www.ijemr.net ISSN (ONLINE): 2250-0758, ISSN (PRINT): 2394-6962 actual outcomes and predicted outcomes[4]Here the classification of software testing tools has been depicted.[5] Manual Testing Automation Testing Acceptance Selenium testing Black Box QTP testing Whitebox Watir testing Unit testing Sahi System Telerik Test testing studio Fig. I showing classification of testing tools MANUAL TESTING AUTOMATION TESTING If you have to run a set of tests repeatedly automation is If the Test cases have to be run a small number of times a huge gain. its most likely to perform manual testing It allows the tester to perform more ad-hoc(random Helping performing “compatibility testing”-testing the testing).. software on different configuration. Short term cost are reduced It gives you the ability to run automation scenarios to perform regressions in a short time The more time tester spends testing a module the greater It gives you ability to run regressions on a code that is the odds to find real use bugs.. continuously changing. Simultaneously testing on different machine with Automation testing can be carried out simulataneously different OS platform combination is not possible using on different machine with different OS platform manual testing. combination Executing the Build Verification Testing(BVT) is very Automation testing is very useful for automating the mundane and tiresome in Manual Testing. Build Verification Testing(BVT). Table I Showing the difference between Manual Testing and Automated Testing. III. HP QUICK TEST PROFESSIONAL the test procedure and to manipulate the objects and controls of the application under test. Although HP QuickTest Professional is the solution for QuickTest Professional is usually used for "UI Based" Test functional test and regression test automation. In other Case Automation, it can also automate some "Non-UI" words, QuickTest Professional is a tool used for based Test Cases such as file system operations, database automation of functional and regression tests for various testing or Web services testing. HP QuickTest Professional software applications and environments. It performs 11 is current and latest available stable release from HP functional and regression testing through a user interface Software Division.[7] such as a native GUI or web interface.[6] QuickTest SELENIUM: Professional uses VBScript scripting language to specify 188 Copyright © 2016. Vandana Publications. All Rights Reserved. www.ijemr.net ISSN (ONLINE): 2250-0758, ISSN (PRINT): 2394-6962 Selenium provides a rich set of commands for SAHI: fully testing your web-app in virtually any way you can Sahi is an open source testing tool for web imagine. The command set is often called selenese. These applications, with the facility to record and playback commands essentially create a testing language.[8] scripts. Developed in Java and Javascript, this tool uses In selenese, one can test the existence of UI simple Javascript to execute events in the browser. elements based on their HTML tags, test for specific Sahi runs as a proxy server which intercepts content, test for broken links, input fields, selection list traffic from the web browser and records the web browsing options, submitting forms, and table data among other actions. Sahi can play back those recorded actions by things. In addition Selenium commands support testing of injecting Javascript into the browser so it can access window size, mouse position, alerts, Ajax functionality, elements in the web page. This makes the tool independent pop up windows, event handling, and many other web- of the website/ web application.[11] application features. The Command Reference lists all the TELERIK TEST STUDIO: available commands.[9] Telerik Test Studio is a automated software A command is what tells Selenium what to do. Selenium testing tool that offers a Visual Studio plug-in and a commands come in three “flavors”: standalone application to help you build functional web Actions, Accessors and Assertions.Actions are and desktop tests, customize them in code within Visual commands that generally manipulate the state of the Studio, or convert them to unit tests. [9] The tool provides application. They do things like “click this link” and industry-best test automation support for any application - “select that option”. If an Action fails, or has an error, the Silverlight, WPF, AJAX, HTML5, and MVC included, as execution of the current test is stopped.Many Actions can well as support for Visual Studio 2010. What’s more, Test be called with the “And Wait” suffix, e.g. “click And Studio is the best way to test RadControls for ASP.NET Wait”. This suffix tells Selenium that the action will cause AJAX, Silverlight and WPF. The test recorder the browser to make a call to the server, and that Selenium automatically detects the controls and exposes commonly should wait for a new page to load. Accessors examine the used verifications. Use Test Studio standalone app for state of the application and store the results in variables, performance and load testing too.[12] e.g. “storeTitle”. They are also used to automatically generate Assertions. Assertions are like Accessors, but IV. EVOLUTION AND CRITICAL they verify that the state of the application conforms to ANALOGY OF AUTOMATED TESTING what is expected. Examples include “make sure the page title is X” and “verify that this checkbox is checked”.[10] TOOLS WATIR: Watir, is an open-source (BSD) family of Ruby Evolution of testing tools evolve from 1980 libraries for automating web browsers. It allows you to However the evolution of the Automated testing tool write tests that. It is simple and flexible. Watir drives evolve from 1999 to 2013. Today, assuring the quality of browsers the same way people do.