SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2579
Automation Testing of Web based application with Selenium and HP
UFT (QTP)
Prachi Kunte 1, Prof. Dashrath Mane 2
1 P.G. Student, Department of M.C.A., VES Institute of Technology, Mumbai - 74, Maharashtra, India.
2Professor, Department of M.C.A., VES Institute of Technology, Mumbai - 74, Maharashtra, India.
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - Software testing is one of the most important
phases of Software Development Life Cycle and mainobjective
to find bugs and ensure quality of the software. Software
Testing can be done manually or can be automated. Manual
testing is done by tester without any tool. In automation
testing is done with the help of automated testing tools. The
objective of the paper is to compare two automation tools,
Selenium and UFT in context of testing web based application.
Key Words: Software Testing, QTP, UFT, Selenium.
1. INTRODUCTION
Software testing has different goalsandobjectives.Themain
goal is to find defects in a project created by a programmer
while developing project. It is a process of checking and
evaluating product in order to maintain quality of final
product and to verify that every part of project satisfies its
requirements as mentioned by the client in the Business
Requirement Document (BRD). It is an integral partofSDLC.
It is always a good practice to introduce testing as early as
possible in the SDLC. This gives a sufficient time for the QA
Analyst to build manual and automated test cases both.
There are two types of testing: Manual testing and
Automation testing. The selection of testing that to be done
manually or with automated tool totally depends upon
project requirement, budget associatedwithprojectandalso
which testing is benefited to the project.
Manual Testing is done by tester. Tester acts as an end user
and uses various features of product. Manual testing may
take more time or we can say it may be more time
consumable.
In manual testing chances of human errors are high as
compared to automation. Automation testing covers all the
problems of manual testing. Automation testing automates
the steps of manual testing.
2. AIM OF STUDY
2.1 To know about Automation Testing
2.2 Knowledge of Automation Testing framework
2.3 Knowledge of Automation Testing tools
2.4 Evaluation of tools based on some parameters
3. RELATED WORK
Testing of software can be done in both Manual as well
Automation. However, dependingonthetotal budget,skilled
resources available, necessity to implement automation,
current SDLC process being followed and various other
factors on which decision is made to implement Automation
testing or not.
3.1 Below are some points which highlight
automation in comparison with manual testing:
 Automation test scripts run faster and require
less human resources.
 It is also beneficial in situations where there are
frequent changes in the AUT.
 If there are certain test cases which needs to be
tested mandatorily for any other feature added
then in such situation Automation testing is very
much beneficial.
 Automation testingreducesmanualintervention
for certain processes there by for e.g if there are
4 Manual testers then the work done by them
can be done by one Automation tester who will
design test scripts to replicate the same
procedures followed by the Manual testers.
 Automation testing is very much useful for
testing the final build or the final product which
will be further moved on UAT as a next phase in
SDLC.
 Even though theinitialcostofautomationishigh.
Once implemented it proves to be beneficial
investment to the company.
3.2 Test Automation Framework
Automation framework is work environment or
facility which contains all the set of rules andcareful
planning to write the scripts in a manner which
results for less effort spent in the maintainability of
them.
It adds an advantage by which wecan ensurethe re-
usability of the test scripts. Any changes in
application, the scripts need little or no updating to
cope up with that change. Each of the frame work
has its own pros and cons depend under which
circumstances these are being adopted by the
Testing Team or Test Lead.
There are four kinds of automation framework
which are the most widely used in industries:
3.2.1 Modular
The framework divides the entire AUT into
number of logical and isolated individual
modules. These modules can be individual
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2580
functionalities for each module, we create a
separate and independent test script. Thus,
when these test scripts taken together (top-
down approach or bottom-up approach) builds
a larger test script representing more than one
module. This kind of framework can be used if
your applicationcontainslotofinter-dependent
functionalities.
It is usually used in integration testingwhereall
the modules are tested separately and they
either use top-down approach or bottom-up
approach while integrating every module with
one another.
3.2.2 Data driven
This type of framework helps the user separate
the test script programming logic and the test
data from each other. In this framework the
data which is going to be used as an input for
various tests are stored in external storing
sheets like excel sheet, XML, CSV or ODBC
repository.
This type of framework is very beneficial when
you want to test any particular functionality
whose outcomes differ based on different
combinations of input parameters data. For
example, in case of ‘User Registration’ scenario,
where testing is done based on different
combinations of input parameters like
username, email, mobile no, etc.
3.2.3 Keyword driven
In Keyword driven testing not only the testdata
is stored in an external file but also some parts
of the script are stored in an external file. When
the test executes the scripts pulls out the code
snippets from an external file as well as the test
data from an external file.
Therefore Keyword driventestingframeworkis
also known as an extension of the data driven
framework. This type of framework is used
when there are repeatable scenarios which you
need to test rigorouslyalongwiththechangesin
your application.
3.2.4 Hybrid
In Hybrid Testing framework we use the
combination of any of the above frameworks
mentioned. As each of the frameworks has its
advantages and disadvantages,insuchsituation
Hybrid provides to be a perfect solution for
implementing automation testing.
3.3 Automation Software tools
The decision to implement automation in any
organization is together taken by Project Manager,
Test Team lead and sometimes even testing team is
involved in the process.Therearevariousfactorson
which this decision is taken which will be discussed
in this paper later.
Below are two major decisions on which
automation is dependent.
 Open source approach (Free)
 Commercial test tools (Paid)
Majorly the budget of the overall project is the deciding
factor for implementing automation. As there are lot of free
tools available in market forautomationaswell aspaidtools.
We will be majorly focusing on two mostwidelyusedtoolsin
industry for automation testing.
3.3.1 Selenium
3.3.2 UFT (QTP)
3.3.3 Selenium
Selenium is an open source (freely available) software
testing tool for automating web applications. You can
download selenium libraries directly from their official
websites www.seleniumhq.com. These files are available as
per various languages preferred by testers for writing
automated test-scripts (Java, Python, etc.)
Selenium itself is an entire framework which comprises of
various components. Each of those components are used for
different purpose of automating the testing process.Some of
these components are used for simply ‘record-playback’ all
the user activities on the web-app, some are widely used to
automate manual test process by writing test scripts to
invoke the browser and perform all the activities which a
tester would perform manually and some components are
used to automate mobile applications. Below are the major
components of Selenium:
a) Selenium IDE
b) Selenium RC (selenium 1.0)
c) Selenium WebDriver (selenium 2.0)
d) Selenium Grid
a) Selenium IDE
Selenium IDE is a Firefox extension which provides an
environment for recording, editing and debug tests.
Selenium IDE is an integrated development environment for
Selenium scripts. It is implemented as a Firefox extension,
and allows you to record, edit, and debugtests.SeleniumIDE
includes the entire Selenium Core, allowingyoutoeasilyand
quickly record and play back tests in the actual environment
that they will run in. [5]
b) Selenium RC
Selenium RC was the flagship testing framework of the
whole Selenium project for a long time. This is the first
automated web testing tool that allowed users to use any of
the various programming language: Java, Python, C#, Perl,
Ruby, and PHP.
c) Selenium WebDriver
The WebDriver proves itself to be better than bothSelenium
IDE and Selenium RC in many aspects. It implements a more
modern and stable approach in automating the browser's
actions. WebDriver, unlike Selenium RC, does not rely on
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2581
JavaScript for Automation. It controls the browser by
directly communicating with it.
d) Selenium Grid
Selenium Grid is a tool used together with Selenium RC to
run parallel tests across different machines and different
browsers all at the same time. Parallel execution means
running multiple tests at once.
Features:
 Enables simultaneous running of tests in multiple
browsers and environments.
 Saves time enormously.
 Utilizes the hub-and-nodes concept. Thehubactsas
a central source of Selenium commands to each
node connected to it.
3.3.1 UFT (QTP)
UFT formerly known as QTP (Quick Test Professional) is a
tool for automation testing to test the applications.
UFT has its own IntegratedDevelopmentEnvironment(IDE)
comes with various features which enable tester to write
scripts efficiently. UFT is supported only by Windows and
uses VBScript Language for programming.
It supported technologies totally depends on the version of
UFT is accessible for Web, Java (Core and Advanced), .Net,
WPF, SAP, Oracle, Siebel, PeopleSoft, Delphi, Power Builder,
Stingray 1, Terminal Emulator, Flex, WebServices,Windows
Mobile, VisualAge Smalltalk, Silverlight and mainframe
terminal emulators. [8]
A. Object Repository:
In UFT, while recording the scripts,itstoresthe propertiesof
objects in Object Repository. UFT will use these stored
properties while executing the recorded script.
B. Descriptive Programming:
It is also known as Programmatic Description.Inthismethod
we write scripts using VBScript language where object
properties are directly coded instead of storing it object
repository.
a) Static Programming
b) Dynamic Programming
4. EVALUATION STUDY
In this study we have used HP UFT version 14.0 and
selenium version 3.4.0.
Comparison between these two tools is made on the basis of
following parameters:
4.1 Cost
UFT costs incurred are by licensing and in
maintenance, but Selenium is a totally free, open-
source tool and can be downloaded easily.
4.2 Easy Learning
Selenium is to be used efficiently for which it
requires proper installation and integration of
various tools. Learning to use Selenium tool can be
difficult.
4.3 Operating System Support
Selenium allows testing to be carried out in any
platform. Cross-platform testing is an essential
feature with growing technology and demands of
web-based testing.
Selenium tests applications on all major OSs like
Windows, Linux, OS X, and Solaris. [9]
UFT can be used only on windowsplatform.Though
it does not allow cross-platform but since windows
is more widely used, UFT is of high importance as
testing tool.
4.4 Browser Support
Browser support of Selenium is very high compare
to UFT. UFT supports mainly IE, Firefox, and
Chrome.
Selenium supports Firefox, chrome, IE, Safari, Html
Unit.[9]
4.5 Scripting Languages
Selenium along with itscross-platformfunctionality
allows scripting to be done using Java, C#, Python,
Ruby, JavaScript, PHP. It takes lot of time to create
scripts in selenium.
Scripting is the base for testing which can be done
using VBScript in UFT. Thus, it allows even naïve
users to use the tool due to simple programming
skills that are needed and not necessarily an expert
in scripting. However, if advanced test scripts with
complex logic may require some expertise skills as
for programming. Since scripting is easier, it can be
done faster than in Selenium.
4.6 Application under test
In selenium applications to be tested are Web
Applications.
In UFT, it is supported for testing of windows
desktop, web and mobile applications.
4.7 Cloud Execution
UFT was designed to test one application at a time
on a single machine.
Selenium can run code on one machine and test the
application on remote machine. Selenium-Grid is
specifically designed to run simultaneous tests on
different machines using different browsers and
different operating systems in parallel. Thus, it is a
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2582
perfect match for cloud-based testing architectures
and services.
4.8 Execution Efficiency
UFT tests one application per machine, whereas
Selenium can execute multiple, simultaneous tests
on a single machine.
Furthermore, UFT script executiontakesmoreRAM
and CPU power than does Selenium. UFT can run in
multiple Windows VMs, but these are more
resource-hungry than Linux VMs, which Selenium
can utilize.
Same hardware cangenerate more executionpower
in Selenium compared to UFT.
4.9 Object Storage and maintenance
Selenium recognizesobjectsonthe basisoftheDOM
structure of the HTML Page. Objects are managed
using UI-Element user extensionandproperties.[9]
UFT provides built in object repository which
makes stored objects reusable.
4.10 Execution Speed
Execution speed of Selenium is faster than UFT in
our case. We recorded execution time for UFT and
selenium for 2 same scripts.
And for the same test, execution time in Selenium
as show in Fig. (a)
For login test of Holachefwebsite executiontimein
UFT is as shown in Fig. (b)
Fig.(a) Execution Time in Selenium(13 sec)
Fig. (b) Execution time in UFT(25 sec)
5. CONCLUSION
Selection of right automation tool is based on application
requirement, type of application, budget and efficiency.
Selenium became more popular in short span of time.
Selenium framework is designed only for web application
testing If application requirements are getting fulfilled with
Selenium there is no need to go for UFT.
It's the application complexity and functionality which is a
major deciding factor for which type of tools should beused.
When it comes to web apps selenium is better choice as
compared to QTP which provides a tester more flexibility to
test the applications under various complex scenarios.
REFERENCES
[1] Manjit Kaur, Raj Kumari, “Comparative Study of
Automated Testing Tools: TestComplete and
QuickTest Pro”International Journal of Computer
Applications (0975 – 8887) Volume 24– No.1, June
2011
[2] S.Rajeevan, B.Sathiyan,” Comparative Study of
Automated Testing Tools: Selenium and Quick Test
Professional”,International Journal of Engineering
and Computer Science ISSN: 2319-7242 Volume 3
Issue 7 July, 2014 Page No. 7354-7357.
[3] Harpreet Kaur, Dr.Gagan Gupta,“ComparativeStudy
of Automated Testing Tools: Selenium, Quick Test
Professional and Testcomplete,” Int. Journal of
Engineering ResearchandApplicationsISSN :2248-
9622, Vol. 3, Issue 5, Sep-Oct 2013, pp.1739-1743
[4] Satish Gojarea, Rahul Joshib,Dhanashree
Gaigawarec, “Analysis and Design of Selenium
WebDriver Automation Testing
Framework,”Procedia Computer Science 50 (2015)
341 – 346.
[5] Niranjanamurthy M, Arun Kumar R, Sahana
Srinivas, Manoj RK, “Research Study on Web
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056
Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072
© 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2583
Application Testing using Selenium Testing
Framework,”International Journal of Computer
Science and Mobile Computing, Vol.3 Issue.10,
October- 2014, pg. 121-126.
[6] Tarannam Bharti, Er Vidhu dutt.”Functionality
Appraisal ofAutomatedTestingTools”,International
Journal of Computer Science Trends and
Technology (IJCST) – Volume 3 Issue 1, Jan-Feb
2015.
[7] http://www.guru99.com/introduction-to-
selenium.html.
[8] http://www.softwaretestingclass.com/introduction
-to-hp-unified-functional-testing-uft/
[9] http://www.optimusinfo.com/hp-uftUFT-vs-
selenium-automated-test-tool-comparison/
[10] http://automationinUFT.blogspot.in/2013/
01/UFT-vs-selenium.html
[11] http://www.guru99.com/selenium-
tutorial.html

Weitere ähnliche Inhalte

Was ist angesagt?

PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...
PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...
PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...
ijseajournal
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2
 
Manual Testing Questions
Manual Testing QuestionsManual Testing Questions
Manual Testing Questions
User1test
 

Was ist angesagt? (20)

Automated testing-whitepaper
Automated testing-whitepaperAutomated testing-whitepaper
Automated testing-whitepaper
 
Practical Software Testing Tools
Practical Software Testing ToolsPractical Software Testing Tools
Practical Software Testing Tools
 
Automated Testing: An Edge Over Manual Software Testing
Automated Testing: An Edge Over Manual Software TestingAutomated Testing: An Edge Over Manual Software Testing
Automated Testing: An Edge Over Manual Software Testing
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
 
PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...
PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...
PROPOSING AUTOMATED REGRESSION SUITE USING OPEN SOURCE TOOLS FOR A HEALTH CAR...
 
Intelligent Testing Tool: Selenium Web Driver
Intelligent Testing Tool: Selenium Web DriverIntelligent Testing Tool: Selenium Web Driver
Intelligent Testing Tool: Selenium Web Driver
 
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile EnvironmentWSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
WSO2Con Asia 2014 - Effective Test Automation in an Agile Environment
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answers
 
Qtp (2)
Qtp (2)Qtp (2)
Qtp (2)
 
White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really Matters
 
TestingWhiz Webinar: Codeless Test Automation for Web & Cloud Apps
TestingWhiz Webinar: Codeless Test Automation for Web & Cloud AppsTestingWhiz Webinar: Codeless Test Automation for Web & Cloud Apps
TestingWhiz Webinar: Codeless Test Automation for Web & Cloud Apps
 
Testing Tools
Testing ToolsTesting Tools
Testing Tools
 
Overview and Analysis of Automated Testing Tools: Ranorex, Test Complete, Se...
Overview and Analysis of Automated Testing Tools:  Ranorex, Test Complete, Se...Overview and Analysis of Automated Testing Tools:  Ranorex, Test Complete, Se...
Overview and Analysis of Automated Testing Tools: Ranorex, Test Complete, Se...
 
Manual Testing Questions
Manual Testing QuestionsManual Testing Questions
Manual Testing Questions
 
Top 20 best automation testing tools
Top 20 best automation testing toolsTop 20 best automation testing tools
Top 20 best automation testing tools
 
Automated Testing
Automated TestingAutomated Testing
Automated Testing
 
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
DEPLOYMENT OF CALABASH AUTOMATION FRAMEWORK TO ANALYZE THE PERFORMANCE OF AN ...
 
Paper CS
Paper CSPaper CS
Paper CS
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Test Driven Development:Unit Testing, Dependency Injection, Mocking
Test Driven Development:Unit Testing, Dependency Injection, MockingTest Driven Development:Unit Testing, Dependency Injection, Mocking
Test Driven Development:Unit Testing, Dependency Injection, Mocking
 

Ähnlich wie Automation Testing of Web based Application with Selenium and HP UFT (QTP)

SUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation FrameworkSUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation Framework
Lavanya Lakshman
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
Sundar Sritharan
 
Automation Framework Design
Automation Framework DesignAutomation Framework Design
Automation Framework Design
Kunal Saxena
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
srivinayak
 

Ähnlich wie Automation Testing of Web based Application with Selenium and HP UFT (QTP) (20)

Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
DevOps CI Automation Continuous Integration
DevOps CI Automation Continuous IntegrationDevOps CI Automation Continuous Integration
DevOps CI Automation Continuous Integration
 
SUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation FrameworkSUMMIT 09 - Startegic Choice Of Test Automation Framework
SUMMIT 09 - Startegic Choice Of Test Automation Framework
 
An Essential Guide to Effective Test Automation Leveraging Open Source
An Essential Guide to Effective Test Automation Leveraging Open SourceAn Essential Guide to Effective Test Automation Leveraging Open Source
An Essential Guide to Effective Test Automation Leveraging Open Source
 
Open Source Software Testing Tools
Open Source Software Testing ToolsOpen Source Software Testing Tools
Open Source Software Testing Tools
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
BX-D – A Business Component & XML Driven Test Automation Framework
BX-D – A Business Component & XML Driven Test Automation FrameworkBX-D – A Business Component & XML Driven Test Automation Framework
BX-D – A Business Component & XML Driven Test Automation Framework
 
Test Automation Framework An Insight into Some Popular Automation Frameworks.pdf
Test Automation Framework An Insight into Some Popular Automation Frameworks.pdfTest Automation Framework An Insight into Some Popular Automation Frameworks.pdf
Test Automation Framework An Insight into Some Popular Automation Frameworks.pdf
 
Selenium - A Trending Automation Testing Tool
Selenium - A Trending Automation Testing ToolSelenium - A Trending Automation Testing Tool
Selenium - A Trending Automation Testing Tool
 
Top 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid ThemTop 5 Pitfalls of Test Automation and How To Avoid Them
Top 5 Pitfalls of Test Automation and How To Avoid Them
 
Discover the power of QA automation testing
Discover the power of QA automation testingDiscover the power of QA automation testing
Discover the power of QA automation testing
 
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdfBasics of Scriptless Automation for Web and Mobile Apps (1).pdf
Basics of Scriptless Automation for Web and Mobile Apps (1).pdf
 
Pros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfPros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdf
 
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdfThe Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
The Need for an Automation Testing Framework_ A Comprehensive Guide.pdf
 
Unit 5 st ppt
Unit 5 st pptUnit 5 st ppt
Unit 5 st ppt
 
Software Test Automation - Best Practices
Software Test Automation - Best PracticesSoftware Test Automation - Best Practices
Software Test Automation - Best Practices
 
Automation Framework Design
Automation Framework DesignAutomation Framework Design
Automation Framework Design
 
Unit Testing to Support Reusable for Component-Based Software Engineering
Unit Testing to Support Reusable for Component-Based Software EngineeringUnit Testing to Support Reusable for Component-Based Software Engineering
Unit Testing to Support Reusable for Component-Based Software Engineering
 
ScriptlessAutomation.pdf
ScriptlessAutomation.pdfScriptlessAutomation.pdf
ScriptlessAutomation.pdf
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
 

Mehr von IRJET Journal

Mehr von IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Kürzlich hochgeladen

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Kürzlich hochgeladen (20)

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 

Automation Testing of Web based Application with Selenium and HP UFT (QTP)

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2579 Automation Testing of Web based application with Selenium and HP UFT (QTP) Prachi Kunte 1, Prof. Dashrath Mane 2 1 P.G. Student, Department of M.C.A., VES Institute of Technology, Mumbai - 74, Maharashtra, India. 2Professor, Department of M.C.A., VES Institute of Technology, Mumbai - 74, Maharashtra, India. ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - Software testing is one of the most important phases of Software Development Life Cycle and mainobjective to find bugs and ensure quality of the software. Software Testing can be done manually or can be automated. Manual testing is done by tester without any tool. In automation testing is done with the help of automated testing tools. The objective of the paper is to compare two automation tools, Selenium and UFT in context of testing web based application. Key Words: Software Testing, QTP, UFT, Selenium. 1. INTRODUCTION Software testing has different goalsandobjectives.Themain goal is to find defects in a project created by a programmer while developing project. It is a process of checking and evaluating product in order to maintain quality of final product and to verify that every part of project satisfies its requirements as mentioned by the client in the Business Requirement Document (BRD). It is an integral partofSDLC. It is always a good practice to introduce testing as early as possible in the SDLC. This gives a sufficient time for the QA Analyst to build manual and automated test cases both. There are two types of testing: Manual testing and Automation testing. The selection of testing that to be done manually or with automated tool totally depends upon project requirement, budget associatedwithprojectandalso which testing is benefited to the project. Manual Testing is done by tester. Tester acts as an end user and uses various features of product. Manual testing may take more time or we can say it may be more time consumable. In manual testing chances of human errors are high as compared to automation. Automation testing covers all the problems of manual testing. Automation testing automates the steps of manual testing. 2. AIM OF STUDY 2.1 To know about Automation Testing 2.2 Knowledge of Automation Testing framework 2.3 Knowledge of Automation Testing tools 2.4 Evaluation of tools based on some parameters 3. RELATED WORK Testing of software can be done in both Manual as well Automation. However, dependingonthetotal budget,skilled resources available, necessity to implement automation, current SDLC process being followed and various other factors on which decision is made to implement Automation testing or not. 3.1 Below are some points which highlight automation in comparison with manual testing:  Automation test scripts run faster and require less human resources.  It is also beneficial in situations where there are frequent changes in the AUT.  If there are certain test cases which needs to be tested mandatorily for any other feature added then in such situation Automation testing is very much beneficial.  Automation testingreducesmanualintervention for certain processes there by for e.g if there are 4 Manual testers then the work done by them can be done by one Automation tester who will design test scripts to replicate the same procedures followed by the Manual testers.  Automation testing is very much useful for testing the final build or the final product which will be further moved on UAT as a next phase in SDLC.  Even though theinitialcostofautomationishigh. Once implemented it proves to be beneficial investment to the company. 3.2 Test Automation Framework Automation framework is work environment or facility which contains all the set of rules andcareful planning to write the scripts in a manner which results for less effort spent in the maintainability of them. It adds an advantage by which wecan ensurethe re- usability of the test scripts. Any changes in application, the scripts need little or no updating to cope up with that change. Each of the frame work has its own pros and cons depend under which circumstances these are being adopted by the Testing Team or Test Lead. There are four kinds of automation framework which are the most widely used in industries: 3.2.1 Modular The framework divides the entire AUT into number of logical and isolated individual modules. These modules can be individual
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2580 functionalities for each module, we create a separate and independent test script. Thus, when these test scripts taken together (top- down approach or bottom-up approach) builds a larger test script representing more than one module. This kind of framework can be used if your applicationcontainslotofinter-dependent functionalities. It is usually used in integration testingwhereall the modules are tested separately and they either use top-down approach or bottom-up approach while integrating every module with one another. 3.2.2 Data driven This type of framework helps the user separate the test script programming logic and the test data from each other. In this framework the data which is going to be used as an input for various tests are stored in external storing sheets like excel sheet, XML, CSV or ODBC repository. This type of framework is very beneficial when you want to test any particular functionality whose outcomes differ based on different combinations of input parameters data. For example, in case of ‘User Registration’ scenario, where testing is done based on different combinations of input parameters like username, email, mobile no, etc. 3.2.3 Keyword driven In Keyword driven testing not only the testdata is stored in an external file but also some parts of the script are stored in an external file. When the test executes the scripts pulls out the code snippets from an external file as well as the test data from an external file. Therefore Keyword driventestingframeworkis also known as an extension of the data driven framework. This type of framework is used when there are repeatable scenarios which you need to test rigorouslyalongwiththechangesin your application. 3.2.4 Hybrid In Hybrid Testing framework we use the combination of any of the above frameworks mentioned. As each of the frameworks has its advantages and disadvantages,insuchsituation Hybrid provides to be a perfect solution for implementing automation testing. 3.3 Automation Software tools The decision to implement automation in any organization is together taken by Project Manager, Test Team lead and sometimes even testing team is involved in the process.Therearevariousfactorson which this decision is taken which will be discussed in this paper later. Below are two major decisions on which automation is dependent.  Open source approach (Free)  Commercial test tools (Paid) Majorly the budget of the overall project is the deciding factor for implementing automation. As there are lot of free tools available in market forautomationaswell aspaidtools. We will be majorly focusing on two mostwidelyusedtoolsin industry for automation testing. 3.3.1 Selenium 3.3.2 UFT (QTP) 3.3.3 Selenium Selenium is an open source (freely available) software testing tool for automating web applications. You can download selenium libraries directly from their official websites www.seleniumhq.com. These files are available as per various languages preferred by testers for writing automated test-scripts (Java, Python, etc.) Selenium itself is an entire framework which comprises of various components. Each of those components are used for different purpose of automating the testing process.Some of these components are used for simply ‘record-playback’ all the user activities on the web-app, some are widely used to automate manual test process by writing test scripts to invoke the browser and perform all the activities which a tester would perform manually and some components are used to automate mobile applications. Below are the major components of Selenium: a) Selenium IDE b) Selenium RC (selenium 1.0) c) Selenium WebDriver (selenium 2.0) d) Selenium Grid a) Selenium IDE Selenium IDE is a Firefox extension which provides an environment for recording, editing and debug tests. Selenium IDE is an integrated development environment for Selenium scripts. It is implemented as a Firefox extension, and allows you to record, edit, and debugtests.SeleniumIDE includes the entire Selenium Core, allowingyoutoeasilyand quickly record and play back tests in the actual environment that they will run in. [5] b) Selenium RC Selenium RC was the flagship testing framework of the whole Selenium project for a long time. This is the first automated web testing tool that allowed users to use any of the various programming language: Java, Python, C#, Perl, Ruby, and PHP. c) Selenium WebDriver The WebDriver proves itself to be better than bothSelenium IDE and Selenium RC in many aspects. It implements a more modern and stable approach in automating the browser's actions. WebDriver, unlike Selenium RC, does not rely on
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2581 JavaScript for Automation. It controls the browser by directly communicating with it. d) Selenium Grid Selenium Grid is a tool used together with Selenium RC to run parallel tests across different machines and different browsers all at the same time. Parallel execution means running multiple tests at once. Features:  Enables simultaneous running of tests in multiple browsers and environments.  Saves time enormously.  Utilizes the hub-and-nodes concept. Thehubactsas a central source of Selenium commands to each node connected to it. 3.3.1 UFT (QTP) UFT formerly known as QTP (Quick Test Professional) is a tool for automation testing to test the applications. UFT has its own IntegratedDevelopmentEnvironment(IDE) comes with various features which enable tester to write scripts efficiently. UFT is supported only by Windows and uses VBScript Language for programming. It supported technologies totally depends on the version of UFT is accessible for Web, Java (Core and Advanced), .Net, WPF, SAP, Oracle, Siebel, PeopleSoft, Delphi, Power Builder, Stingray 1, Terminal Emulator, Flex, WebServices,Windows Mobile, VisualAge Smalltalk, Silverlight and mainframe terminal emulators. [8] A. Object Repository: In UFT, while recording the scripts,itstoresthe propertiesof objects in Object Repository. UFT will use these stored properties while executing the recorded script. B. Descriptive Programming: It is also known as Programmatic Description.Inthismethod we write scripts using VBScript language where object properties are directly coded instead of storing it object repository. a) Static Programming b) Dynamic Programming 4. EVALUATION STUDY In this study we have used HP UFT version 14.0 and selenium version 3.4.0. Comparison between these two tools is made on the basis of following parameters: 4.1 Cost UFT costs incurred are by licensing and in maintenance, but Selenium is a totally free, open- source tool and can be downloaded easily. 4.2 Easy Learning Selenium is to be used efficiently for which it requires proper installation and integration of various tools. Learning to use Selenium tool can be difficult. 4.3 Operating System Support Selenium allows testing to be carried out in any platform. Cross-platform testing is an essential feature with growing technology and demands of web-based testing. Selenium tests applications on all major OSs like Windows, Linux, OS X, and Solaris. [9] UFT can be used only on windowsplatform.Though it does not allow cross-platform but since windows is more widely used, UFT is of high importance as testing tool. 4.4 Browser Support Browser support of Selenium is very high compare to UFT. UFT supports mainly IE, Firefox, and Chrome. Selenium supports Firefox, chrome, IE, Safari, Html Unit.[9] 4.5 Scripting Languages Selenium along with itscross-platformfunctionality allows scripting to be done using Java, C#, Python, Ruby, JavaScript, PHP. It takes lot of time to create scripts in selenium. Scripting is the base for testing which can be done using VBScript in UFT. Thus, it allows even naïve users to use the tool due to simple programming skills that are needed and not necessarily an expert in scripting. However, if advanced test scripts with complex logic may require some expertise skills as for programming. Since scripting is easier, it can be done faster than in Selenium. 4.6 Application under test In selenium applications to be tested are Web Applications. In UFT, it is supported for testing of windows desktop, web and mobile applications. 4.7 Cloud Execution UFT was designed to test one application at a time on a single machine. Selenium can run code on one machine and test the application on remote machine. Selenium-Grid is specifically designed to run simultaneous tests on different machines using different browsers and different operating systems in parallel. Thus, it is a
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2582 perfect match for cloud-based testing architectures and services. 4.8 Execution Efficiency UFT tests one application per machine, whereas Selenium can execute multiple, simultaneous tests on a single machine. Furthermore, UFT script executiontakesmoreRAM and CPU power than does Selenium. UFT can run in multiple Windows VMs, but these are more resource-hungry than Linux VMs, which Selenium can utilize. Same hardware cangenerate more executionpower in Selenium compared to UFT. 4.9 Object Storage and maintenance Selenium recognizesobjectsonthe basisoftheDOM structure of the HTML Page. Objects are managed using UI-Element user extensionandproperties.[9] UFT provides built in object repository which makes stored objects reusable. 4.10 Execution Speed Execution speed of Selenium is faster than UFT in our case. We recorded execution time for UFT and selenium for 2 same scripts. And for the same test, execution time in Selenium as show in Fig. (a) For login test of Holachefwebsite executiontimein UFT is as shown in Fig. (b) Fig.(a) Execution Time in Selenium(13 sec) Fig. (b) Execution time in UFT(25 sec) 5. CONCLUSION Selection of right automation tool is based on application requirement, type of application, budget and efficiency. Selenium became more popular in short span of time. Selenium framework is designed only for web application testing If application requirements are getting fulfilled with Selenium there is no need to go for UFT. It's the application complexity and functionality which is a major deciding factor for which type of tools should beused. When it comes to web apps selenium is better choice as compared to QTP which provides a tester more flexibility to test the applications under various complex scenarios. REFERENCES [1] Manjit Kaur, Raj Kumari, “Comparative Study of Automated Testing Tools: TestComplete and QuickTest Pro”International Journal of Computer Applications (0975 – 8887) Volume 24– No.1, June 2011 [2] S.Rajeevan, B.Sathiyan,” Comparative Study of Automated Testing Tools: Selenium and Quick Test Professional”,International Journal of Engineering and Computer Science ISSN: 2319-7242 Volume 3 Issue 7 July, 2014 Page No. 7354-7357. [3] Harpreet Kaur, Dr.Gagan Gupta,“ComparativeStudy of Automated Testing Tools: Selenium, Quick Test Professional and Testcomplete,” Int. Journal of Engineering ResearchandApplicationsISSN :2248- 9622, Vol. 3, Issue 5, Sep-Oct 2013, pp.1739-1743 [4] Satish Gojarea, Rahul Joshib,Dhanashree Gaigawarec, “Analysis and Design of Selenium WebDriver Automation Testing Framework,”Procedia Computer Science 50 (2015) 341 – 346. [5] Niranjanamurthy M, Arun Kumar R, Sahana Srinivas, Manoj RK, “Research Study on Web
  • 5. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395 -0056 Volume: 04 Issue: 06 | June -2017 www.irjet.net p-ISSN: 2395-0072 © 2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 2583 Application Testing using Selenium Testing Framework,”International Journal of Computer Science and Mobile Computing, Vol.3 Issue.10, October- 2014, pg. 121-126. [6] Tarannam Bharti, Er Vidhu dutt.”Functionality Appraisal ofAutomatedTestingTools”,International Journal of Computer Science Trends and Technology (IJCST) – Volume 3 Issue 1, Jan-Feb 2015. [7] http://www.guru99.com/introduction-to- selenium.html. [8] http://www.softwaretestingclass.com/introduction -to-hp-unified-functional-testing-uft/ [9] http://www.optimusinfo.com/hp-uftUFT-vs- selenium-automated-test-tool-comparison/ [10] http://automationinUFT.blogspot.in/2013/ 01/UFT-vs-selenium.html [11] http://www.guru99.com/selenium- tutorial.html