0% found this document useful (0 votes)
65 views3 pages

11

The document discusses automation testing tools Selenium and QTP. It provides an introduction to both tools and compares them based on various criteria such as supported browsers, programming languages, cost etc. Selenium is presented as an open source cross-browser testing tool while QTP is highlighted as a commercial tool with limitations like only supporting Windows.

Uploaded by

yune yuno
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views3 pages

11

The document discusses automation testing tools Selenium and QTP. It provides an introduction to both tools and compares them based on various criteria such as supported browsers, programming languages, cost etc. Selenium is presented as an open source cross-browser testing tool while QTP is highlighted as a commercial tool with limitations like only supporting Windows.

Uploaded by

yune yuno
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MIT International Journal of Computer Science and Information Technology, Vol. 5, No. 2, August 2015, pp.

55-57 55
ISSN 2230-7621©MIT Publications

Review Paper on Comparison of Automation


Testing Tools Selenium and QTP

Sanjeev Gupta Sunil Kumar Chirag Saxena


Assistant Professor Assistant Professor Department of CSE
Department of CSE Department of CSE MIT, Moradabad,U.P., India
MIT, Moradabad, U.P., India MIT, Moradabad, U.P., India

ABSTRACT
Software Testing Life Cycle is one of the most important phases of Software Development life Cycle. Effective way to perform
Testing is Automation Testing that reduces the effort of manual testing. But it is important to select a best suitable testing tool
according to the project requirement and financial Status. Main objective of the paper is to conduct a comparative study of
automation framework like Selenium and QTP. Selenium is an automation tool which works with different browsers, operating
systems, various programming languages etc. Whereas on the other hand QTP is losing its business because of its limitation
such as it support only windows environment, limited cross browsing functionality and high licensing costs. The paper will
provide the comparison of Selenium and QTP based frameworks on different criteria.

I. INTRODUCTION then first you have to go Facebook homepage where you entered
Software testing plays an important and crucial role in Software your mail address then your password and then you have to click
Development Life Cycle (SDLC). Software testing is a process on log in button after this you have to wait until page loaded
by which software are evaluated. The evaluation is done on properly. Then you will click on your “profile” and then clicked
various parameters. on “about us”. So it simply refers to the Manual Testing. You
Verify that according to your request, corresponding page will
Software Testing has different goals and objectives. The major
objectives of Software testing are as follows: be open or not…?? If not then bug is exist in our application.

• Finding bugs or defects which may introduce at the time In Automation Testing, it is done on Back-End, it means Testers
of developing the software. design test cases According to the UI of the application and verify
each and every element of web application.
• To assess the quality of the software.
The main purpose of running automated tests is to emulate the
• To prevent defects.
REAL world as close as possible to save TIME AND COST.
• To verify that the software meets the requirements of user
For Automation Testing, companies prefer “Automation
which were gathered in requirement analysis phase of
software development life cycle (SDLC). Framework”. The main motive of the tester is to find out all
possible defects in the software and report all defects to
• To satisfy the customers by providing them a quality and the developer to fix, so that software quality can be increase.
valid product.
Software Quality becomes necessary while we talks about
• To ensuring that a system is ready for use. customer satisfaction. It should be priority of a company to
Also testing is classified in various categories. One of the broad provide high level of customer satisfaction.
categories of testing is manual testing and automation testing. • Perform Manual Testing is very time consuming process,
Manual Testing is done on Front-End. Here no coding is required. require more effort, not reusable because of no scripting
For example supposed you want to log in your Facebook account facility and some error remain uncovered.
MIT International Journal of Computer Science and Information Technology, Vol. 5, No. 2, August 2015, pp. 55-57 56
ISSN 2230-7621©MIT Publications

• Automation Testing overcome all the problems of manual • Selenium Web Driver is a tool for writing automated tests
testing with using automation framework like Selenium, of websites. It aims to mimic the behavior of a real user,
QTP, Win runner etc. and as such interacts with the HTML of the application.
Automation Testing is more convenient and efficient than • Default Selenium Grid Port Number is localhost:\4444.
manual testing. With automation testing we can save our time
and resources too. III. SELENIUM COMPONENTS
In Manual testing, Presence of tester are necessary to test
A. Selenium IDE
application from every perspective, but in Automation Testing,
Once you will completed the Design Phase of Test Cases and Selenium IDE is an integrated development environment for
start execution of test cases on server then testers can concentrate building Selenium test cases. Selenium IDE is Firefox plug-in
that allows to testers to record their action as they follow the
on any other project and when you’ll be comeback then you’ll
workflow that they need to test.
see the report in terms of passed and fail test cases.
There are two types of testing tools: B. Selenium Remote Server (Selenium RC)
1. Open Source Testing Tool (Selenium Web driver). It is a Client Server Architecture that receives the Selenium
2. Commercial Testing Tool (QTP, Win runner, QA Load, Commands from the editor and test are carried out via browser.
QA Test). For Ex: In Editor like eclipse , where we write our code and on
the other hand we have website to test, In between these two,
II. INTRODUCTION TO SELENIUM there is proxy server called RC, first our code go to RC Server
From Editor (Eclipse) and then RC server interpret the selenium
Test Automation, also called Web Automation is growing in
command and called particular function of web application.
popularity because over the years company do not have time
Table 1: Difference between Selenium RC and Web Driver
and money to invest in large test teams to ensure that application
works as they are expected. Selenium is one of the most important Selenium RC Selenium Web Driver
frameworks in the testing field. Selenium originally created by Selenium Server acts as a mid- Web driver talk directly to the
“James Huggins” to solve the issue of getting the browser to do dleware between browser and browser. No Proxy Server pres-
user interaction [2]. Selenium commands. ent here.

Selenium is basically used for Functional Testing of the web Fewer Objects Oriented. Purely Object Oriented.
application. It can be used for testing in continues integration Can’t perform testing for Mobile Can Perform Testing for Mobile
environment. This Open Source Framework released under the Applications. Applications.
Apache 2.0 License and can be downloaded and used without Slower Execution Faster than Selenium RC.
any charges [1].
Selenium is an open source automation testing tool for automating C. Selenium Web Driver and Grid
web based applications. It can only use for perform automation Selenium Web Driver is the successor to Selenium RC, which
testing of web based applications. It supports multiple browsers directly talk to the browser by sending commands and retrieves
and multiple operating systems. Because of open source and the result.
supportive in nature, demand for Selenium is increasing day by Selenium Grid is a platform which is used for parallel execution
day in industry [3]. of test cases on different machines and different browser at a
Due to the following reason we may prefer Selenium for time. During Working with Selenium Grid we need to ensure
automation testing. that we follow the certain protocols: Configuring Hub, Develop
• Selenium Supports Multiple Browser, it means we can run Automation Script, XML Build File, Test Execution, and Result
Analysis. A brief difference between Selenium RC and Selenium
our Test Script on different Browser.
web driver is shown in the Table 1.
• Free of Cost.
• Selenium Supports Multiple OS. IV. INTRODUCTION TO QTP
No other test tool covers such a wide array of platform. QTP is a commercial Tool introduced by HP. It performs
regression and functional testing through a user interface of
There are some facts related to Selenium which a tester must
application. QTP supports web based application as well as
know before using it and these are as follows:
window based application. We will use VBScript as programing
• Firefox is a default browser of Selenium. language to develop automation Script. It was originally written
• Through Selenium we can’t identify the image, only by Mercury Interactive, which was acquired by HP (Hewlett
identify the path of image and the title of image. Packard).
MIT International Journal of Computer Science and Information Technology, Vol. 5, No. 2, August 2015, pp. 55-57 57
ISSN 2230-7621©MIT Publications

There are following advantages of using QTP:


Parallel Execution
Supports Don’t
• QTP supports VB Script to write automation script, which of Test Cases
is quite simple.
User needs to have
• QTP Supports File Upload System but Selenium Don’t. Requires Less effort
Effort and Skill good knowledge
to create a script.
• It’s easy to identify object. about core java.

There are following limitations of using QTP: Fast as compared to Slow as compared to
Execution Speed
QTP. selenium.
• Commercial Tool. We have to pay for it.
• Can’t Support Multithreading. We can’t execute multiple
VI. CONCLUSION
test cases on different browser at a time.
Before going online, it becomes essential for organizations to
• Execution Speed Slow as compared to Selenium.
test their web sites and web applications either manually or
through automation tools. As manual is time taking so companies
V. COMPARISON BETWEEN SELENIUM AND QTP go for automation tools more. So an automated web testing
When it comes to test automation tools for web application should ensure that the web applications are performing their
testing it is hard to choose between the available options in usual functionality or tasks for which these are intended. This
the market and the right alternative that offers best of the latest paper would be of useful to anybody interested to become an
technologies from the market place at the right budget. Open Automation Test Engineer.
source tools always encourage testers to select because of low While evaluating different test automation tools the testing team
initial investment but, they are not always the best alternative should look out who will develop, maintain and support test
in due to lack of official support & training. On the other hand cases. If the test team is considering ownership Selenium will
Commercial tools are expensive to implement but provides be an advantage because Selenium is an open source tool hence
official support and training.[5] more popular among testers.
Automation is a continuous process and have the following steps: QTP could fit your team, if you have money to spend, QA tester
• Setting-up the test environment. will develop and maintain test cases and testing will be outside
of the web browser.
• Screening the available tool options.
But as compared to QTP, Selenium is less user-friendly and
• Creating a Proof of Concept with a few sample test sce- also requires core java Programming knowledge and supports
narios for the application. limited browsers.
• Preparing (automation) frameworks. REFERENCES
• Building libraries of functions and methods.
[1] D. Xu, W. Xu, B.K. Bavikati, W.E. Wong, “Mining Executable
• Defining configuration parameters.
Specifications of Web Applications from Selenium IDE Tests,”
The comparison between QTP and Selenium is shown in Table 2. in Proceedings of the Sixth International Conference on Software
Table 2: Difference between Selenium and QTP Security and Reliability. IEEE Computer Society, 2012, pp. 263-272.
[2] L. Nagowah and K. Doorgah, “Improving Test Data Management
Parameter Selenium QTP in Record and Playback Testing Tools,” in Proceedings of
the International Conference on Computer & Information
Cost Open Source Commercial Tool Science(ICCIS). IEEE Computer Society, 2012, pp. 931-937.
Java, Python, Ruby, Supports Only VB- [3] F. Wang, W. Du, “A Test Automation Framework Based on WEB”
Language Supports
.net and C# Script. in Proceedings of the 11th International Conference on Computer
and Information Science. IEEE/ACIS, 2012, pp. 683-687.
Window and Web
Application Support Web Based Only [4] Selenium Vs QTP difference and Usage quick reference
Based Application.
“http://kedar.nitty-witty.com/blog/selenium-vs-qtp-differences-
File Upload System Don’t Supports usagequick-reference”.

You might also like