Upload
vuongdiep
View
221
Download
1
Embed Size (px)
Citation preview
A GUI BASED APPLICATION TESTING USING UFT
Dr. Y.Prasanth1,
1,2,3,4 Department of CSE, KL University, Andhra
Abstract: Unified Functional Testing prominently
known by its acronym UFT is a computerization
testing device initially from Mercury Interactive
which was gained by Hewlett Packard (HP) in
2006. UFT is essentially utilized for functional,
relapse and administration testing. Utilizing UFT,
youHP QTP can computerize client activities on a
web or customer based PC application and test
similar activities for various clients, diverse
informational index, on different Windows working
frameworks as well as various programs.
Mechanization utilizing UFT if arranged and
executed in a legitimate way can spare extensive
time and cash
Keywords: Uft, Qtp ,Functionality Testing,
1. Introduction
Software testing is a standout amongst the most
vital period of Software Development Life Cycle
and primary system todiscover bugs and guarantee
nature of the product. SoftwareTesting can be
directed physically and additionally mechanized. In
manual testing, testing is managed with no
apparatus. In computerization testing, testing is
finished with the assistance of robotized testing
apparatuses. These robotized testing apparatuses
empower engineers and analyzers to effectively
mechanize the whole procedure of testing in
programming advancement. There is wide
assortment of programming robotized testing
apparatuses accessible in market. Be that as it may,
it is vital to a client to choose a best appropriate
device for testing. This examination paper gives an
attainability concentrate in light of various
parameters for business instruments for example,
the Selenium, SoapUI and open source
mechanization testing instruments i.e. HP Unified
Functional Testing (UFT) paper is to examine the
components bolstered by these four useful testing
devices that guide in limiting the assets in
A GUI BASED APPLICATION TESTING USING UFT
G.Vineeth guru dev
2, K.Akhil
3, A.Narendra
4
Department of CSE, KL University, Andhra Pradesh, India
Unified Functional Testing prominently
known by its acronym UFT is a computerization
testing device initially from Mercury Interactive
which was gained by Hewlett Packard (HP) in
2006. UFT is essentially utilized for functional,
and administration testing. Utilizing UFT,
youHP QTP can computerize client activities on a
web or customer based PC application and test
similar activities for various clients, diverse
informational index, on different Windows working
s various programs.
Mechanization utilizing UFT if arranged and
executed in a legitimate way can spare extensive
,Functionality Testing, Sdlc
Software testing is a standout amongst the most
vital period of Software Development Life Cycle
and primary system todiscover bugs and guarantee
nature of the product. SoftwareTesting can be
directed physically and additionally mechanized. In
g, testing is managed with no
apparatus. In computerization testing, testing is
finished with the assistance of robotized testing
apparatuses. These robotized testing apparatuses
empower engineers and analyzers to effectively
of testing in
programming advancement. There is wide
assortment of programming robotized testing
apparatuses accessible in market. Be that as it may,
it is vital to a client to choose a best appropriate
device for testing. This examination paper gives an
ttainability concentrate in light of various
parameters for business instruments for example,
the Selenium, SoapUI and open source
mechanization testing instruments i.e. HP Unified
Functional Testing (UFT) paper is to examine the
these four useful testing
devices that guide in limiting the assets in
scriptsupport and expanding productivity for script
reuse
2. Latest version of QTP called UFT
The most recent rendition of QTP is 11.5; this
new form of QTP is named as HP Unified
Functional Testing (UFT). Essentially, the UFT is a
blend of HP QTP (GUI testing instrument) and HP
Service Test (API testing device). Blend of QTP
and ST will be accessible on a solitary realistic UI.
So from now ahead, client does not need to
download two unique instruments while working
Most recent variant of QTP backings Web, Java
.Net, SAP, Oracle, Siebel, PeopleSoft, Web
Services, and numerous other real dialects and
stages, however some more established
don't bolster all previously menti
stages.
Figure 1. Version Of QTP To UFT
3. Automated Testing Process and Progress
Any robotized device execution prepare needs to
experience the accompanying strides given
underneath in the figure. Here each progression
performs specific action for better outcome
scriptsupport and expanding productivity for script
Latest version of QTP called UFT
The most recent rendition of QTP is 11.5; this
new form of QTP is named as HP Unified
Functional Testing (UFT). Essentially, the UFT is a
blend of HP QTP (GUI testing instrument) and HP
Service Test (API testing device). Blend of QTP
and ST will be accessible on a solitary realistic UI.
So from now ahead, client does not need to
o unique instruments while working
Most recent variant of QTP backings Web, Java
.Net, SAP, Oracle, Siebel, PeopleSoft, Web
Services, and numerous other real dialects and
stages, however some more established daptations
don't bolster all previously mentioned dialects and
Version Of QTP To UFT
Automated Testing Process and Progress
Any robotized device execution prepare needs to
experience the accompanying strides given
underneath in the figure. Here each progression
performs specific action for better outcome.
International Journal of Pure and Applied MathematicsVolume 115 No. 8 2017, 383-388ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version)url: http://www.ijpam.euSpecial Issue ijpam.eu
383
Figure 2. Automation testing Life cycle
Before doing mechanization t
programming, it is important to watch that the
product can be robotized or not, on the grounds that
client can't computerize all product because of
some reason. Select the robotization apparatus
relies on upon the product prerequisite, capacity,
and utilization. In the wake of choosing
computerization tool,the next process will be to
choose a suitable structure for mechanization.
There are various types of structures and every
system has its own particular quality. Additionally,
build up the system that is essential procedure of
any effective test mechanization extend Evidence
of Concept(POC) is set up with a conclusion to end
setup to gauge if the device can bolster the
robotization of the application. In spite of the fact
that, it is accomplished with a conclusion to end
setup which will affirm that the primary usefulness
can be mechanized. After script get developed,the
scripts ought to go for execution,result
examination, and deformity logging. More often
than not, test scripts are rendition controlled
4. Types of testing in unified functional
HP UFT, a propel variant of QTP with
consolidated GUI and API (benefit) testing stage,
gives propel support to the utilitarian and relapse
mechanization test. It encourages client to test the
usefulness of different layers of an application; the
front-end GUI layer and in addition back
benefit layers, both Aside from that, its
incorporated BPT (Business Process
Testing) highlight offers help to both specialized
and non-specialized UFT clients to produce
comprehensive computerized tests.
The testing services provided by UFT 12.0 are,
• UFT GUI Testing
Automation testing Life cycle
Before doing mechanization testing on
programming, it is important to watch that the
product can be robotized or not, on the grounds that
client can't computerize all product because of
some reason. Select the robotization apparatus
relies on upon the product prerequisite, capacity,
and utilization. In the wake of choosing
computerization tool,the next process will be to
choose a suitable structure for mechanization.
There are various types of structures and every
system has its own particular quality. Additionally,
m that is essential procedure of
any effective test mechanization extend Evidence
of Concept(POC) is set up with a conclusion to end
setup to gauge if the device can bolster the
robotization of the application. In spite of the fact
with a conclusion to end
setup which will affirm that the primary usefulness
can be mechanized. After script get developed,the
scripts ought to go for execution,result
examination, and deformity logging. More often
trolled.
Types of testing in unified functional
HP UFT, a propel variant of QTP with
consolidated GUI and API (benefit) testing stage,
gives propel support to the utilitarian and relapse
mechanization test. It encourages client to test the
different layers of an application; the
end GUI layer and in addition back-end
benefit layers, both Aside from that, its
Testing) highlight offers help to both specialized
specialized UFT clients to produce
The testing services provided by UFT 12.0 are,
• UFT API Testing
• UFT Business Process Testing
4.1 Lover View UFT GUI
UFT GUI (Graphic UI) testing is one of the
mechanization testing process, given by HP. It is
quick, dependable, repeatable, programmable,
extensive, and reusable as for some other testing
process, manual testing process. There are
numerous disadvantages of
extremely time-taken and expensive. Time
is a direct result of doing everything physically and
exorbitant means; substantial speculation on HR.
Despite the fact that, for any venture time is
exceptionally restricted, manual ana
the application all capacities and question, just
constrained things can be tried for this situation
Before discharging the product application, it is
important to test all capacities and objects of a
specific programming application, comp
generally different bugs will be discharged with the
arrival of the application. To leave bugs issue
utilize UFT GUI mechanization testing process.
Utilizing this, client can make tests that check all
parts of the application or Web website, and th
tests can likewise be run each time when the
webpage or application changes.
4.2 Overview UFT API
Beforehand, QTP API testing was given by the
Web Service include as the independent Service
Test application alongside some restricted API
testing. In any case, now, it's coordinated into a
solitary IDE that offers some incredible
opportunities to comprehend API testing. HP UFT
API testing stage having extensible structure
supportive in building and executing the usefulness
of headless frameworks, frameworks that don't
have a client interface.It is more quick and solid
than the manual testing process. UFT API testing is
useful to test the headless advances like; JMS,
Databases and Web Services, these innovations are
not included in the API testing t
grants the formation of custom code in C# to
empower their testing.
4.3Overview UFT Business process
HP Business Process Testing gives tweaked
structure to manual testing, robotization testing,
topics testing and segment based testi
test configuration, test creation, test upkeep, test
execution, and test information administration. The
UFT Business Process Testing
over View UFT GUI Testing
UFT GUI (Graphic UI) testing is one of the
mechanization testing process, given by HP. It is
quick, dependable, repeatable, programmable,
extensive, and reusable as for some other testing
process, manual testing process. There are
manual testing is
taken and expensive. Time-taken; it
is a direct result of doing everything physically and
exorbitant means; substantial speculation on HR.
Despite the fact that, for any venture time is
exceptionally restricted, manual analyzer can't test
the application all capacities and question, just
constrained things can be tried for this situation
Before discharging the product application, it is
important to test all capacities and objects of a
specific programming application, completely;
generally different bugs will be discharged with the
arrival of the application. To leave bugs issue
mechanization testing process.
Utilizing this, client can make tests that check all
parts of the application or Web website, and these
tests can likewise be run each time when the
webpage or application changes.
Overview UFT API Testing
Beforehand, QTP API testing was given by the
Web Service include as the independent Service
Test application alongside some restricted API
g. In any case, now, it's coordinated into a
solitary IDE that offers some incredible
opportunities to comprehend API testing. HP UFT
API testing stage having extensible structure
supportive in building and executing the usefulness
frameworks that don't
have a client interface.It is more quick and solid
than the manual testing process. UFT API testing is
useful to test the headless advances like; JMS,
Databases and Web Services, these innovations are
not included in the API testing tool stash, UFT
grants the formation of custom code in C# to
Overview UFT Business process Testing
HP Business Process Testing gives tweaked
structure to manual testing, robotization testing,
topics testing and segment based testing answer for
test configuration, test creation, test upkeep, test
execution, and test information administration. The
International Journal of Pure and Applied Mathematics Special Issue
384
structure is useful in planning and creating reusable
test parts and streams in light of business process
models. The structure underpins part reuse and
modularization is useful in cost administration if
there should arise an occurrence of more test
creation, support, and execution. Utilizing BPT
structure, client can test basic and complex
application both; an application can be a basic,
HTML-based web application or an unpredictable
business prepare including bundled applications
and back-end administrations and databases. It
oversees parts of a test contains segment
documentation, trial comes about, rendition control,
detailing, and history. Also utilizing ALM, client
can make archives holding data about the tests,
stream, and parts in a given venture. In UFT, client
can utilize business prepare tests and business
handle streams both to compose their test. UFT
Toolbox, Data, and Properties sheets can be utilized
to make and alter business prepare tests and
streams. UFT's BPT extend firstly requires ALM
extend association with BPT bolster. BPT in UFT
is useful in making and altering catchphrase GUI
segments, scripted GUI parts, and API
components.Business handle tests and streams can
likewise contain manual testing segments.
5. Testing process
The UFT testing process takes after the given
beneath ventures for test administration,
Step 1) Test application examination
The initial step of the test arranging procedure is
to inspect the application should be tried, Decide
the application's improvement
environments:Necessary to know application's
advancement to stack UFT add-ins reasonable to
that specific condition. Required added Add-ins
empowers UFT to identify and work with the
objects of the application under test. For cases;
advancement conditions incorporate Web, Java,
and .NET. Choose which business procedures and
usefulness should be tested:Think of different
exercises that clients require finishing particular
undertakings.
The most effective method to break test
application into little testable units and tasks:Break
the procedures and usefulness of the test
application into littler errands that will be useful in
making UFT activities in light of those
undertakings. Littler assignment or activity will be
anything but difficult to peruse and take after, and
keep up.
Step 2) Creating the testing setup
As indicated by the application testing needs,
decide and make the required assets appropriately.
For illustrations; assets contain shared question
storehouses that include test protests that connote
questions in the application, and utilitarian libraries
that involve capacities that enhance UFT
usefulness. Likewise, do the required UFT settings
to actualize any extra assignments like; showing an
outcomes report each time you run a test.
Step 3) Add obliged things to construct the tests
In the wake of making the test foundation,
manufacture the test by including the required
things. Make the testing skeletons by making
vacant tests and adding activity to them, include
protest stores with the pertinent activities, and
include work libraries with the applicable tests, will
be useful to embed steps utilizing watchwords.
Client can likewise add all application tests to a
solitary arrangement. An answer permits client to
store, oversee, and alter any related tests together,
without closing one test before opening another.'
Step 4) Improve the test
Test the application working appropriately by
embeddings checkpoints into the tests. Checkpoints
discover particular estimation of a page, question,
or content string. Client can add other tasteful
checks to the test by including programming and
contingent or circle proclamations and other
programming rationale to the test utilizing
VBScript.
Step 5) Debug, run, and examine the test
Investigate the test by troubleshooting usefulness
to run easily without intrusion. After the trials
accurately, run it to check the conduct of the
application. While running, UFT opens the
application and accomplishes each progression in
the test.
Step 6) Report all deformities
Utilizing HP's ALM test administration
solution,user can report the recognized
imperfections to a database.
6 . Advantages and disadvantages of UFT
Advantages
• Unreservedly Combined with Test Management
Tool (Hp-Quality Center) which permits simple
planning and Monitoring.
International Journal of Pure and Applied Mathematics Special Issue
385
• Extremely straightforward and simple to utilize
and see, simple to explore, gives exceptionally easy
to understand comes about approval and Report era
prepare
• It has turned out to be extremely huge for Mobile
Application Testing.
• Despite the fact that, it is a HP item, HP gives it
full support in any way.
• Advancement procedure of QTP/U
mechanization testing utilizes VBScript dialect
which accompanies particularly talented and simple
code as contrast with whatever other protest situated
programming dialects.
• In spite of the fact that, it is a business device,
exorbitant to buy its permit.
• QTP/UFT scripting process takes less time,
however execution prepare takes moderately
additional time and builds stack on CPU and RAM.
• QTP/UFT does not work with every one of
programs' variants, analyzers are dependably rely on
upon fix record of the program specific adaptation.
• Much the same as Selenium, QTP/UFT works just
on Windows OS.
Disadvantages
• Although, it is a business device, expensive to
buy its permit.
• QTP scripting process takes less time, however
execution handle takes moderately
time and builds stack on CPU and RAM.
• QTP does not work with every one of programs'
renditions, analyzers are dependably rely on upon
fix document of the program specific form
• Just like Selenium, QTP works just on
Windows OS.
• QTP/UFT does not work with every one of
programs' variants, analyzers are dependably rely
on upon fix record of the program specific
adaptation.
• Extremely straightforward and simple to utilize
and see, simple to explore, gives exceptionally
easy to understand comes about approval and
Report era prepare.
7. Implmentation
We have taken kluniversity.com website and
tested the Utf functionality testing on the website
and we applied the Utf functions on the website
Extremely straightforward and simple to utilize
exceptionally easy
to understand comes about approval and Report era
It has turned out to be extremely huge for Mobile
Despite the fact that, it is a HP item, HP gives it
Advancement procedure of QTP/UFT
mechanization testing utilizes VBScript dialect
which accompanies particularly talented and simple
code as contrast with whatever other protest situated
In spite of the fact that, it is a business device,
QTP/UFT scripting process takes less time,
however execution prepare takes moderately
additional time and builds stack on CPU and RAM.
QTP/UFT does not work with every one of
programs' variants, analyzers are dependably rely on
rogram specific adaptation.
Much the same as Selenium, QTP/UFT works just
Although, it is a business device, expensive to
QTP scripting process takes less time, however
execution handle takes moderately additional
time and builds stack on CPU and RAM.
QTP does not work with every one of programs'
renditions, analyzers are dependably rely on upon
fix document of the program specific form.
Just like Selenium, QTP works just on
work with every one of
programs' variants, analyzers are dependably rely
on upon fix record of the program specific
Extremely straightforward and simple to utilize
and see, simple to explore, gives exceptionally
approval and
We have taken kluniversity.com website and
tested the Utf functionality testing on the website
and we applied the Utf functions on the website
Figure 3. Kluniversity.Com Image
Figure 4. Error list of workshops in site
Figure 5. Missing of class link in website
Kluniversity.Com Image
workshops in site
Missing of class link in website
International Journal of Pure and Applied Mathematics Special Issue
386
Figure 6. Object path of class link
Figure 7. Error details of class object
Figure 8. Sea Club Website
Figure 9. Gui test results of page
Figure 10. Class object results
8. Conclusion
We have taken the kluniversity website and the
sea club website and applied the uft functionality
Error details of class object
We have taken the kluniversity website and the
sea club website and applied the uft functionality
testing on the site.we observed that the two
websites having some class object
gui errors and we find outed the reasons for the
errors and reported to the websites
References
[1]A. Ieshin, M. Gerenko, and V. Dmitriev, “Test
Automation- Flexible Way”, IEEE, 978
5665-9 [2009]
[2]Mohamed Monier, Mahmoud Mohamed El
mahdy, “Evaluation of automated web testing
tools”, International Journal of Compute
Applications Technology and Research Volume 4
Issue 5, [2015], ISSN:- 2319–8656
[3]S.Rajeevan, B.Sathiyan, “Comparative Study of
Automated Testing Tools: Selenium and Quick
Test Professional”, International Journal Of
Engineering And Computer Science Volume
Issue 7 July, [2014] ISSN: 2319
7354-7357
[4]Purnima Bindal, Sonika Gupta, “Test
Automation Selenium WebDriver using TestNG”,
(JECAS) ISSN No: 2319-5606 Volume 3, No.9,
September [2014]
[5]Harpreet Kaur and Dr.Gangan Gupta,
“Comparative Study of Automated Testing Tools:
Selenium, Quick Test Professional and
Testcomplete”, International Journal of
Engineering Research and Applications, Issue 5,
Sep-Oct [2013], pp.1739-1743.
[6] R. Sumathy , P. Kanchanadevi,
Public Integrity Auditing On Cloud Data Using Sha
Algorithm”, International Conference on Emerging
Innovation in Engineering and Technology
march(2017), pp. 4-14.
[7] Vishawjyoti and Sachin Sharma, “Study and
Analysis of Automation Testin
of Computer Applications”, Manav Rachna
International University, Faridabad, Volume 3
12, 36-4, Dec [2012].
[8]N. Uppal and V. Chopra, "Design and
implementation in selenium ide with web driver,"
International Journal of Computer Appl
46, pp. 8-11, [2012]
[9]K. M and K. R, “Comparative study of
automated testing tools: Testcomplete and quicktest
pro,” International Journal of Computer
Application, vol. 24, pp. 1-3, [2011]
testing on the site.we observed that the two
websites having some class object errors and the
gui errors and we find outed the reasons for the
rted to the websites
References
A. Ieshin, M. Gerenko, and V. Dmitriev, “Test
Flexible Way”, IEEE, 978-1-4244-
Mohamed Monier, Mahmoud Mohamed El-
mahdy, “Evaluation of automated web testing
tools”, International Journal of Computer
Applications Technology and Research Volume 4
8656
S.Rajeevan, B.Sathiyan, “Comparative Study of
Automated Testing Tools: Selenium and Quick
Test Professional”, International Journal Of
Engineering And Computer Science Volume 3
Issue 7 July, [2014] ISSN: 2319-7242 Page No.
Purnima Bindal, Sonika Gupta, “Test
Automation Selenium WebDriver using TestNG”,
5606 Volume 3, No.9,
Harpreet Kaur and Dr.Gangan Gupta,
Automated Testing Tools:
Selenium, Quick Test Professional and
Testcomplete”, International Journal of
Engineering Research and Applications, Issue 5,
1743.
, P. Kanchanadevi, “Enhanced
Public Integrity Auditing On Cloud Data Using Sha
International Conference on Emerging
Innovation in Engineering and Technology,
Vishawjyoti and Sachin Sharma, “Study and
Analysis of Automation Testing Techniques, Dept
of Computer Applications”, Manav Rachna
International University, Faridabad, Volume 3-No.
N. Uppal and V. Chopra, "Design and
implementation in selenium ide with web driver,"
International Journal of Computer Application, vol.
K. M and K. R, “Comparative study of
automated testing tools: Testcomplete and quicktest
pro,” International Journal of Computer
3, [2011]
International Journal of Pure and Applied Mathematics Special Issue
387