Vous êtes sur la page 1sur 9

4/11/13

10 steps to become QTP guru

EASY WAY TO AUTOMATE TESTING


A UT O M A T ED S O F T W A R E T ES T I NG A ND D I F F ER ENT W A YS O N HO W T O D O M O R E A ND Q UI C K ER
A T A S HO R T ER T I M E

10 steps to become QTP guru


Would y ou like to know how to becom e QT P guru?
The recipe is simple. Y ou should learn the following:
1 . VBScript
QTP uses V BScript language. That's why strong knowledge of
V BScript is 'must hav e'.
Sources:
w3schools' V BScript tutorial
MS' V BScript Guide.
2. Software T esting Autom ation Fram eworks
To write good automated tests, y ou should know how to write
them.
There are different approaches and solution. There is not a silv er
bullet.
Sources:
Test Automation Frameworks
Choosing a Test Automation Framework
Totally Data-Driv en Automated Testing
Sev en Steps to Test Automation Success
3. HP QuickT est Professional T utorial
This QTP tutorial cames with QTP.
It's quite clean and informativ e. Its main goal is to show and ex plain
basic concepts of QuickTest Professional. It prov ides knowledge on:
creating a test
working with Object Repository (OR)
running and analy zing tests
v erify ing tests
parameterizing, etc
Sources: '\help\QTTutorial.pdf' or '\help\Tutorial.chm' in QTP
Install folder.
4. HP QuickT est Professional User's Guide
As prev ious tutorial, the present User's Guide come with QTP install
too.
This guide is intended for QuickTest Professional users at all lev els.
It giv es a deeper knowledge on:
working with QTP Object Repositoies
designing tests
enhancing tests (checkpoints, parameterizing, etc)
maintaining anf debugging tests
adv anced testing features, etc
Sources: '\help\QTUsersGuide.pdf' or '\help\MainUsersGuide.chm'
in QTP Install folder.
5. COM/DCOM T echnologies
When working with QTP, y ou will be closely linked with such
Microsoft's applications, as: Ex cel, Word, Outlook. So, I recommend
motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

Search

S UB S C R I B E

Subscribe by Email
Subscribe to RSS feed

How to subscribe? V ideo guide

R ECENT AR T I CLES

1 5 QTP
sites/blogs/groups/forums
QTP DataTable - QTP V ideo
QTP Descriptiv e Programming QTP V ideo
QTP - How to decry pt encry pted
password
QTP Object Indentification
Properties
4 way s to get & count objects in
QTP
Top 40 Automated Testing Blogs
LoadRunner V ideo - Manual
Correlation
LoadRunner V ideo - Automated
Correlation
LoadRunner V ideo - checking
downloaded file
LoadRunner V ideo - capturing
Web page
V oting - Top Automated Testing
Blogs
How to update XML file from
QTP
LoadRunner unique file name 1/9

4/11/13

10 steps to become QTP guru

to get familiar with COM, COM Technologies, and COM objects of:
MS Internet Ex plorer
MS Ex cel
MS Outlook
6. SQL
SQL is so important in programming, that I strongly recommend to
spend time to learn SQL:
concepts of RDBM
selecting/updating/deleting data
SQL queries optimizations
databases administration
Sources:
w3schools' SQL tutorial
MS SQL Serv er - this and this
Oracle DB
7 . XML
XML is an ex tremely popular and useful format. I'm sure that ou
will hav e to deal with data, stored in XML-files.
Sources:
w3schools' XML tutorial
8. HT ML, DOM
Since QuickTest Professional works perfectly with web applications,
y ou should be ex pert in related fields - HTML, HTTP, DHTML, DOM,
etc. They will simplify y our future QTP script and make them more
reliable and maintenable.
Sources:
w3schools' HTML tutorial
w3schools' DHTML tutorial
A Beginner's Guide to the XML DOM
DOM tutorials
9. HP QT P Knowledge Base
It contains a lot of practical articles about QuickTest Professional.
Y ou can find there QTP webinars, QTP FAQs, documentations,
solutions of y our problems or different way s how to improv e y our
QTP automated tests.
Sources:
HP Self-solv e Knowledge Search (requires an access to HP
site)
1 0. Useful sites
Sure, it's impossible to know all information on QTP.
That's why I recommend to use these two sites to search answers to
y our QTP questions:
Google
Easy way to automate testing

Related articles:
1 5 QTP sites/blogs/groups/forums
Top 40 Automated Testing Blogs
QT P v ideo & tex t tutorials
motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

web_sav e_timestamp_param
QTP V BScript - Are y ou sure
1 +1 =2?
LoadRunner Analy sis - tabbed
world
QTP Recov ery Scenario V ideo
QTP - How to rename Ex cel
worksheet
How to read XML file from QTP
Use/copy /publish my blog
materials
Bugs in LoadRunner
QTP RegEx p V ideo - How to click
dy namic link?
QTP Descriptiv e Programming operations
LoadRunner V ideo - Parameters
- part3
QTP Descriptiv e Programming number of objects
QTP - How to get number of
pages in PDF file?
Current iteration number of QTP
script
LoadRunner V ideo - Parameters
- part2
How to record LoadRunner
script on FireFox ?
1 0 steps to become QTP guru
LoadRunner V ideo - Parameters
- part1
How to get tex t of status bar
from QTP?
QTP - quotes in V BScript
QTP Descriptiv e Programming Closing browsers
QTP - How to get current
browser URL
Unique file name with
LoadRunner parameter
QTP - Tool tips for images
Sav ing LoadRunner parameter
v alue
2/9

4/11/13

10 steps to become QTP guru

Do you like this QTP Tutorial? Would you like to receive them in the
future?
If yes, please subscribe to this blog RSS feed or by Email. (How to
subscribe? V ideo guide)

Related v ideo:
Becom ing a Software T esting Ex pert - Jam es Bach

How to get unique file name in


LoadRunner?
QTP Descriptiv e programming Processing images
Automated testing without
testing tools
QTP - How to capture tool tip?
LoadRunner RegEx p ex amples
LoadRunner RegEx p - Challenge
resolv ed
LoadRunner V ideo - How to
record PDF file sav ing?
QTP V ideo - Running QTP test
from command line
LoadRunner regular ex pressions
QTP V ideo - How to capture
dy namic tex t?
QTP V ideo - How to record QTP
script?
Try to download LoadRunner
9.1 ...
Run LoadRunner from command
line
LoadRunner 9.1 (9.1 0) is coming
soon!

Do you like this QTP tutorial?


Feel free to use/copy/publish all my materials on your site/blog!

P O S T ED B Y DM I T R Y M O T EV I C H A T 7/01/2008 09: 38: 00 A M


LA B ELS : A UT O M A T ED T ES T I NG , Q T P

LoadRunner v ariable & iteration


number
web_reg_find LoadRunner
function
LoadRunner parameter &
iteration number
How to minimize/max imize QTP
window?

12 C O M M E N T S:
Shrini Kulkarni said...
It is pathetic and sorry state of affairs to see that in y our list there is

How to capture array of


dy namic data?
LoadRunner - Broken links
detection

no item for "learning" testinging.

How to run program on remote


computer?

After all QTP or any automation for that matter is slav e to "testing".

web_reg_sav e_param
LoadRunner function

If y ou do not know how to do testing better - y ou will not be able to


"stupidly " documented (also outdated) test cases ... What is the use

LoadRunner parameter
operations

of QTP knowledge then?

LoadRunner

serv e y our stakeholders as y ou will be at the mercy of some

motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

3/9

4/11/13

10 steps to become QTP guru

parameter/parameterization
Here are my two steps to become a v aluable Test Automation
professional (QTP included)

Running QTP script from


LoadRunner

1 . Learn and Practice Testing (thinking, questioning, modeling etc)

QTP - How to set/get sy stem


time and date?

2. Learn Programming of any sort (V B, PERL, Jav a, ....) understand

User-defined LoadRunner
library

how to write a better code

LoadRunner - How to download


and sav e file?

Rest all is becomes easier if y ou get to master abov e (that itself


takes ages)

LoadRunner - How to record a


file sav ing?

Shrini Kulkarni

LoadRunner correlation - v isual


tutorial

http://shrinik.blogspot.com
JULY 1 5 , 2 0 0 8 A T 3 :5 3 PM

Custom LoadRunner Analy sis


report
LoadRunner - conv erting tex t

Dmitry Motev ich said...


2Shrini Kulkarni,

QTP - getting font


name/size/color

Thank y ou for y our comment.

Loadrunner parameter ex ample

It seems, that e stand on opposite sides of the door :)

LoadRunner - Memory leaks


detection

The abov e list ex plains technical side of QTP specialist!


Y our list of two items is great.
Also, I can simplfy it. I would put the one step only :

B L O G A R C HI V E

1 . Learn how to work sm art, not hard!

2009 (2)

If y ou are smart specialist, y ou can find answer on absolutely any


question - from QA, programming field, IT managements, etc.
A UGUST 6 , 2 0 0 8 A T 2 :1 9 A M

2008 (58)
December (3)
Nov ember (5)
October (2)

sushmitha said...

September (9)

Hi Dmitry Motev ich,

August (6)
July (4)

This is sushmitha, I just saw some of y our posted QTP v edios


today ..It was grt
I learnt lot today and am v ery much satisfied with the content i
gained...I started automation with Winrunner and now intrested to
learn QTP...Luckily I got y our site which is most helpful to me...
I will be posting my queries sooner..Thank y ou :-)

How to get current


iteration number of QTP
script?...
LoadRunner V IDEO
tutorial - Parameters
part2 ('Sel...

OCTOBER 3 , 2 0 0 8 A T 1 2 :5 8 A M

How to record LoadRunner


script on FireFox ?

Nav y as said...

1 0 steps to become QTP


guru

Hello Sir,
motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

4/9

4/11/13

10 steps to become QTP guru

June (9)
I am beginner to Load runner and it helped me a lot and v ery nice
and detailed v edio.

May (5)
April (6)

Thanks

March (4)

Nav y a

February (2)

OCTOBER 2 2 , 2 0 0 8 A T 2 :1 9 A M

January (3)

Gaurav said...

2007 (20)

Hi can y ou please tell me what to study under links for oracle \it
opens the 1 0 g page and huge
thnaks gaurav
DECEMBER 2 0 , 2 0 0 8 A T 1 1 :1 9 PM

LAB ELS

Automated testing (7 3)
v isual tutorials (53)
LoadRunner (39)

Gopinath said...

QTP (33)

Hi Shrini,

V ideo (1 7 )
LR parameters (1 1 )

We should be thankful to Dmitry for posting such v aluable


information on QTP and LoadRunner. As he/she replied to y our
comment, this blog is basically for a professional who is currently
into automation and not who is learning testing. If y ou want to
learn testing, there are a lot of websites, which giv e v aluable
information on testing.
Sites/Blogs such as Dmitry 's are the ones that come to our rescue
when we are ex ecuting projects and we need help on a concept
which we hav e probably nev er heard of in the tool.

Correlation (5)
My money (3)
TopList (2)
WMI (1 )
memory leaks (1 )

C O NT R I B UT O R S

DM2
Dmitry Motev ich

I would like to thank Dmitry for posting such v aluable knowledge


on automation tools.
Thanks,
Gopinatha Rao Y areeda
FEBRUA RY 1 4 , 2 0 0 9 A T 1 2 :4 0 A M
Roshid said...
Shirni,
Whats wrong with y ou? Y ou are jealous or out of y our mind? What
Dmitry Motev ich has pov ided is quite useful to us.Of course it is not
for a person who has just started learning testing. Y ou need to learn
how to show respect to others.
FEBRUA RY 2 4 , 2 0 0 9 A T 8:4 2 A M
motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

5/9

4/11/13

10 steps to become QTP guru

sriniv as said...
dude shrini ... u suck... this website is awesome...
MA RCH 7 , 2 0 0 9 A T 1 :0 9 A M
Shrini Kulkarni said...
I thank all people who called me "suck", "jealous" ad what not...
All of y ou tought me something....at times, a pragmatic comment
made with an intention of improv ing things can be misunderstood.
At no point of time I had the intentions of dev aluing the
information that Dmitry giv es on his site. He is doing great job.
Please focus on what intend to say , for long term v alue and career I think it is important to focus on learning about testing (before
than any thing else) and then about some programming. QTP comes
last. If y ou spend good time in first two items (soak y ourself well) becoming guru in QTP is no big thing at all. I think Dmitry knows it
well - it ev ident from his reply . I reacted that way as some newbies,
with the intention of becoming guru in QTP will mistake Dmitry 's
suggestions. My message was to see Dmitry 's suggestions with
proper background.
Now some specific comments...
@ Gopinath :
Y ou said "this blog is basically for a professional who is currently
into automation and not who is learning testing."
It is hard for me to call any professional as automation prof if he is
not interested in learning testing (note that no one has mastered
testing y et ... no one.. so y ou can not say .. I know testing well so
now I am an automation professional). This is my personal
ex perience. Y ou automation knowledge will be ZERO if y ou do not
understand testing rationale behind it. So at any point do not
(nev er make this mistake) see automation without thinking about
testing. When y ou can learn testing in y our whole life time - keeping
an ey e about what problems automation attempts to solv e in
testing is important.
Automation can NEV ER stand on its own... it requires testing to
support it. Hence my comment.
>>>If y ou want to learn testing, there are a lot of websites, which
motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

6/9

4/11/13

10 steps to become QTP guru

giv e v aluable information on testing.


I know ... and check out my blog
http://shrinik.blogspot.com to understand my philosophy of
testing. That will probably giv e y ou some background as why I am
say ing what I am say ing.

>>> Sites/Blogs such as Dmitry 's are the ones that come to our
rescue when we are ex ecuting projects and we need help on a
concept which we hav e probably nev er heard of in the tool.
This is 1 00% perfect ... But do not forget the foundation.
@ Roshid,
>>>Shirni,Whats wrong with y ou? Y ou are jealous or out of y our
mind?
If y ou think that I am jealous ... y ou can make that decision. That
does not take away any thing that I stand for ... holistic approach to
testing hence automation. It is my personal v iew that testing and
automation alway s go together.
Y es, I am jealous that the good work that Dmitry is doing has
potential to be misunderstood or misused as "quick-fix "/alternativ e
to long term learning about testing. I am jealous that I want Dmitry
to succeed in spreading the knowledge but I thought I caution him
against people misinterpreting the content.
>>> Of course it is not for a person who has just started learning
testing.
So which comes first -- testing or automation? Since testing is
something nev er ends ... any giv en point of time y our hav e 50%
pre-occupied with how test better.
Can y ou think of a person without his/her brain? thinking about
automation without hav ing proper study and practice of testing is
like a person without brain.
Shrini
MA RCH 2 1 , 2 0 0 9 A T 3 :3 4 PM
dcbatta said...
motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

7/9

4/11/13

10 steps to become QTP guru

Hi
I don't hav e any coding knowledge and can I learn QTP .
If y es, how???Plz prov ide the material.
Is scripting too hard in QTP.
Any one ex pert in QTP please guide
MA Y 4 , 2 0 0 9 A T 1 2 :2 6 PM
AY Y APPA said...
Hi Srini
I think y ou r still @ old testing theory ; now the Automation is
taking to another dimension; Automation may go or may not go
along with the testing ; as for automation prof tests cases are more
or like requirement docs. And these test cases serv es the
automation dev elopers just like how requirement docs serv es the
Dev elopers
Y our theory is correct. but doesn't mean that all the Automation
blogs should hav e Manual testing concepts
This website is really cool and serv es the purpose
if one wants to get into automation without learning the manual
testing ; he can start his carrier.
Automation ex perts are no more Testers they are like Dev elopers

Thanks.,
Ay y appa.K
MA Y 6 , 2 0 0 9 A T 1 1 :0 0 A M
Mohammad said...
Hi Demitry ,
I don't know how to thank y ou and ex press my appreciation for all
y our help and efforts in preparing these useful subjects and
information for others with no ex pectation. thanks a lot. Keep
going and good luck!
JULY 1 0 , 2 0 0 9 A T 1 0 :4 1 PM
Post a Comment
Newer Post

Home

motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

Older Post

8/9

4/11/13

10 steps to become QTP guru

Subscribe to: Post Comments (Atom)

motevich.blogspot.in/2008/06/10-steps-to-become-qtp-guru.html

9/9

Vous aimerez peut-être aussi