SlideShare a Scribd company logo
Automation Tool - QTP
QTP stands for Quick Test Professional, a product of
Hewlett Packard (HP). This tool helps testers to
perform an automated functional testing seamlessly
without monitoring once script development is
complete. HP QTP uses Visual Basic Scripting
(VBScript) for automating the applications ..Quick
Test is a graphical interface record-playback
automation-testing tool. It is able to work with any
web or windows application.
QTP Testing Process
Creating test plan
Recording a session on application
Enhancing the test by inserting checkpoints, parameterization
statements, or inserting logical statements in the test
Running a session of the test
Analyzing the test results from test fusion report
Reporting defects if any by connecting with quality center.
Object Repository
When we record a test, QuickTest adds each object
on which we perform operations to a file called
local object repository so it can identify objects
during run-time.
We can also add objects to the local object
repository while editing our test. Test objects can
be stored in two types of object repositories—a
shared object repository and a local object
repository.
Types of Object Repository
There are two types of object repository:
 Shared Object Repository
 Local Object Repository
A shared object repository stores test objects in a file that
can be accessed by multiple tests.
A local object repository stores test objects in a file that is
associated with one specific action, so that only that action
can access the stored objects.
Managing Shared Object
Repository
Shared Object Repository can be created two
ways:
After creating the recording go to Object
Repository window from Resource > Object
Repository. Then File > Export Local Objects. Save
the file at specific location with .tsr extension
 We can Manage Shared Object Repository also
from Resource > Object Repository Manager
Shared Repository can be Accessible to any Test from
Resource > Associate Repositories or From Keyword view –
Right Click the Action Name, Click Action Properties >
Associated Repositories
If user wants some change in Shared Object Repository
then user can go to Object Repository > Right click on the
component to change > Click on “Copy to Local” and can
modify the component. This modified Object Repository
will be saved with test but will not affect the Original
Shared Object Repository.
If User wants this change to already saved Shared Object
Repository, then User can do it from Object Repository
Manager by Opening the Shared Object Repository then
Enable Editing from File > Enable Editing. Then Tools >
Update From Local Repository.
How QTP Identify Objects?
QuickTest uses some properties for every test object
to identify that object during run time.
Properties values of test object are captured from
object while recording. QuickTest uses the values of
these properties to identify objects in the application
during a run session.
These are mandatory properties. If mandatory
properties are not enough to uniquely identify an
object, QuickTest adds some assistive properties. If
several assistive properties are defined for an object
class, then QuickTest learns one assistive property at
a time and stops as soon as it creates a unique
description for the object.
If QTP is unsuccessful to identify an object uniquely
with both mandatory and assistive properties it use
smart identification mechanism (Base Filter
Properties & Optional Filter Properties). If both the
learned description and smart identification fails,
QTP uses ordinal identifier (Index, Location, and
Creation Time properties).
In order to configure the mandatory, assistive, and
ordinal identifier properties and to enable and
configure the Smart Identification mechanism, you
can use Object Identification dialog box (Tools >
Object Identification).
How QTP Identify Objects?
Output Value
Output values enable to capture the values that
the application generates during run time. When
parameterized, the values change for each
iteration. Thus by creating output values; we can
capture the values for each run and output and
store them to the data table. These values can
be used later in the different point in application.
Output values are stored in run time data
table; it is located in QTP result window and
can be retrieved later.
Types of Output Values:
1. Standard output value
2.Text output value
3. Database output value
4. XML output value
Output Value Types
1) Standard output value:
We can use standard output values to output the
properties values of most objects.
We can use Standard Output value under
Recording mode from Insert menu >output value>
standard output value.
2) Text output value:
We can use Text output values to output text
strings displayed in an application. When creating
a text output value we can output a part of the
objects text and we can also specify text before
and after options.
We can use Standard Output value under Recording
mode from Insert menu >output value> text output
value.
3) Database output value:
We can use Database output values to output the values
stored in database table.
We can use Standard Output value from Insert menu >output
value> database output value.
4) XML output value:
We can use XML output values to output the values of XML
elements in XML documents.
We can use Standard Output value under Recording mode
from Insert menu >output value> xml output value.
Actions
Actions break up the test into logical
sections/units such as specific activities that
we perform in our application.
Types of Actions
There are two types of actions:
 Reusable actions
 Non-reusable actions
Reusable action
Can be used in other tests
Can be used in same test, multiple times
Non-reusable action
Cannot be used in other tests
Can be called in the same test, only once.
Global Sheet and Local Sheet
Global Datasheet
Unique for the entire test
Sheet is named “Global”
Any action can access and write data into Global Datasheet
Global Sheet: All Actions in the test are iterated
Local Datasheet
Equal to number of actions
Sheet is named “Action Name” of “Local Sheet”
An action can read and write data into its own local datasheet
only
Local Sheet: Only corresponding action in test is iterated
Library Functions
If we have repeatable steps in a test or in an action then we can
use user-defined functions. User defined functions will make our
test look shorter, easier to maintain. Time and resources can also
be saved by implementing and using these user-defined reusable
functions.
User defined functions can be stored in a function library or
within an action in the test. If the function is stored in a function
library then we have to associate that function library to the test
so that the test can call all the functions listed in that library.
We can associate the function library to the test from File 
Settings  Resources Tab.
Functions in an associated function library can be
accessible:
From Step Generator, From Operation column in
keyword view, or by manually entering the function
name in the expert view.
We can create new function library by selecting File
>> New >> Function Library. Functions in library
file can be created manually or by using Function
Definition Generators. We can save this file at a
specified location with .qlf (by default) or .vbs or
.txt extension
There are two types of functions:: Private
Functions and Public Functions
Private Functions: These can be accessed
from within the function library itself and
cannot be accessed from outside this
function library.
Public Functions: These can be accessed
from any function library.
Object Spy
Using the Object Spy, we can view the properties of test
object and their values in an open application.
There are two ways to use object spy in QTP
 We can select Object Spy option from Tool Menu in QTP
 We can select Object Spy option from Object repository
Window by selecting Tools  Object Spy
Environment Variables
A variable declared and initialized in one action using Dim
statement can’t be used in other actions or Test. So, by
using environment variables we can use the variables in
different actions.
There are two types of environment variables:
1. User-defined (internal, & external) Note: we can’t
change the value of external environment variables.
2. Built-in Note: we can’t change value of these variables.
To set the value of a user-defined environment variable:
Environment.value (“VariableName”) = NewValue
Analog & Low-Level
Recording
Low-level recording: It is used in case qtp is
unable to recognize some objects and its
properties. It is based on mouse clicks and the x, y
co-ordinates that is instead of taking that object,
will take the x, y co-ordinates of that object.
Analog recording: This mode records every
moment of mouse as we drag the mouse around
the screen or application window.
Useful for recording operations that cannot be
recorded at the level of an object. E.g., A signature
produced by dragging the mouse will be recorded
in analog.
Analog recording and low-level recording require more
disk space than normal recording mode.
By-default recording mode is normal recording. We
can switch to either Analog Recording or Low Level
Recording in the middle of a recording session for
specific steps. After we record the necessary steps
using analog recording or low-level recording, we can
return to normal recording mode for the remainder of
our recording session.
Difference between Wait &
Synchronization Point?
Wait: In wait point, though the job is
completed less than the specified time, it will
wait for the specified time to be elapsed and
then only we will have the result summary or
move to the next job.
Synchronization: once the job has been
completed, we immediately gets the result
sheet or we move to the next iteration. It
won’t wait for the specified time to be
elapsed.
What’s the Transaction
We can measure how long it takes to run a section
of our test by defining transactions.
Transaction modes are: Start transaction, End
transaction
We can also use MercuryTimers() function also like:
MercuryTimers("Timer1").Start
MercuryTimers("Timer1").Stop()
And also we can fetch the time taken to load a
particular step in a variable like:
Dim a
a=MercuryTimers("Timer1")
Invoke the web application
We can invoke the web/window application with
use of systemutil.run("WebPath”) command in
the Expert View
e.g. systemutil.Run "iexplore.exe",
www.ning.com
Test Fusion Report
Once the tester run the test, a Test-Fusion report displays all
aspects of the test run: a high-level results overview, an
expandable Tree View of the test specifying exactly where
application failures occurred, the test data used, application
screen shots for every step that highlight any discrepancies,
and detailed explanations of each checkpoint weather pass or
failure.
By combining Test-Fusion reports with Quality center, we can
share reports across an entire QA and development team.
Benefits
1. Test automation enables one to achieve detailed product
testing with significant reduction in test cycle time.
2.The efficiency of automated testing incorporated into product
lifecycle can generate sustainable time and money savings.
3. Reliability
4. Consistency
5. Accuracy
6. re-usability
7. Better, faster testing
8. The up-most advantage of automation testing is that we need
not have to do the testing on the same modules again & again.
We can plan, record, enhance the script, & run the test script as
and when desired.
Automation Tool  QTP

More Related Content

What's hot

Effective Unit Testing
Effective Unit TestingEffective Unit Testing
Effective Unit Testing
Narendra Pathai
 
Introduction to Java 8
Introduction to Java 8Introduction to Java 8
Introduction to Java 8
Knoldus Inc.
 
Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Java 8 Streams And Common Operations By Harmeet Singh(Taara)Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Harmeet Singh(Taara)
 
Struts 2
Struts 2Struts 2
Struts 2
Lalit Garg
 
Java 8 Intro - Core Features
Java 8 Intro - Core FeaturesJava 8 Intro - Core Features
Java 8 Intro - Core Features
GlobalLogic Ukraine
 
Stream processing from single node to a cluster
Stream processing from single node to a clusterStream processing from single node to a cluster
Stream processing from single node to a cluster
Gal Marder
 
Java Unit Testing
Java Unit TestingJava Unit Testing
Java Unit Testing
Nayanda Haberty
 
Qtp training in hyderabad
Qtp training in hyderabadQtp training in hyderabad
Qtp training in hyderabad
G.C Reddy
 
Hadoop cluster performance profiler
Hadoop cluster performance profilerHadoop cluster performance profiler
Hadoop cluster performance profiler
Ihor Bobak
 
Java Annotations
Java AnnotationsJava Annotations
Java Annotations
Serhii Kartashov
 
Mule java part-4
Mule java part-4Mule java part-4
Mule java part-4
Ravinder Singh
 
.NET Core, ASP.NET Core Course, Session 9
.NET Core, ASP.NET Core Course, Session 9.NET Core, ASP.NET Core Course, Session 9
.NET Core, ASP.NET Core Course, Session 9
aminmesbahi
 
05 junit
05 junit05 junit
05 junit
mha4
 
CS5393-Korat_Mittal_Akshay_ProjReport
CS5393-Korat_Mittal_Akshay_ProjReportCS5393-Korat_Mittal_Akshay_ProjReport
CS5393-Korat_Mittal_Akshay_ProjReportAkshay Mittal
 
Introduction to new features in java 8
Introduction to new features in java 8Introduction to new features in java 8
Java Serialization
Java SerializationJava Serialization
Java Serializationimypraz
 
Functional patterns and techniques in C#
Functional patterns and techniques in C#Functional patterns and techniques in C#
Functional patterns and techniques in C#
Péter Takács
 

What's hot (20)

Effective Unit Testing
Effective Unit TestingEffective Unit Testing
Effective Unit Testing
 
QTP Basics-2
QTP Basics-2QTP Basics-2
QTP Basics-2
 
Introduction to Java 8
Introduction to Java 8Introduction to Java 8
Introduction to Java 8
 
Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Java 8 Streams And Common Operations By Harmeet Singh(Taara)Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Java 8 Streams And Common Operations By Harmeet Singh(Taara)
 
Struts 2
Struts 2Struts 2
Struts 2
 
Java 8 Intro - Core Features
Java 8 Intro - Core FeaturesJava 8 Intro - Core Features
Java 8 Intro - Core Features
 
Stream processing from single node to a cluster
Stream processing from single node to a clusterStream processing from single node to a cluster
Stream processing from single node to a cluster
 
Java Unit Testing
Java Unit TestingJava Unit Testing
Java Unit Testing
 
Qtp training in hyderabad
Qtp training in hyderabadQtp training in hyderabad
Qtp training in hyderabad
 
Hadoop cluster performance profiler
Hadoop cluster performance profilerHadoop cluster performance profiler
Hadoop cluster performance profiler
 
Java Annotations
Java AnnotationsJava Annotations
Java Annotations
 
Mule java part-4
Mule java part-4Mule java part-4
Mule java part-4
 
.NET Core, ASP.NET Core Course, Session 9
.NET Core, ASP.NET Core Course, Session 9.NET Core, ASP.NET Core Course, Session 9
.NET Core, ASP.NET Core Course, Session 9
 
JUNit Presentation
JUNit PresentationJUNit Presentation
JUNit Presentation
 
05 junit
05 junit05 junit
05 junit
 
Unit testing, principles
Unit testing, principlesUnit testing, principles
Unit testing, principles
 
CS5393-Korat_Mittal_Akshay_ProjReport
CS5393-Korat_Mittal_Akshay_ProjReportCS5393-Korat_Mittal_Akshay_ProjReport
CS5393-Korat_Mittal_Akshay_ProjReport
 
Introduction to new features in java 8
Introduction to new features in java 8Introduction to new features in java 8
Introduction to new features in java 8
 
Java Serialization
Java SerializationJava Serialization
Java Serialization
 
Functional patterns and techniques in C#
Functional patterns and techniques in C#Functional patterns and techniques in C#
Functional patterns and techniques in C#
 

Viewers also liked

02 test automation functional testing (qtp)
02 test automation functional testing (qtp)02 test automation functional testing (qtp)
02 test automation functional testing (qtp)Siddireddy Balu
 
Qtp manual testing tutorials by QuontraSolutions
Qtp manual testing tutorials by QuontraSolutionsQtp manual testing tutorials by QuontraSolutions
Qtp manual testing tutorials by QuontraSolutions
QUONTRASOLUTIONS
 
QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1
Akash Tyagi
 
Basics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingBasics of Automation & Manual Software Testing
Basics of Automation & Manual Software Testing
Gusani Tech Ideation
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basicsmehramit
 
Telerik Test studio
Telerik Test studio Telerik Test studio
Telerik Test studio
Ahamad Sk
 
HPE ALM Octane | DevOps | Agile
HPE ALM Octane | DevOps | AgileHPE ALM Octane | DevOps | Agile
HPE ALM Octane | DevOps | Agile
Jeffrey Nunn
 
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professional
sunny.deb
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Achieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingAchieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World Testing
Perfecto by Perforce
 
How to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsHow to Test on the Right Mobile Platforms
How to Test on the Right Mobile Platforms
Perfecto by Perforce
 
Qtp 80 Basics3561
Qtp 80 Basics3561Qtp 80 Basics3561
Qtp 80 Basics3561
Siddhartha Parida
 
TechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a BossTechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a Boss
Lizzy Guido (she/her)
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basicmedsherb
 
Webinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchWebinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect Match
Lizzy Guido (she/her)
 
Ten reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTen reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile web
Tijs Vrolix
 
TechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationTechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID Automation
Lizzy Guido (she/her)
 

Viewers also liked (20)

02 test automation functional testing (qtp)
02 test automation functional testing (qtp)02 test automation functional testing (qtp)
02 test automation functional testing (qtp)
 
Qtp manual testing tutorials by QuontraSolutions
Qtp manual testing tutorials by QuontraSolutionsQtp manual testing tutorials by QuontraSolutions
Qtp manual testing tutorials by QuontraSolutions
 
QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1
 
Basics of Automation & Manual Software Testing
Basics of Automation & Manual Software TestingBasics of Automation & Manual Software Testing
Basics of Automation & Manual Software Testing
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
 
Qtp
QtpQtp
Qtp
 
Telerik Test studio
Telerik Test studio Telerik Test studio
Telerik Test studio
 
HPE ALM Octane | DevOps | Agile
HPE ALM Octane | DevOps | AgileHPE ALM Octane | DevOps | Agile
HPE ALM Octane | DevOps | Agile
 
Hp Quick Test Professional
Hp Quick Test ProfessionalHp Quick Test Professional
Hp Quick Test Professional
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Qtp day 1
Qtp day 1Qtp day 1
Qtp day 1
 
Achieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingAchieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World Testing
 
How to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsHow to Test on the Right Mobile Platforms
How to Test on the Right Mobile Platforms
 
Qtp 80 Basics3561
Qtp 80 Basics3561Qtp 80 Basics3561
Qtp 80 Basics3561
 
TechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a BossTechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a Boss
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basic
 
Webinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchWebinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect Match
 
Ten reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTen reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile web
 
TechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationTechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID Automation
 

Similar to Automation Tool QTP

QTP Training by INFOTECH
QTP Training by INFOTECHQTP Training by INFOTECH
QTP Training by INFOTECH
Pravinsinh
 
Interview qutions
Interview qutionsInterview qutions
Interview qutionssatyaragha
 
QTP Faqs
QTP FaqsQTP Faqs
QTP Faqs
VGlobal Govi
 
SAP Testing Training
SAP Testing TrainingSAP Testing Training
SAP Testing Training
VGlobal Govi
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtpRamu Palanki
 
Qtp92 Presentation
Qtp92 PresentationQtp92 Presentation
Qtp92 Presentationa34sharm
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test ProfessionalVitaliy Ganzha
 
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginnersRamu Palanki
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtpRamu Palanki
 
Qtp Training
Qtp TrainingQtp Training
Qtp Trainingmehramit
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questionsRamu Palanki
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questionsRamu Palanki
 
QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorialpingkapil
 
QTP 10.0_Kalyan Chakravarthy.ppt
QTP 10.0_Kalyan Chakravarthy.pptQTP 10.0_Kalyan Chakravarthy.ppt
QTP 10.0_Kalyan Chakravarthy.ppt
Kalyan Chakravarthy
 
Qtp Training Deepti 2 Of 44780
Qtp Training Deepti 2 Of 44780Qtp Training Deepti 2 Of 44780
Qtp Training Deepti 2 Of 44780Azhar Satti
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentationtechgajanan
 

Similar to Automation Tool QTP (20)

QTP Training by INFOTECH
QTP Training by INFOTECHQTP Training by INFOTECH
QTP Training by INFOTECH
 
Interview qutions
Interview qutionsInterview qutions
Interview qutions
 
QTP Faqs
QTP FaqsQTP Faqs
QTP Faqs
 
SAP Testing Training
SAP Testing TrainingSAP Testing Training
SAP Testing Training
 
Qtp basic stuff
Qtp basic stuffQtp basic stuff
Qtp basic stuff
 
Qtp stuff
Qtp stuffQtp stuff
Qtp stuff
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Interview questions in qtp
Interview questions in qtpInterview questions in qtp
Interview questions in qtp
 
Qtp92 Presentation
Qtp92 PresentationQtp92 Presentation
Qtp92 Presentation
 
HP Quick Test Professional
HP Quick Test ProfessionalHP Quick Test Professional
HP Quick Test Professional
 
Qtp material for beginners
Qtp material for beginnersQtp material for beginners
Qtp material for beginners
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
Qtp interview questions
Qtp interview questionsQtp interview questions
Qtp interview questions
 
QTP Tutorial
QTP TutorialQTP Tutorial
QTP Tutorial
 
Qtp day 2
Qtp day 2Qtp day 2
Qtp day 2
 
QTP 10.0_Kalyan Chakravarthy.ppt
QTP 10.0_Kalyan Chakravarthy.pptQTP 10.0_Kalyan Chakravarthy.ppt
QTP 10.0_Kalyan Chakravarthy.ppt
 
Qtp Training Deepti 2 Of 44780
Qtp Training Deepti 2 Of 44780Qtp Training Deepti 2 Of 44780
Qtp Training Deepti 2 Of 44780
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentation
 

More from BugRaptors

Performance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing LandscapePerformance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing Landscape
BugRaptors
 
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design 13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
BugRaptors
 
Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?
BugRaptors
 
BFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI SectorBFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI Sector
BugRaptors
 
Media Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The SignificanceMedia Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The Significance
BugRaptors
 
Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective
BugRaptors
 
Regression Testing - An Overview
Regression Testing - An OverviewRegression Testing - An Overview
Regression Testing - An Overview
BugRaptors
 
Cloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud TechnologyCloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud Technology
BugRaptors
 
Importance of Performance Testing.pptx
Importance of Performance Testing.pptxImportance of Performance Testing.pptx
Importance of Performance Testing.pptx
BugRaptors
 
Media & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptorsMedia & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptors
BugRaptors
 
Usability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UXUsability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UX
BugRaptors
 
Tips To Follow For A Simple QA Process
Tips To Follow For A Simple QA ProcessTips To Follow For A Simple QA Process
Tips To Follow For A Simple QA Process
BugRaptors
 
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM WorkflowsCRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
BugRaptors
 
Test Automation - Everything You Need To Know
Test Automation - Everything You Need To KnowTest Automation - Everything You Need To Know
Test Automation - Everything You Need To Know
BugRaptors
 
Stress testing ERP frameworks
Stress testing ERP frameworksStress testing ERP frameworks
Stress testing ERP frameworks
BugRaptors
 
Top 10 Automation Testing Tools
Top 10 Automation Testing ToolsTop 10 Automation Testing Tools
Top 10 Automation Testing Tools
BugRaptors
 
Software Testing Trends For 2021
Software Testing Trends For 2021Software Testing Trends For 2021
Software Testing Trends For 2021
BugRaptors
 
Banking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate PerformanceBanking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate Performance
BugRaptors
 
Test Automation Trends For 2021
Test Automation Trends For 2021Test Automation Trends For 2021
Test Automation Trends For 2021
BugRaptors
 
ERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale OrganizationsERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale Organizations
BugRaptors
 

More from BugRaptors (20)

Performance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing LandscapePerformance Testing - A Catalyst In Software Testing Landscape
Performance Testing - A Catalyst In Software Testing Landscape
 
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design 13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
13 Things To Keep In Mind For Enhanced Mobile App UI/UX Design
 
Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?Why Companies Need to Leverage ERP Testing Services?
Why Companies Need to Leverage ERP Testing Services?
 
BFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI SectorBFSI Testing Solutions - To Streamline BFSI Sector
BFSI Testing Solutions - To Streamline BFSI Sector
 
Media Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The SignificanceMedia Streaming App Testing - Knowing The Significance
Media Streaming App Testing - Knowing The Significance
 
Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective Manual Testing - Developing A Quick Perspective
Manual Testing - Developing A Quick Perspective
 
Regression Testing - An Overview
Regression Testing - An OverviewRegression Testing - An Overview
Regression Testing - An Overview
 
Cloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud TechnologyCloud Testing - Reinforcing Cloud Technology
Cloud Testing - Reinforcing Cloud Technology
 
Importance of Performance Testing.pptx
Importance of Performance Testing.pptxImportance of Performance Testing.pptx
Importance of Performance Testing.pptx
 
Media & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptorsMedia & Entertainment Testing Services –BugRaptors
Media & Entertainment Testing Services –BugRaptors
 
Usability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UXUsability Testing - Connect With Target Audience With Perfect UX
Usability Testing - Connect With Target Audience With Perfect UX
 
Tips To Follow For A Simple QA Process
Tips To Follow For A Simple QA ProcessTips To Follow For A Simple QA Process
Tips To Follow For A Simple QA Process
 
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM WorkflowsCRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
CRM Testing Services - Ensure Smooth Functioning of Complex CRM Workflows
 
Test Automation - Everything You Need To Know
Test Automation - Everything You Need To KnowTest Automation - Everything You Need To Know
Test Automation - Everything You Need To Know
 
Stress testing ERP frameworks
Stress testing ERP frameworksStress testing ERP frameworks
Stress testing ERP frameworks
 
Top 10 Automation Testing Tools
Top 10 Automation Testing ToolsTop 10 Automation Testing Tools
Top 10 Automation Testing Tools
 
Software Testing Trends For 2021
Software Testing Trends For 2021Software Testing Trends For 2021
Software Testing Trends For 2021
 
Banking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate PerformanceBanking App Testing - To Evaluate Performance
Banking App Testing - To Evaluate Performance
 
Test Automation Trends For 2021
Test Automation Trends For 2021Test Automation Trends For 2021
Test Automation Trends For 2021
 
ERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale OrganizationsERP Testing Strategy For Large Scale Organizations
ERP Testing Strategy For Large Scale Organizations
 

Recently uploaded

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 

Recently uploaded (20)

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 

Automation Tool QTP

  • 2. QTP stands for Quick Test Professional, a product of Hewlett Packard (HP). This tool helps testers to perform an automated functional testing seamlessly without monitoring once script development is complete. HP QTP uses Visual Basic Scripting (VBScript) for automating the applications ..Quick Test is a graphical interface record-playback automation-testing tool. It is able to work with any web or windows application.
  • 3. QTP Testing Process Creating test plan Recording a session on application Enhancing the test by inserting checkpoints, parameterization statements, or inserting logical statements in the test Running a session of the test Analyzing the test results from test fusion report Reporting defects if any by connecting with quality center.
  • 4. Object Repository When we record a test, QuickTest adds each object on which we perform operations to a file called local object repository so it can identify objects during run-time. We can also add objects to the local object repository while editing our test. Test objects can be stored in two types of object repositories—a shared object repository and a local object repository.
  • 5. Types of Object Repository There are two types of object repository:  Shared Object Repository  Local Object Repository A shared object repository stores test objects in a file that can be accessed by multiple tests. A local object repository stores test objects in a file that is associated with one specific action, so that only that action can access the stored objects.
  • 6. Managing Shared Object Repository Shared Object Repository can be created two ways: After creating the recording go to Object Repository window from Resource > Object Repository. Then File > Export Local Objects. Save the file at specific location with .tsr extension  We can Manage Shared Object Repository also from Resource > Object Repository Manager
  • 7. Shared Repository can be Accessible to any Test from Resource > Associate Repositories or From Keyword view – Right Click the Action Name, Click Action Properties > Associated Repositories If user wants some change in Shared Object Repository then user can go to Object Repository > Right click on the component to change > Click on “Copy to Local” and can modify the component. This modified Object Repository will be saved with test but will not affect the Original Shared Object Repository. If User wants this change to already saved Shared Object Repository, then User can do it from Object Repository Manager by Opening the Shared Object Repository then Enable Editing from File > Enable Editing. Then Tools > Update From Local Repository.
  • 8. How QTP Identify Objects? QuickTest uses some properties for every test object to identify that object during run time. Properties values of test object are captured from object while recording. QuickTest uses the values of these properties to identify objects in the application during a run session. These are mandatory properties. If mandatory properties are not enough to uniquely identify an object, QuickTest adds some assistive properties. If several assistive properties are defined for an object class, then QuickTest learns one assistive property at a time and stops as soon as it creates a unique description for the object.
  • 9. If QTP is unsuccessful to identify an object uniquely with both mandatory and assistive properties it use smart identification mechanism (Base Filter Properties & Optional Filter Properties). If both the learned description and smart identification fails, QTP uses ordinal identifier (Index, Location, and Creation Time properties). In order to configure the mandatory, assistive, and ordinal identifier properties and to enable and configure the Smart Identification mechanism, you can use Object Identification dialog box (Tools > Object Identification).
  • 10. How QTP Identify Objects?
  • 11. Output Value Output values enable to capture the values that the application generates during run time. When parameterized, the values change for each iteration. Thus by creating output values; we can capture the values for each run and output and store them to the data table. These values can be used later in the different point in application.
  • 12. Output values are stored in run time data table; it is located in QTP result window and can be retrieved later. Types of Output Values: 1. Standard output value 2.Text output value 3. Database output value 4. XML output value
  • 13. Output Value Types 1) Standard output value: We can use standard output values to output the properties values of most objects. We can use Standard Output value under Recording mode from Insert menu >output value> standard output value. 2) Text output value: We can use Text output values to output text strings displayed in an application. When creating a text output value we can output a part of the objects text and we can also specify text before and after options.
  • 14. We can use Standard Output value under Recording mode from Insert menu >output value> text output value. 3) Database output value: We can use Database output values to output the values stored in database table. We can use Standard Output value from Insert menu >output value> database output value. 4) XML output value: We can use XML output values to output the values of XML elements in XML documents. We can use Standard Output value under Recording mode from Insert menu >output value> xml output value.
  • 15. Actions Actions break up the test into logical sections/units such as specific activities that we perform in our application.
  • 16. Types of Actions There are two types of actions:  Reusable actions  Non-reusable actions Reusable action Can be used in other tests Can be used in same test, multiple times Non-reusable action Cannot be used in other tests Can be called in the same test, only once.
  • 17. Global Sheet and Local Sheet Global Datasheet Unique for the entire test Sheet is named “Global” Any action can access and write data into Global Datasheet Global Sheet: All Actions in the test are iterated Local Datasheet Equal to number of actions Sheet is named “Action Name” of “Local Sheet” An action can read and write data into its own local datasheet only Local Sheet: Only corresponding action in test is iterated
  • 18. Library Functions If we have repeatable steps in a test or in an action then we can use user-defined functions. User defined functions will make our test look shorter, easier to maintain. Time and resources can also be saved by implementing and using these user-defined reusable functions. User defined functions can be stored in a function library or within an action in the test. If the function is stored in a function library then we have to associate that function library to the test so that the test can call all the functions listed in that library. We can associate the function library to the test from File  Settings  Resources Tab.
  • 19. Functions in an associated function library can be accessible: From Step Generator, From Operation column in keyword view, or by manually entering the function name in the expert view. We can create new function library by selecting File >> New >> Function Library. Functions in library file can be created manually or by using Function Definition Generators. We can save this file at a specified location with .qlf (by default) or .vbs or .txt extension
  • 20. There are two types of functions:: Private Functions and Public Functions Private Functions: These can be accessed from within the function library itself and cannot be accessed from outside this function library. Public Functions: These can be accessed from any function library.
  • 21. Object Spy Using the Object Spy, we can view the properties of test object and their values in an open application. There are two ways to use object spy in QTP  We can select Object Spy option from Tool Menu in QTP  We can select Object Spy option from Object repository Window by selecting Tools  Object Spy
  • 22. Environment Variables A variable declared and initialized in one action using Dim statement can’t be used in other actions or Test. So, by using environment variables we can use the variables in different actions. There are two types of environment variables: 1. User-defined (internal, & external) Note: we can’t change the value of external environment variables. 2. Built-in Note: we can’t change value of these variables. To set the value of a user-defined environment variable: Environment.value (“VariableName”) = NewValue
  • 23. Analog & Low-Level Recording Low-level recording: It is used in case qtp is unable to recognize some objects and its properties. It is based on mouse clicks and the x, y co-ordinates that is instead of taking that object, will take the x, y co-ordinates of that object. Analog recording: This mode records every moment of mouse as we drag the mouse around the screen or application window. Useful for recording operations that cannot be recorded at the level of an object. E.g., A signature produced by dragging the mouse will be recorded in analog.
  • 24. Analog recording and low-level recording require more disk space than normal recording mode. By-default recording mode is normal recording. We can switch to either Analog Recording or Low Level Recording in the middle of a recording session for specific steps. After we record the necessary steps using analog recording or low-level recording, we can return to normal recording mode for the remainder of our recording session.
  • 25. Difference between Wait & Synchronization Point? Wait: In wait point, though the job is completed less than the specified time, it will wait for the specified time to be elapsed and then only we will have the result summary or move to the next job. Synchronization: once the job has been completed, we immediately gets the result sheet or we move to the next iteration. It won’t wait for the specified time to be elapsed.
  • 26. What’s the Transaction We can measure how long it takes to run a section of our test by defining transactions. Transaction modes are: Start transaction, End transaction We can also use MercuryTimers() function also like: MercuryTimers("Timer1").Start MercuryTimers("Timer1").Stop() And also we can fetch the time taken to load a particular step in a variable like: Dim a a=MercuryTimers("Timer1")
  • 27. Invoke the web application We can invoke the web/window application with use of systemutil.run("WebPath”) command in the Expert View e.g. systemutil.Run "iexplore.exe", www.ning.com
  • 28. Test Fusion Report Once the tester run the test, a Test-Fusion report displays all aspects of the test run: a high-level results overview, an expandable Tree View of the test specifying exactly where application failures occurred, the test data used, application screen shots for every step that highlight any discrepancies, and detailed explanations of each checkpoint weather pass or failure. By combining Test-Fusion reports with Quality center, we can share reports across an entire QA and development team.
  • 29. Benefits 1. Test automation enables one to achieve detailed product testing with significant reduction in test cycle time. 2.The efficiency of automated testing incorporated into product lifecycle can generate sustainable time and money savings. 3. Reliability 4. Consistency 5. Accuracy 6. re-usability 7. Better, faster testing 8. The up-most advantage of automation testing is that we need not have to do the testing on the same modules again & again. We can plan, record, enhance the script, & run the test script as and when desired.