Professional Documents
Culture Documents
8 ISSN: 1837-7823
1. Introduction
Software testing provides an objective, independent view of the software to allow the business to appreciate and understand the risks of software implementation. Test techniques include, but are not limited to, the process of executing a program or application with the intent of finding software bugs [7]. Software testing can be stated as the process of validating and verifying that a software program/ application/ product. There are two ways of testing that is manual and automated. Manual testing carried out by the testers. Testers test the software manually for the defects. Here tester has to act as an end user. Automation testing automates the steps of manual testing using automation tools such as Sahi and Selenium. It increases the test execution speed.
2. Problem Statement
Testing plays a major role in software development process. There are various automated testing tools in the market. When we initiate research to find the right automated tool, it is vital to decide the requirements when choosing a tool for evaluation. This research evaluate two major tool vendors that are Sahi and Selenium on their test tool characteristics, test execution capability, test reporting capability, scripts reusability capability, and playback capability.
2.1 Background
In this section, I listed the papers that reviewed during this project. With the shrinking development cycles, pressure of reducing the time to go-to-market and repetitive processes, automation is no longer optional. Also, there is no relaxation on the quality of the final products; companies just cant afford to launch products that are not ready for the prime time. Therefore, it is not surprising that the demand for test automation tools has increased drastically. The paper surveys a set of tools that support the testing process in a variety of ways. Some tools simulate the final execution environment as a way of expediting test execution, others automate the development of test plans, and still others collect performance data during execution. In these tough economic times, software29
International Journal of Computational Intelligence and Information Security, October 2012 Vol. 3, No. 8 ISSN: 1837-7823 development managers are pushing to get more and better testing done faster. Most recognize the automated testing tools facilitate higher quality and more productive testing, but acquiring such tools is often complicated. The paper had given the evaluation criteria for selecting the testing tools
3. Evaluation Study
The two tools Sahi and Selenium has been opted for this study. Comparison between these tools have been made on the following parameters: 1. Recording efficiency 2. Programming language support 3. Ease of use 4. Stability of scripts and maintenance 5. Data Driven Testing 6. Reporting
International Journal of Computational Intelligence and Information Security, October 2012 Vol. 3, No. 8 ISSN: 1837-7823 In Selenium, on the other hand, we have to explicitly wait for page load thus wasting lot of time on it and probably the random failures. Testers need to know about Test NG/Junit,Xpaths,HTML and frames knowledge before using it.
4. Result
For the purpose of rating the comparison parameters, we have used 5-point scale i.e. 5, 4, 3, 2, 1 as very Good, Good, Average, Bad, and very Bad respectively. Each parameter has been divided into sub criteria. The total value of parameter is calculated by taking average of sub criteria values.
For sahi the value is (2+5+5)/3 =4 For selenium the value is (5+5+5)/3=5 Thus selenium is very good in recording efficiency.
For sahi the value is (2+5)/2=3.5 For selenium the value is (5+1)/2=3 Therefore sahi is more than average as compared to selenium
31
International Journal of Computational Intelligence and Information Security, October 2012 Vol. 3, No. 8 ISSN: 1837-7823
Remarks Easy to start selenium because of IDE Sahi doesnot requires core developers. . Selenium uses x path based identification
5 1 2
For sahi the value is (1+5+5)/3=3.6 For selenium the value is (5+1+2)/3=2.6 Thus, sahi is good than selenium. .
For sahi the value is (5+5)/2=5 For selenium the value is (1+2)/2=1.5 Therefore, sahi is best in stability of scripts as well as in the adoption by tester.
5. Conclusion
Automated software testing is the best way to increase the effectiveness, efficiency and coverage of your software testing. Both of the tools compared have been proved to be beneficial. The choice, on which tool is to be selected depends on various parameters. In case of data driven testing both are best. And if you are a non programmer then sahi is a better option.
32
International Journal of Computational Intelligence and Information Security, October 2012 Vol. 3, No. 8 ISSN: 1837-7823
References
[1]. Selenium http:// seleniumhq.org/ [2]. Thom Garett Bernie Gauf Implementing automated software Testing [3]. William E Perry, Effective methods for Software Testing [4]. Michael Jagrre, Testing applications on the web [5]. David Burns, Selenium 1.0 Testing tools [6]. Sahi Automation Testing, http:// Sahi.co.in [7]. Software Testing, en.wikipedia.org/wiki/Softwaretesting
33