Step by step guide to learn QTP | Quick Test Professional(QTP)
.

Step by step guide to learn QTP

You will wonder why this post is coming now? when it should ideally be the first post of this blog.

Well folks, I have got a question (in its various flavors/variants) at least a couple of hundred times on my mails, blog comments, social networking profiles.


"Ankur, How should I start learning QTP"


So this time I thought I will put aside the "advanced posts" and write a detailed article for the beginners. For advanced users/experts reading this post, I would request you to contribute to my points mentioned below and share your experiences in the comments section, about how you started learning this tool.

qtp for beginners
1) Start with basics of Software Testing.

2) Learn what is regression testing.

3) learn about when should automation testing come into picture.

Refer When should we automate using QTP?

Now the real thing:

4) Download QTP tutorial. Preferably for the latest version. Go through the the tutorial word by word.

There are some topics that I consider of utmost important for beginners

5) Download QTP demo version. This is valid for 14 days, which - if you work hard - should be enough for you to get a good hold on basics.[Remember to put "quick test professional" as your search string not "qtp" on the HP site]

6) Download QTP Student handbook. It takes you through the step by step sample case study. Practice with the demo applications provided. One is web based and the other is windows based.

7) Next learn VBScript, the scripting language used with QTP. Refer basics of VB Script Part1, Part2 and Part3.

Also learn how to manage the data table with QTP and Excel Part1, Part2, Part3

8) Once you're comfortable with this much, you are ready to take on a real-world project. If you can't get hold of any project, practice with the demo applications provided.

9) I am sure by now you must have started hearing about descriptive programming.

Learn the basics of Descriptive Programming and when it should be preferred over normal record/replay.

10) Once you have mastered the basics, go to Testing Tools Forum . Try answering questions. Remember, questions asked in the forums are from the real-time scenarios - you will get to learn a lot by sharing and reading different approaches to solve a particular problem.

Let me know through your comments below if you have other ideas of making "qtp learning" easier for beginners.


If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS Feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.

51 comments:

Anonymous said...

sad to say the links for qtp/td download aren't working, products cant be found....anyone help!!

Ankur said...

Link for qtp download on right is working fine for me. Must be some problem at your end

Anonymous said...

do you know the office 2007 add-ins for QTP?

Raj said...

Can some one help me out with the following question?

Once we create a script using Fire fox (Browser), then can we play the same script in other browser? Or do we need to write it separately

Thanks,

Anonymous said...

Anyone has any idea as to why my flight table From and To pick lists /drop down lists are empty with no data in it...? I am using QTP 9.1..and ofcourse Iam a absolute beginner

Anonymous said...

ok i answered my own question...I didnt select a data source...

and btw Ankur, I ahve to tell you how much I appreciate you site as I am new to QTP as our company uses an inhouse tool for testing our web application...Inorder to market my self better I am learning this tool on my own and ur site helps a lot...keep up the good work..

SA

Anonymous said...

HI All,

Can anyone help me find the place to post questions on QTP...i do want some answers but dont know where to post the questions...as i am new to this site

Thanks in Advance.

Anonymous said...

hi i newly started learning testing tools.i don't know where to dowload theQTP software the links in the site are not working.
can u tell me where can i get the tutorial to hav more information

Anonymous said...

Hello Ankur...
I have been downloaded the QTP 9.5demo version, but i could find the licence key. can you please tell me where can i find the licence key.
Thanks inadvance.

Regards
sandeep

Anonymous said...

Hi frnds,

Please help me ,i need to download qtp 9.0 trail version ,searched all sites.

Anonymous said...

Hi do you have any pdf file about qtp 8.2? The one you have is just the 8.0

Thank you in advance

Anonymous said...

Hi
I am new to QTP. I just downloaded QTP 9.0 but when I start to record, nothing is being recorded and I cannot see any VBscript being created. Can anyone point out where the problem could be?
Thanks
Sue

Anonymous said...

Good Work BUDDY..!! Really appreciated.

Anonymous said...

Ankur, Thank you very mucy, appreciate you from bottom of my heart (I am male though :)). This single article alone can make people careers.

Anonymous said...

Hi ankur,

I have just started to work on QTP. The application we have to automate contains code which is generating a table in html form. The table has radio button and there is no associated text or value or id with that radio button. Though the table has other columns along with the radio button.

Now while accessing the selected radio button we are facing the issue since the value of the selected radio button is a randomly generated number which on re-running gets lost.

we are getting the selecteditemindex property but dont know how we can use it.

Will be really helpful if you can help us.

Madhavi said...

Hi All,

Is it not possible to install QTP on Win Vista?

Anonymous said...

Very good job Ankur. Appreciate your willingness to share what you know with others. Thank You, Keep it up!!!!

Suren Blog said...

Hi Ankur

I have installed HP QTP 9.2 in my notebook which has Vista. I am trying to record and run with the Record and run settings as..Recording with the website as "www.google.com in IE7. When I start recording,
QTP throwing error as "The Browser Application can't be launched. Possibly the URL is wrong"

Please help out
Thanks!!

soumya said...

Ankur plz help me
my name is soumya.

I know Just only manual testing,I never worked on Testing.

Now I want to learn automation tools QTP and Quality center on my own within week time and I should be able to attend the Interview within a week.

please can anyone give me advice what I have to do to make the things faster within this short span of time.

am very much tensed about it,do anyone give me any suggestion and any good ppt's or docs or any other special docs related to QTP and Quality center which makes me to learn the things faster(I mean to ask any good docs those are easily understandable and only limited docs not including complete things in QTP like help docs)

or suggest me only main topics to learn(In QTP and QC)at present those are important for Interview purpose and I can be able to manage things when I get job on QTP and QC.

please friends help me I'll be waiting for your reply with eager.

regards
Soumya

shriya said...

Hi Ankur.
I am currently working on QTP...I am trying to create components thru myself but i m nt able to make...
i hv gn thru d guides u hv suggested but still i m nt 2 analyse things properly...
could u pls suggest me in brief architecture how cn v create a component wd sum e.g....
i ll b thankful if u cud do so...

Purusharth Mahay said...

Guys i need one info. Is there any difference between QTP tutorial and Student hand book. In which PDF i'll get the details related to "getroproperty" etc.

If someone have it then please mail me at "purusharthm@yahoo.com" or "purusharthm@gmail.com"

Rabby said...

hi, how can i contact you?

Anonymous said...

Hi Ankur,

I have been trying to download the trial version from HP's site but I landed up by the addins and wrong ones. Can you please let me know where can I find a right trial version of QTP (and the link if possible).

Thanks in advance.

Sarita said...

Hi Ankur,
I want to download QTP tool to my PC.I have checked HP sites for QTP trial version,there i got only QTP add ins.
Can you pls help me to get Trial version of QTP?What are the prerequisites to download QTP tool?


Pls help me out.....

Thanks & Have a Nice Day...!!!

-Sarita

phani said...

Thanks Ankur.
This is quite encouraging for Begineers.

Anonymous said...

Hi Ankur,

Pls reply me....

Sarita said...

Hi Ankur,

Pls help me in Downloading QTP trial version.

I have downloaded Quick Test Professional 9.5 evaluation,It is showing a Sonic record.

Pls help me...

Anonymous said...

Hey Sarita!

Why don't you try QTP 9.2. You can download it from mercury but make sure you type quick test professional but not just qtp. I would like to know your O/S and system configuration.

mail me @ sheikhtarikali@gmail.com

regards,
Tarik Ali

Anonymous said...

I was getting the error message "The Browser Application can't be launched. Possibly te URL is wrong."

The following actions worked for me:

If you're using Vista then the User Access Control (UAC) must be disabled for you're windows accompt user. Check Windows help to know how disable UAC

Anonymous said...

Hi Ankur,

I am new to automation testing. I have QTP 9.2 installed in my machine. Where can i get step by step learning guide for QTP 9.2. It would help me to learn quickly. Could you please help me.

Thanks in advance!!

Gaurav said...

Hi,
i am unable to download the QTP student handbook ....

is there any other link to download the same or any one can send me the file on my mail id : om.gaurav@gmail.com

Ankur said...

@Gaurav: Can you re-try? It's working fine at my end.

Anonymous said...

Hi Ankur, Your blog is really a boon for people wanting to learn QTP; but still we more dependant on traditional methords of teaching... download the demo, dowload the handbook, try xyz... and should be able to kick start your QTP bike...

I know this may sound wierd; but i want to suggest we should design a standard tutorial which covers based on your professional experiences and market needs, this tutorial will also have extensive excercises to give the beginners handfull of exposure.

Your comments?

Ankur said...

@Anon:
Unless someone downloads a demo or have QTP installed how can they learn?

Regarding creating a tutorial you have a good suggestion but the issue is I have only this much time in hand where I have to juggle between my day job, blog, QTP forums and personal work.

I would suggest you take the lead in creating the tutorial. Probably can rope-in more people from the QTP forums [www.learnqtp.com/forums ] and take it ahead. If you need any help with logistics etc you can always mail me.

ASHISH said...

Hi Ankur,
First thanks for such a wonderful work really your blog is very much beneficial for all QTP users .
I want to know about framework concept in QTP. So please help me as soon as possible .I am using data driven frame work in my project .I want to know about other type of frame work .

Dev said...

Hi Ankur,

I am using your blog since 1 month, and it is soo much awasome, informative, Up to mark...:)
I want to tell you heartly thanks, for your hard work and dedication towards blog in your busy time schedule,
God Bless you.
Bye n tc
Devanshu

Anonymous said...

HI Ankur,

You have done a wonderful job with this blogspot :) Keep it up !

I read about BPT - Business Process Testing...can u throw some lite on it and also do u have the Mercury Business Process Testing User's Guide ?

Thankyou

Tom said...

Ankur,
Can you send me or put the QTP student handbook on your site? I went to the linked site and it brought up a bunch of inappropriate sites. My email is tmaffei15@yahoo.com.

I love your site by the way. It is greatly appreciated.

-Tom

Ankita said...

Hi Ankur,

You have given very helpfull information for the biggners.

Anonymous said...

Hi Ankur can you please help me and give a navigation steps to down load Trial version of quality center from HP. I tried once but failed to download.your help is highly appreciated.
thanks

micky said...

hi ankur i m new to IT industry n ws lkng tht i ssall go with QTp..can u suggest me some thing abt this i ill higly appreciate how to start with it n proceed further

Anonymous said...

Ankur,

I am greatful to this blog. I was unaware about QTP. However now I am feeling that I have learnt the basic concepts. The steps mentioned by you to do the same was very much helpful.
Now I am trying to learn the concept of keyword driven methodology(which is given in user guide). I am strucked in creating the functions. Functions like to verify the Mercury tours registration form, for error messages, invalid date entries etc.
How to do that?FYI, I am not having any programing knowledge.

Shivasini said...

Hey Ankur,
I have 3 years or work ex in Manual Testing of ERP applications.
I now want to learn QTP as well as the other automation tools.
Can you pleae tell me if going through the links you provided me will be enough to work on real time projects?
Also, the QTP download link is dead. Can you please fix that?

Thanks,
Shivasini

abhilasha said...

Hi Ankur
Thanks a lot for such a great information. I went through the steps you mentioned. Downloaded the qtp from hp site and installed. Now when I open qtp, it gets open and after few seconds it throws an error Visual C# compiler error. then continues gives the same error for 3-4 time then closes the qtp application.
So I am not able to learn qtp.
Could you please help me out in solving this error.
Would be very greatfull to have any comments on this.
Thanks a lot.

venkatesh said...

Hi All,
I'm new to QTP.Need some help.
I'm currently going through the tutorial as well.

During my recording,I have entered a value for the price as 20000.
i have parameterized this value thru datatable.

But now,in my next script,i want to read this value from the screen.how do i achieve that ?

1.how do i read/get the value from the screen ?

2.How do i read/get the particular row/column value from the datatable ?

Any help is much appreciated.

Thanks,
SV

sanju said...

Hi Anonymous,

This is regarding the comment posted by you on 4-12-08.I am also getting the same error when try recording on web app.Where can i find this UAC?I am using vista.Please help me out.

Regards,
Sanju.

sanju said...

Hi Ankur,

Hope u doing great!

My question is regarding the registration of username and password on merury tours website.
I registered so many times but the site is not accepting the username and pwd.Earlier i was using mercury as username and password,now site is not accepting it also.Please help.


Regards,
Sanju.

Anonymous said...

Hi Ankur,
How are you?
I am vipul,
I am doing automation in QTP for my web UI application. I have recorded some flows but now my recorded script is not running as it can't identify some objects as there are some chagnes being done at UI level. So help me that how can I handle my script if any objects doesn't have unique id and there are some changes done in those objects.

karang said...

Thank you for putting all this together

Jatinder said...

Hello Ankur..

thanks for ur valuable information about QTP..

i need that Air Ticketing Application to practice on that...From where i can get that ..bec all examples based on that application..i have qtp setup but hav't that application..so plz Help me out...

Anonymous said...

Do you mean http://newtours.demoaut.com/
the Mercury Tours website used in the HP Tutorial for QTP ?