.

About LearnQTP

Learn QTP started in Nov 2006 on blogger CMS as a one-stop shop for those wanting to learn about HP Quick Test Professional. In a couple of months, the blog saw tremendous growth in its readership and responses.

To handle the increasing volume of testing-related questions on the blog, a separate Testing Tools forum was launched in Jan 2008. This forum has a managed environment for QTP users/experts to interact and learn, and is successfully running with 3050+ members, 1700+ threads, 5200+ posts at present.

Learn QTP covers topics such as QTP tutorials for scripting, concepts of object repository, descriptive programming, interview questions, regular expressions, QTP automation object model,XML etc that address the needs of beginners as well as advanced users of QTP.

If you are a beginner, refer this step by step guide to learn QTP.
If you are looking to optimize your QTP scripts, refer how to optimize QTP scripts

About Ankur: Ankur works with and write about automation testing tools, and he is a Mercury (now HP) certified Quick Test Pro specialist. Ankur has worked on several QTP projects to perform large-scale regression tests, health checks in ERP applications and automated data load in implementation projects, using various technologies like Visual Basic, Active X, Java, Siebel, Mainframes and Oracle. When not working on testing, he can be found online playing chess or researching cool new technologies.

If you want to keep track of further articles on QTP, we recommend you to subscribe via RSS Feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox. Please do leave your comments/suggestions!

343 comments ↓

#1 Anonymous on 11.21.06 at 00:48

Nice effort man…good to see this blog.

#2 Karthik on 11.26.06 at 21:21

Hi Ankur,

Good work on initiating this blog. I’m going to be a regular here :-)

Look forward to more comments from me soon.

#3 Ankur on 11.26.06 at 23:07

Thanks Mr Anonymous and Karthik…your comments will go a long way in making this place a beautiful place for QTP knowledge seekers.

#4 JAGAT on 11.28.06 at 18:26

thanks Ankur for wonderful blog on QTP.QTP tutorial and QTP Student Handbook is a dead link.can you plz fix those?
Thanks

#5 Ankur on 11.28.06 at 22:14

Hi Jagat, Thanks for pointing the dead link…I have fixed the problem…check that out

#6 JAGAT on 11.29.06 at 18:49

Thanks Ankur.I really appreciate it.

#7 Rajat on 11.30.06 at 22:46

Nice work Dude…. surely I would be a regular here….

Cheers..

#8 koti on 12.01.06 at 08:41

Hey Ankur,

Thats Great

#9 Ankur on 12.05.06 at 04:37

Thanks everybody, do leave your suggestions too…if u wish to have some more topics included under this blog

#10 Colorado Bob on 12.07.06 at 03:05

I have no idea what QT is, but just from an old guys eyes point of view … The orange is just too much to look at.

#11 JAGAT on 12.07.06 at 16:28

Hey ankur,
what is the best start up point to start with QTP?i mean can you please point out to some programming tutorials/material to develop test cases n start working with QTP?

thanks a lot

#12 Ankur on 12.08.06 at 00:34

Hi Jagat,
For the starters I would recommend going through the VB Script documentation provided with QTP especially get hold of the list of in-built functions. They will prove to be very useful while scripting.
From mine and my team experience I can say that VB Script is one of the most easiest scripting language to learn.Anyways…Keep frequenting the blog…I will try and see if I can put some relevant Vb Scripting material for beginners.

Regards,
Ankur

#13 JAGAT on 12.11.06 at 18:09

thanks Ankur.

#14 pullareddy on 12.13.06 at 21:43

Hi
ankur this is very useful blog for qtp tool .
Thanks
Pullareddy

#15 Simi on 12.17.06 at 20:14

Hi Ankur,

am relatively new to testing field and also in QTP….It would really help if you could post some challenges faced in using QTP and how one handles it in real life scenario. Also others can also post in their critical challenges if any so we can all learn from each other.

#16 Ankur on 12.17.06 at 22:20

Hi Simi,
Thanks for your suggestion.Well,yes I am already in the process of writing some real life experiences and difficulties which I and my team have faced…u will get to c that soon…also in the same topic I shall be adding a dedicated section so that everybody could comment their past experiences with that tool.

Regards,
Ankur

#17 Shuchi on 01.04.07 at 05:28

Hi Ankur, Great work! Keep it going!

#18 ankz on 01.08.07 at 00:46

hi buddy i read ur blog and its very intersting on
> QTP .. well iam also ankur and doing manual testing
> since last 1.5 years ..i have done enough of manual
> testing both onsite and offsite and wanna expand my
> horizon so looking for learning automation.. i have
> started learning QTP and read your blog and cleared
> one interview also on QTP but didnt joined ….
> buddy like you i wanna do mercury QTP specialist
> certificaion i have checked the mercury site but
> almost all of the info is US related …
>
> Can you guide me how to proceed for QTP Specialist
> certifcation
> can you aslo tell me how relevant is CSTE for a
> manual tester wid 1.5 yrs exp like me ..
>
> looking fwd to ur response ..
> ManyThanks,

#19 Ankur on 01.08.07 at 01:08

Hi Ankz,
For the Mercury QTP cert…as far as i know there are very few people from India who go for certification on their own…My suggestion is to ask the Testing dept in your org…generally Mercury conducts exam in the org premises itself, if it finds the no of test takers tobe adequate enough.If at all you wish to go on your own, you can contact the local Indian cell of Mercury…details of which can be found on Training and Certification link i have given on my blog

Regarding CSTE, it will definitely be an add-on to your Resume considering you have 1.5 yrs of exp …while studying for exam( though it becomes boring sometimes–all theory!!!)..you will get to learn many things on Testing perspective…which otherwise you might not get a chance to learn in your day to day Testing activities.

#20 Jill Valentine on 02.09.07 at 08:49

Thank you very much for this big effort Ankur. I’ll be your biggest fan!

#21 Anonymous on 03.22.07 at 00:57

Nice effort man…keep it going

#22 Das on 04.24.07 at 10:36

working out the student handbook enough for certification as Specalist
let me know Thanks

#23 Ankur on 04.24.07 at 21:57

Hi Das,
Other than the student handbook make utmost use of the knowledge base of support.mercuryinteractive.com,if you are aiming for CPS certification. It contains excellent explanation of qtp concepts.
Let me know if you require some specific information

#24 Das on 04.25.07 at 08:46

what concepts??? like framework can you be more specfic thanks a lot again ankur for answering if you have docs which I shd be reading can you email me @ dasarathy18@gmail.com
Thanks a lot again

#25 Das on 04.25.07 at 22:03

HEY ANKUR I FIGURED THERE WOUL DBE 70 QUestions IN THE TEST WHATS THE MINIMUM SCORE FOR passing .it would be great if you have the details
Thanks
Regards
Das

#26 Ankur on 04.25.07 at 22:51

Hi Das,
By concepts I mean, you should clarify the smallest of doubt regarding QTP before appearing for the exam from support site.
Regarding your 2nd Q: The passing marks are 70% and no of questions will not be 70 but “ll be 40.Also learn the demo client-server application provided with QTP installation, they ask one debugging question from that generally.You will get 4 hrs to answer the questions.

Best of luck!

#27 Das on 04.30.07 at 16:05

Thanks my tutor
iam reading and hope i pass
well thanks again keep up the godo work

#28 swami on 05.08.07 at 02:27

Great work Ankur..!!!!!

Great to see some one invisible helping others….!!!!!

Keep this work going…!!!!!!!

#29 Gaurab on 05.15.07 at 13:26

Hi Ankur,

Great job dude!!!!!!!!!I really appreciate the way you have collected and put down all the articles and experiences relevant to QTP and Automated Testing in this portal…keep up the good work.

Can you suggest me how to get a good grip on VB Scripting and use the VB SCripting extensively.Currently I have knowledge and experience in using the QTP Features but what I think that the next level of automation will be VB Scripting. Please suggest me how I can pick up the things in VB Scripting..moreover still I consider myself at beginner level in VB Scripting -:).

Looking fwd to ur reply and suggestions.

Gaurab

#30 Ankur on 05.16.07 at 00:58

Thanks Gaurab, For your query please refer to my comment written on December 08, 2006. Do let me know if you have any specific query regarding VB Script/QTP.

#31 Ranjit Vanka on 06.03.07 at 05:45

Hi Ankur,

Great job, keep it up. At one stop you have provided all the information related to QTP. Where do you work ?

Thanks.

With best regards
Ranjit Vanka

#32 రానారె on 06.11.07 at 13:37

Hi Ankur,

I need to test an SOAP API through WSDL file. I am new to QTP. Could you point to a resourse please?

Thank you,
rAnAre

#33 Mahaveer on 06.22.07 at 08:45

Hi Ankur,
Great Job yar..
The blog is really useful n informative.

#34 Pranjul Srivastava on 07.02.07 at 02:09

Hi Ankur;

First of all I would like to thanks for your effort to saving effort in hunting on web. I’m new born baby for QTP so I tried to open/ save QTP tutorial and QTP Student Handbook for reference but I have observed that these two links are dead links. Can you fix those so that other can use it for reference?
Thanks in advance…

Thanks and Regards;
Pranjul

#35 Ankur on 07.02.07 at 02:27

Hi Pranjul,
Thanks! Check it out now.

#36 Anonymous on 07.06.07 at 03:43

Hi..,
Its shantha..
could i know y QTP is meant for Keyboard Driven Testing…….

#37 Ankur on 07.06.07 at 03:52

Hi Shantha, Its not Keyboard driven but keyword driven testing. You can refer http://mercuryquicktestprofessional.blogspot.com/2006/11/whats-your-automation-framework.html for more clear understanding.

#38 Rajesh D Srinivasan on 08.01.07 at 03:59

Hi Ankur,

I came across your site through Google search and I found a treasure trove of information on QTP and automation testing. Thank you very much for the effort you have put for this. Continue blogging.

Regards
Rajesh (Raju)

#39 Anonymous on 08.06.07 at 18:57

Hi,

I have been searching for QTP tutorials for a long time. Your efforts to make this notes availble to all is highly appreciated. Thanks for this effort.

Regards,
Rakesh.S.

#40 Vini on 08.08.07 at 06:51

Hi,

This is Vinay..
Can we create QTP Exe or Run QTP Scripts without opening QTP.

Regards,
Vinay

#41 Ankur on 08.08.07 at 22:26

@Rakesh—Thanks!!!

@Vini—You can use a utility called Test Batch Runner provided with QTP installation.You can find it here: Quick test professional–>Tools–>Test Batch Runner OR secondly if you are using QC/TD, you can directly run your scripts from there also.

#42 Anonymous on 08.12.07 at 13:18

Hi

I have installed QTP on Windows Vista and now when i am launching it
it normally shows 4 windows
in my case Active screen window is not coming up ..
i have reinstalled it 2 times, no luck
Can someone pls help me
thanks
Manav

#43 Ankur on 08.22.07 at 00:39

Hi Manav,
Try View–>Active Screen. if that doesnt help..let me know the version of QTP you are working on.

#44 Hitendra on 09.19.07 at 14:26

Hi Ankur,
First of all thanks for collecting relevant information at one place.
Definitely I will keep in touch …
Really Hats Off To You

Hitendra

#45 Nuts & Milk on 09.26.07 at 01:35

Hello Ankur,
Thanks for leaving a comment on Nuts & MIlk. What I see is light grey text on a dark grey background. I didn’t understand what you meant by black on black :) Did you check the page in Internet Explorer? The page looks same in IE & Firefox. Do check it out in IE & lemme know :)
Thanks

#46 Anonymous on 10.09.07 at 03:49

hi ankur,
How to create a process by which kick off the scripts to run automatically and create output files on scheduled time?

#47 Breathing_thoughts on 10.27.07 at 23:08

Hi ankur
this indeed is the best blog for QTP users, especially beginners like me.
i have not been given any training for QTP. what all little things i can do with QTP is my own R&D, though it works for simpler things, i face problems when i have bigger problems to tackle.
and this blog have been useful in terms of directly searching for the solution than going topic by topic which demands more time which i dont have at the moment.
thanks again for estimable effort.

#48 Breathing_thoughts on 10.27.07 at 23:16

Here is one problem that i am facing which i feel is related more to the QTP settings than the application i am testing.

i want to record any pop up window that may occur while the QTP is running. This pop up is not something that appears in normal flow and hence it is not recorded in original script.
for this we can use Scenario Manager.

after opening the scenario manager, i click on Pop Up checkbox which forwards me to next page where there is a “pointing finger” option which i am suppose to use to click on the header of the application. for this when i click on the “pointing finger” all other windows including that of the QTP should get minimized so that i can click on the header of the pop up and capture the text and error message that it shows.
but it is not happening in my case.
Here QTP’s main window do not get minimised the way it should and hence i cant click on the application.

is there any setting in QTP which is preventing main window from minimizing??? how do i solve this problem?
i closed all other windows thinking that it might me creating trouble and kept only QTP and my Application active, still the problem is persistent.

do let me know if i need to change any settings.
Thanks in advance :)

PS: i am using QTP 9.0 version.

#49 Ankur on 10.28.07 at 00:18

@ Breathing Thoughts…Thanks!

Regarding your question, Ideally as soon as you click on the hand icon it should minimize all QTP windows but if it is occurring you can press ctrl key, the hand pointer will convert into mouse pointer where you can manually minimize the required windows then release the ctrl key mouse pointer will again convert back to hand.

#50 Breathing_thoughts on 10.28.07 at 20:53

Hey thanks so much Ankur
i am sure that will help….

but as a tester, i feel i should have known this…. ;)

thanks anyways!!!

#51 jagan on 10.28.07 at 21:33

hi, this is very nice to learn more about qtp
give some scripts like how to select a mail from web table and give some real time senarios etc..

#52 jagan on 10.28.07 at 21:35

give some good examples to real time senarios

#53 Breathing_thoughts on 10.29.07 at 22:42

hey hi ankur
your last tip worked. :) thanks

now i am trying to run Recovery Scenario Manager for Oracle based application.
when i am trying to capture header name and text of the pop up window by using Pointing Hand icon, it wouldnt capture it.
i have loaded oracle add in but still the problem is persistent.
i tried restarting but wouldnt help. it would capture Web Based Headers though. :(

can u suggest any good tutorial for Recovery Scnario Manager?gh

#54 Ankur on 10.29.07 at 23:53

@ Breathing Thoughts
Please refer my comment on the post QTP does not record on any applications

#55 Anonymous on 11.01.07 at 23:42

Hi Ankur,

I want to learn testing including QTP. However, I do not know anything about testing!!How do I start? Do u offer any courses-on line or ???? Please respond at your earliest. My e- Mail ID is rajarao_rao@yahoo.com

#56 Srini847 on 11.06.07 at 07:00

Hi Ankur,

I am srinivas from Bangalore working as QA Analyst, I am into Test Automation using WinRunner.

I think you have comeup with a good idea of collecting what all you have come across in QTP.

Great job.

I would take your blog as a refrence for getting knowledge in QTP.

Regards,
Srini.

#57 Anonymous on 11.12.07 at 23:53

Hi Ankur,

This is Vasu,working as a Senior QA Analyst.I am in manual testing and I want get the knowledge & practice in automation ASAP.Is it better to learn QTP directly rather than learning WinRunner.I am waiting for your reply.To learn QTP which one is appropriate tutorial for beginners.

Thanks
Vasu

#58 Ankur on 11.16.07 at 05:36

@Vasu: Start with the QTP tutorials and use the demo app provided with the installation.Use this blog for your questions.

#59 shaila on 11.19.07 at 22:57

Hi Ankur..

Really good job ur doing.. and also thanks making available all the documents regarding QTP..
Now i have an request for you..
The link which u have mentioned for Download QTP 8.0 CBT has been taken off from the HP,,
so can u suggest if there is any other means to Download QTP software.

#60 Anonymous on 11.26.07 at 03:53

Hi Ankur,

During web testing, the values changes dynamically….whats the logic for VB Script to tick the Checkboxes depending on the condition ..

#61 Anonymous on 11.26.07 at 04:00

Hi Ankur,

How to write descriptive programming to handle dynamic objects…..

Could you put some scripts..

Thanks in advance

Deepa

#62 Anonymous on 11.26.07 at 04:06

Hey Ankur,

How is the QTP certification exam. Is it multiple choice or written..Do they ask us to write the scripts …could u telll m
e how exactly is that…

Ramya

#63 subu on 11.26.07 at 09:03

Hi ankur,
Can you please tell me the connection string for connecting to DB2 using QTP? I need it urgently if you could reply soon that could be great
Thanks
Subrat

#64 Skumar on 11.26.07 at 09:53

Hi Ankur,

I am facing a problem in qtp. I needed your help.The problem is in our web application when we search for say a user(eg users starting with “a”) we will get a list of user with “a”. Now for each rows there will be a radio button and a checkbox. First i need to select the radio button and then check box then click delete/modify user. Now using scripting i am able to automate for the first record only i am not able to repeat the same for many rows as searching with different names yields different rows. SO can you suggest how i need to overcome this issue. Can you give u r mail id/contact id. mine is sharath.mnsk@yahoo.com

#65 Ankur on 11.26.07 at 10:38

@ Sujay:

Dim App ‘As Application
Set App = CreateObject(“QuickTest.Application”)
App.Launch
App.Visible = True
App.Test.Settings.Run.DisableSmartIdentification = True

@ Anon1 asked: During web testing, the values changes dynamically….whats the logic for VB Script to tick the Checkboxes depending on the condition

You can simply use if then else or case select statements.

@ Deepa: Please refer my post Descriptive Programming Simplified

@ Ramya: When I took the exam QTP certification was of two types, CPS (Certified Product Specialist) and CPC (Certified Product Consultant). For CPS, The questions were all MCQ’s type. They will not ask you to write the scripts for CPS. I would suggest to have a fair amount of hands-on experience before taking this exam.

@ Subu: Its the same way as you create the normal connection strings but for DB2 you need to make sure that after creating the connection string, you remove all the information from it except for the DSN, username, and password.

@ Skumar: As you said searching with different names yields different rows. You need to dynamically find the no of rows at run time for a given query and then use a for loop, with its max value as that dynamic value.

#66 Skumar on 11.26.07 at 11:01

Hi Ankur,

But getting the number count is not a problem. My question I not able to automate so that i select each radio button once. Also the index of the radio button is not sequential.It is random. Did u get the question. Plz help me out

#67 Niranjan on 11.26.07 at 22:13

Hi Ankur,
I have got an unresolved issue of QTP 9.2 with Peoplesoft.
QTP Version- 9.1
Addins used- Web and PeopleSoft
PeopleSoft Addin version- 8.2
Framework- Data driven & Modular framework
Problem- The PeopleSoft application is being crashed every time at the 3rd or 4th dataset producing an Visual C++ RunTime error. The same test case is scripted in WinRunner and in that case it does not produce any Run Time Error even if we executed more than 20 datasets. Could you suggest us what are the the bottlenecks for QTP and PeopleSoft combinations? We had referred Mercury knowledge base and it suggested minimizing and maximizing the People Soft application after execution of each record, so that it can release some memory and the application crash can be avoided. This did not help us at all.
Could you let us know, if you have any solution for this?
Thanks in advance.
Can I get your email id and contact number?

#68 Ankur on 11.26.07 at 23:10

@ Skumar: You need to find out one unique property. Have you tried using “Location” ordinal identifier?

@ Niranjan : After closing the Visual C++ run time error box does your app behave normally or it crashes? If it behaves normally you
can check for the existence of run time error box and close it programatically or can use recovery scenario.

On second thought this issue appears to be related to memory hogging. Try to free up your RAM as much as possible, especially while test is running.
Have you tried it on some other machine?

#69 Niranjan on 11.27.07 at 01:25

Hi Ankur,
After closing the Visual C++ run time error box the app[PeopleSoft IE browser] crashes alongwith parent IE Browser. So no question arises of using recovery scenario.
The second thought is true and memory hogging happens. Observing through the Task Manager, we got know that the process memory [in memory] is not consuming more than 800 MB at any particular point of time as it is getting released from time to time during the execution. The commit charge [paging] memory only accumulated and never getting released. I feel, to overcome this scenario, a script (Wscript) which releases paging memory can be of help.
I explored all possible sources and did not find any code for VM release which I could run in a frequent interval [may be after every 2 transactions] during script run.
I can send you some snapshots, if you can provide your mail ID.

Niranjan Biswal
niranjan.biswal@target.com
mobile- 9880614825

#70 sujay on 11.27.07 at 07:37

Thanks Ankur,

Thanks 4 ur prompt reply..

U R THE MAN

SUJ

#71 benny on 11.28.07 at 09:40

Is it possible to record QTP actions when remotely accessing another machine??

#72 Ankur on 11.29.07 at 05:30

@ Niranjan: I didnt get the answer to my previous question…Did you try it on other machine?…If the answer is yes and problem is still occurring I would say its an interesting problem and would like to see if I can emulate the same at my end…Is it possible for me to access your App URL?

@ Benny: Yes!

#73 Niranjan on 11.29.07 at 21:21

Hi Ankur,
We have tried it in 7-8 lab machines and the probelm still persists. This is really an interesting problem I have ever seen. The application is only restricted to be used the Target intranet. As you are in Bangalore, can we have a telecon sometimes today or monday about the issue?

Niranjan
Mobile- 9880614825

#74 Leeladhar on 11.29.07 at 23:55

Hi Ankur,

Can you let us know how to develop automation framework for qtp test?

#75 Anonymous on 11.30.07 at 08:09

Hi Ankur,

First of all tons of thanks for the work that you are carryings on your strong shoulder .You really deserve pat. Hat off to you my brother.
I have a big question for you it might be very small, but for me it’s like climbing to Mount Everest. I have been moved to QTP Testing from 2 years of .NET rigorous development. It’s not because of I was incapable to code, but because of Personal Inspiration. I got QTP project in my company since I knew VB Scripting very profoundly. And I now learned QTP tool very well I got trained on QTP 9.2.Now its like marriage of VB Scripting and QTP Tool with me.

Problem:–I am the only resource for QTP in my project. Could you please let me know what all thing I need to know to start the project. I will just give some pointers here.

1>How do decide which add-in in needed to install for my application to enhance the functionality of object recognisation.Do we have any quick check what addin is required to proceed ahead by just knowing the application

2> When we say web add in is shipped by default with QTP .Then what exactly it implies. I will just share my knowledge here if I am wrong just rectify me. I think any application that could navigated (opened) through internet explorer is termed as web application for this why we require any extra Add in. But again I am contradicting myself suppose I am having SAP application as my web application ,Java Application as a web application definitely default add in is not suffice to recognize all this universal set of object. So the web addin, that is shipped with QTP recognizes which type of object? And what exactly Web Application specifies here. As far I know suppose any application built using .NET and if I am opening that through url then there is no prerequisite of installing .NET while navigating that application.)

3>What all document I need to ask from my client to carry out task successfully. Since I am alone in this project and moreover this is my first testing project

4> Any other prerequisite pointers that you think I require for preceding ahead.

I definitely hope you are going to answer my query

#76 Ankur on 12.01.07 at 01:10

@ Niranjan: What are the Add-ins you are using? Does that include Active X add-in also. If yes, please see my post on Points to take care with Active X add-in

#77 Ankur on 12.01.07 at 01:12

@ Anon:

1) The best and the quickest way to find which add-in should be used is to ask the application team developers. Once that is known, install the add-in and do some sample scripting to see (and possibly resolve) the issues you get out of using it.

2) There are 3 add-ins which are shipped by default with QTP namely Web, Active X and VB. If you are working on any application built through normal HTML coding then only web add-in would suffice but if any app is built using SAP , Java or .NET technology then you would require SAP , Java or .NET add-in respectively.

3) It depends on the scenario in which you are working. Some documents I can suggest are:

i) Automation Test Plan: Can cover time lines, framework, info regarding repository for storing and accessing scripts.
ii) Manual Test case doc having test cases and navigation of the app clearly defined.

iii) Application Data

#78 Anonymous on 12.02.07 at 19:04

hi ankur.

how to export excel sheet data into quality center

#79 Niranjan on 12.02.07 at 21:35

Hi Ankur,
We are only using Web and PeopleSoft addins in our test scripts.
Niranjan

#80 benny on 12.03.07 at 03:54

Hi, Regarding my last comment….how is this possible to record when accessing remotely?? For example I access a application using citrix metaframe. I want to record my actions with only QTP installed on my machine and not the server i am accessing! Please help this has been bugging me for ages, I need to stop it recording as citrix window

#81 Rahul_0102 on 12.04.07 at 05:25

Hi Ankur,
Could you suggest me script snippet to automatically enable “POP-UP” blocker. Since my application requires clicking a link which opens up a pop up but by default pop up is clock .So every time I need to go to toolbar and right click and select allow pop up. I don’t want to this manually .Could you suggest me script for the same.

#82 Gareema on 12.04.07 at 05:29

Hi Ankur,

I have an interseting question. When i am trying to record on http://www.google.com/reader website after logging in with gmail account.

There is a “Add subscription” link, which looks like a link but its(QTP) not recognising that object. After adding subscription with some name for cnn.com . I am trying to search the added blog name.

But its not working…..

I TRIED USING ALL TYPES : VIRTUAL OBJECTS / SMART ID / LOW LEVEL…..

HOW CAN WE DO THIS?????????????????

Browser(“Google Reader#directory-welcom_2″).Page(“Google Reader”).WebEdit(“Email”).Set “USERNAME”
Browser(“Google Reader#directory-welcom_2″).Page(“Google Reader”).WebEdit(“Passwd”).SetSecure “47554670794aaacaa416db7e1c5eae9004590255c960″
Browser(“Google Reader#directory-welcom_2″).Page(“Google Reader”).WebButton(“Sign in”).Click

Browser(“Google Reader#directory-welcom_2″).Page(“Google Reader#directory-welcom”).WebEdit(“quickadd”).Set “cnn.com”
Browser(“Google Reader#directory-welcom_2″).Page(“Google Reader (10)”).Link(“CNN.com (10)”).Click

I AM PUTTING THE SCRIPT HERE…BUT ITS NOT RECORDING THE ADD SUBSCRIPTION…..

COULD U PLS TELL ME HOW TO FIX THIS….THANKS HEAPS IN ADVANCE

#83 Gareema on 12.04.07 at 05:45

Hi Ankur,

For my previous question can we do it using. Class Mapping….

What exactly is Class Mapping…

Thanks

#84 Bharat on 12.04.07 at 06:02

Hi Ankur,

In my application I am having a link that opens up a lookup pop up which is having a text box for searching an item since pop up window is having so many pages. so developers have given text box for searching. I need to search two items so I am entering item name in the textbox and clicking search button its listing the same and then I am selecting that item .Again I am repeating the same for new item
The thing is that every time its opening a new page is opening with _2._3,_4 that doesn’t look good I need to do the same through DP.Could you please assist me

I am pasting the code here

Browser (“B_LookUp”).Page(“B_LookUp “).WebEdit(“txtboxsearch”).Set “XYZ”
Browser (“B_LookUp”).Page(“B_LookUp “).WebButton(“btn_search”).Click

Browser (“B_LookUp”).Page(“B_LookUp 2″). WebButton (“btn_clear”).Click

Browser (“B_LookUp”).Page(“B_LookUp 3″).WebEdit(“txtboxsearch “).Set “ABC”
Browser (“B_LookUp”).Page(“B_LookUp _3″).Image(“btn_search”).Click

How could I make QTP to release about new pop up browser and new pop up page through DP since all this is opening through a popup and parent window is already residing at background?

Regards,
Bharat

#85 Kuamr on 12.06.07 at 02:45

Hi Ankur,

Could we parameterize the property value of a control through Descriptive Programming i.e Browser(“Google”).Page(“Google”).Link(“name:=DataTable.Value(“LINK_NAMES”) ?

I am trying to recognize a couple of link through descriptive programming. Here I am maintaining the scenarios also. Suppose I am having links “Hindi” ,”Bengali”,”Telagu” on http://google.co.in home page .I am trying to recognize all of them through Descriptive Programming but its failing.
Datatable.import(“C:\linkname.xls”)
Dim goog_br : set goog_br= browser(“name:=.*”)
Dim goog_pg : set goog_pg=br.page(“title:=.*”)

For i=0 to 2

Dim temp
Temp=Datatable.value(“LINK_NAMES”)
Dim lnk : set lnk=goog_pg.Link(“name:=temp”)
If lnk.exist Then
MsgBox temp & “Link Exist On Page “
else
MsgBox temp & “Link doesnot Exist On Page”
End If
Datatable.setnextrow
Next
You help i ssolicated?
Regards,
Kumar

#86 Ankur on 12.06.07 at 05:08

@ Gareema: Use the object Spy on Add Subcription Link to check its properties. Otherwise check on which technology that link is developed, you might need to add that particular add-in to recognize that link.

#87 Ankur on 12.06.07 at 05:09

@ Bharat: You can use regular expression here. Replace B_LookUp with B_LookUp.*

#88 Kumar on 12.07.07 at 05:46

Hi Ankur,

Could we parameterize the property value of a control through Descriptive Programming i.e Browser(“Google”).Page(“Google”).Link(“name:=DataTable.Value(“LINK_NAMES”) ?

I am trying to recognize a couple of link through descriptive programming. Here I am maintaining the scenarios also. Suppose I am having links “Hindi” ,”Bengali”,”Telagu” on http://google.co.in home page .I am trying to recognize all of them through Descriptive Programming but its failing.
Datatable.import(“C:\linkname.xls”)
Dim goog_br : set goog_br= browser(“name:=.*”)
Dim goog_pg : set goog_pg=br.page(“title:=.*”)

For i=0 to 2

Dim temp
Temp=Datatable.value(“LINK_NAMES”)
Dim lnk : set lnk=goog_pg.Link(“name:=temp”)
If lnk.exist Then
MsgBox temp & “Link Exist On Page “
else
MsgBox temp & “Link doesnot Exist On Page”
End If
Datatable.setnextrow
Next
You help i ssolicated?
Regards,
Kumar

Ankur said…
@Kumar: Try giving some unique properties for browser and page objects and avoid using Set in such situations. Let me know the result.
6:09 PM, December 06, 2007

I have done that situation by declearing couples of variables,But i wanted to know could
i parameterise the property value pair .If so how ? Could you mentain the script also..?

#89 Kumar on 12.07.07 at 06:55

Hi Ankur,
I am having an image control in my page which property is changing dynamically very rapidly. So QTP doesn’t able to recognize uniquely. Sometimes IMAGE Control’s index value is 2, 5, 8 or 3 .And its name is also changing like “ctl00$cphMain$00089f4892064ffd”, “ctl00$cphMain$a5e3515bfd17437b”etc that’s why I could not pass unique description. Image control count is not constant its number keep changing.
So my main concern is how to identify which property remains CONSTANT for dynamic changing object? I am trying to use object spy still unable to indentify the same. One more thing I am adding that object to OR to see which property remains constant but still cant make out.
So just let me know couples of step to indentify constant property for dynamic changing object such that QTP identify the control uniquely?

Regards,
Kumar

#90 QA on 12.07.07 at 13:54

Hi Ankur,

Am new and my issue is that after QTP installation, i launch the application but when i click ‘ok’ on Add-in manager page along with ActiveX and web button selected. the page closed. i tried many times but i can’t launch QTP. i have IE7 install.can u help please.

#91 qa on 12.09.07 at 09:54

Hi Ankur,

i will like to know if QTP8.2 work with IE7. if it does, how will i go about it ’cause i can’t open my to work. please help.

Regards,
QA.

#92 Anonymous on 12.09.07 at 22:18

Hi
I have an excel file which stores an object class name, say ‘Link’ in a cell. I store iable say, this value in a variable, say var1. Now I want to use this object as follows –
Browser(..).Page(..).var1(..).Click

How to do this? I am trying to create an app-indep framework. CAn u pls help me in this?

#93 Ankur on 12.09.07 at 23:31

@ Kumar(1): Property Values pair can be used this way “Property1:=Name1″, “Property2:=Name2″,”Property3:=Name3″ that is give the property name and its value comma separated.

@ Kumar(2): For dynamic value,in your case I see that only way out is iteration,

i)Run the test few times
ii) note down each and every property-value pair.
iii) Check for the similarity in them( the one which remains constant)
iv) Use the similar values as the property for the given onject.

Regarding the name property of image I see that “Main” word is always appearing. So here you can use regular Expression .*Main.*

#94 Ankur on 12.09.07 at 23:35

@ qa(1): Have you referred my post Points to take care with Active X add-in ?

@qa(2): For IE7 and QTP, Please refer Some Useful Tips with QTP

#95 Ankur on 12.09.07 at 23:40

@ Anon: An easier way out for your Q is use DP for the given object you wish to get from excel. Also I am not really sure whether assignment operator works this way, try using Set instead.
Let me know how it goes.

#96 DSharma on 12.10.07 at 02:47

No Ankur it doesn’t work using DP bcoz u need an object at the first place to define its properties. Wat I m trying is picking up object class, object name & its one unique property from excel. Not sure whether it is possible. Another way out may be using classes. But there I m whirling around let, set & get properties.
Alternatively, there might be any function to create user defined objects that can be mapped to web objects?
Or something else I can’t think of?
Any solution! But I Need It!

#97 bostonqa on 12.17.07 at 14:12

Hi Ankur
Great Blog.Great job done!
I have worked on QTP 8.2 a year ago.Now I want to certify in QTP.I am not sure if HP has any certification programme on QTP. Any suggestion?

#98 Ankur on 12.18.07 at 05:20

@ Bostonqa:

Please refer the link alongside under heading HP related links. Dont click the link just copy and paste the link in your browser.

#99 Shekhar on 12.19.07 at 02:55

Hi,
I am currently using QTP 9.1 trial version with concurrent lisence. I have to access an application (based of SOA architecture)through CITRIX metaframe presentation server. I have installed QTP 9.1 locally on my machine and am facing the problem in object recognition. I have gone through the discussion earlier which says that you need to have tool and application in the same server but then as because the application is on a different server and installaing QTP in that server is not possible due to restrictions. Is there any other way by which it can be done. Use of addins or some programming. Please suggest.

#100 Anonymous on 12.21.07 at 15:16

Hi – This is really wonderful site. I have a question regarding whether QTP can be used for automate Microsost Softgrid applictaton .

Looks like its not recognizing the objects. Could you please let me know is there any way we can automate Softgrid?

Much Appreciated your help on this.

#101 Himanshu on 12.27.07 at 23:05

Hi
can anybody help me about “how i get the licence for QTP and what is the cost and renewal fee”
another thing is that is it good to start in the middle of the project having so many requirement complexity”

Himanshu

#102 JackieDoc on 01.08.08 at 05:33

Hi Ankur & Other Readers of this Blog,

I’m the doc manager for the QuickTest documentation team.
I was happy to see Ankur’s quote:
“Remember – the best place to find information is documentation provided with QTP itself. That is the most exhaustive material available for QTP.” :-)

I would welcome additional feedback (both positive & constructive) on our content, navigational structure, or other features. I also welcome suggestions for good use case scenarios or other improvements that we could add to our docs.

The best place to send this feedback is: sw-doc@hp.com.
Thanks!

- Jackie

#103 Ankur on 01.10.08 at 22:45

@ JackieDock:

You can surely look forward for suggestions from this blog readers.

By the Way, I liked the way you rhymed, he best place to send this feedback is: sw-doc@hp.com :)

#104 Sachin Chavan on 02.28.08 at 17:44

Hi Ankur,
Its fanstic blog for which was looking for a while.

I would like to request to post session on Exception handling through functions in QTP just like you have posted for in parts for excel and vb scripts.

Regards,
Sachin

#105 Ankur on 02.28.08 at 22:29

@ Sachin: ya this is one of the posts in pipeline…you will see it soon

#106 Neera on 03.17.08 at 02:05

Hi ankur,
I work in Oracle and presently im doing manual testing.I wanted to know..is there any way to automate excel using QTP.Actually in my project we use a hosted application and in that excel is a non-browser client and QTP automates only browser clients..so if u could tell me any other way to automate the excel sheet.

#107 Anonymous on 03.27.08 at 14:31

Ankur,

would you please post or email me the release date for QTP 8.0 , QTP 8.2 , QTP 9.0 and QTP 9.2.
my email is my18friends@gmail.com

#108 Anonymous on 03.31.08 at 03:45

Can you please tell me what are the minimum requirements to attain QTP certification??

#109 V on 04.21.08 at 14:33

Hi,
I am working in testing for around 8 years recently spend a year in working with QTP…

would be intrested to know the Path for QTP certification….
Would also be intrested to refer a good training / Guide… to achive certification…

Please help.

Regards
V Tandon

#110 divya on 04.21.08 at 21:05

Can anyone help me in solving a query of mine,does
QTP supports works on Linux operating System

#111 makacruz on 04.23.08 at 09:28

Hello, do you know if there is a sample basic qtp keyword driven framework? Is there is, can you point me to where i can get a copy.

#112 Damayanti on 04.26.08 at 01:22

Hi Ankur,
please tell me about output parameter with an example. how do i pass one parameter from one test to another test .
thanks
Damayanti

#113 Anonymous on 04.30.08 at 05:48

Hi Divya QTP does not supports Linux/Unix

but X-Runner Supports Linux

#114 Anonymous on 04.30.08 at 14:37

Hi Ankur,
I am working as test automation lead. It’s nice to see your blog. For the last few weeks i am searching for QTP certification exam dates and appropriate centers where i can write exams, but i have not got any clue even after googling. Will you please help in knowing the Exam Fees for QTP certification. I heard it is about 2500 dollars, but not sure, i doubt. Will you please email me at akilram_79@yahooo.com or you can even give your suggestions here in this site.

thanks
Akilram

#115 anne on 05.29.08 at 05:03

Hi,
When i do a right click on the desktop and an menu gets poped up. So, my question how to record it.

Thanks & Regards
Anil Panama

#116 Anonymous on 05.30.08 at 23:02

Hi
I am new to this QTP but iam very much intersted in learning this will u help me.
Can u help me form where i should start. Can u provide those materials to me
thanks

#117 Shravani on 06.03.08 at 00:05

Hi Ankur,

I know some basics in QTP and VB Script but that is not enough to do automation. I want to become perfect in QTP and VB Script. But i dont have that much of knowledge. please help me to become a perfect automation test engineer. Give me suggestions how to reach my goals and give me support.

Thanks and Regards,
Shravani
Hyderabad

#118 Asmita on 06.18.08 at 02:14

Hi,

I m working on a e-learning software in Java. It is a GUI with audio, video functionality. I wanted to automate the testing process of my product. Can I use QTP to test such product?

Thanks and Regards,
Asmita
Mumbai

#119 Roops on 06.30.08 at 01:39

Hi Ankur,
This is a nice blog for beginers and also professionals.I am planning for QTP Certification.Can you please let me know the details like whats the cost for this certification and remaining things are already available in this blog.I could not find this in HP site as the info is US-based.

Thanks in Advance
Roopa

#120 Anonymous on 07.14.08 at 10:42

can anyone let me know from where can ii do QTP certification,how much it costs n materialrequired to study?????????????

#121 dil on 09.18.08 at 04:44

Hi I am a total novice and have just installed QTP. I am trying to record my first session but its failing. Im trying to do the mercury Tours tutorial. I have put the URL correctly into the record and run settingsand a browser window opens opening the website but i get an error – “The Browser Application can’t be launched. Possibly the URL is wrong” even though a IE has opened correctly.

#122 Aparna on 10.09.08 at 01:22

Hi Ankur,
I am regular visitor of your blog, and I really got benefit.
I would like to ask you one question
Is it possible to add paramaeters in analog recorded script??

#123 Test on 10.09.08 at 22:01

Can u send the link to download the QTP-SAP Addin

#124 kashif on 10.13.08 at 08:27

hey ankur..kashif here…remember accenture testing…nice to see you man and u doing a real great job…i found u searching for one of my qtp solution…let me know your email id..mine is mukhtar_kashif@yahoo.co.in

#125 Suneet on 10.15.08 at 06:13

Anyone have come across Syncfusion grids in .NET application??

Hi Ankur,
We are trying to automate a .NET application, where in they have used a thirdparty grid from SyncFusion.
We just wanted to know have anybody come across syncfusion’s grid.
If so do post your comments and experiences.

#126 Anonymous on 10.23.08 at 04:33

Hi friends i have a doubt.
Can we get the QTP scripts in the form of exe or some dll. so that the code will be hiden and secure.

#127 Anonymous on 11.07.08 at 14:47

I have installed QTP. How do we test a SAP business process like Order to Cash. What is the connectivity….Any help would be appreciated. Thanks

#128 Rashmi on 11.17.08 at 00:16

Hi Ankur:
I am totally new to this blog. I found it very interesting n more informative. You are doing a great job. I need some information if you or any one can help me….
I need to do QTP certification. Can you suggest that the workshops conducted by different institutes are good or not?
For example: HTS and CresTech Software Systems Pvt. Ltd. they conduct the QTP workshops and certification programs.
Can you suggest one should go for this certification and workshops?
Please reply, I need it urgently.
Thanks in advance.
Rashmi
or please reach me at
rashmi.rajpal@gmail.com

#129 Sasmita on 11.20.08 at 07:17

Hi am new learner in QTP , i am working on qtp tool and hence stuck in midway.

I saw ur blog found it very helpful and wish will definitely get a way out of my problem soon from u Ankur .

Here link where u will find forum posted by me, kindly so through it and suggest me to come out of this hurddle

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1227187649391+28353475&threadId=1287052

#130 Anonymous on 12.02.08 at 03:49

Hi Ankur,

i am facing one problem in my application
there is one Link(View) when i click on View link then i is opening a new window and then file download dialog but when i am running this script then the download dialog box not displaying so what can i do for this

Please answer

#131 Anonymous on 12.05.08 at 03:56

hi ankur,

While running test batch runner, I am getting only last test results. If I want to get all the tests results what would i do?

#132 Anonymous on 12.09.08 at 08:36

Hi Ankur,
i will like to become a software tester.i should i go about it and what is take .you can email on kollsherif@hotmail.com please

#133 priscilla on 12.09.08 at 10:03

Hi Ankur,
I didn’t know where to post my question, but I need an answer at the earliest.
Hoping you are a right person to ask.
I’m totally new to automation and QTP.
In my organisation, they would like to know whether QTP can handle something they want and if so then they will buy and use QTP for it.
They just want me to find out whether QTP can take user id/ pwd info from a file / place and try to enter into different screens /applications , log into them using the info and save screen shots of the web page logged in(actually we need to find out whether it can save multiple page application i.e., with scroll)and repeat it for ‘n’ number of different applications.
Can we do it with QTP?
Please reply when you get a chance to priscillamagdalin@gmail.com

#134 amrit d. on 12.10.08 at 01:13

Hi,Ankur i really happy to see this blog about QTP I’m visiting this first time it just wondurful.So many Queries and that much of you.I am beginner about QTP n following ur “step by step guide…..”.I’m trying to learn it out,but the intention to write my comment is just to thank you for helping the people,I really inspired by u.If any suggestion for me pls post.

#135 Anonymous on 12.11.08 at 19:34

Hi Ankur,

I just came across your website today.Good job Ankur and keep up the good work.
I have been attending interviews for 2+ exp in Testing(includes 1 year-QTP). I’m quite good in QTP concepts. The problem i’m facing is that they are giving me some scenarios and asking me to write scripts on them or atleast explain them how my approach is going to be programitacally (The scenarios were mainly mails related or calendar).I have been practising on it. I have seen lots of QTP interview qsns on various websites but never come across the scenarios that i was refering to.It would be of great help if you could give me such scenarios that you know or kind of those normally asked in interviews. This will help me to prepare myself better.

regards,
Vishal

#136 Anonymous on 12.15.08 at 20:32

Hi Ankur

I felt the blogsite really good.

I wanted some information about working with QTP on SyncFusion Essential Studio. Could you kindly help me with the same.

Thanks and regards
Krishna

#137 Fandi Yacine on 12.17.08 at 02:29

Hi All !
Thanks for this fantastic blog !
I have just got the trial version of QTP running on my machine and start already going through the handbook .
In fact i would like to have your opinion regarding the following :
QTP is of the type of record and playback
which i think its not nice at all ,if the future system will be build under
Agile / scrum methodology meaning that the automated tester using it
for example has to wait till “premature” system is running then he can start testing : in other words the automated tester relies heavily on the output of programmers ( Quality Assurance is not done correctly if you imagine that the requirement was not implemented correctly hence the automated tester wont
see it.( might require Manual testing before starting the automation one )

In the other hand httpunit gives the opportunity to the
automated tester to build his test cases at early stage based on the
requirement rather then on the system (even before implementation ).
Here it guide the developer to test his work before committing his changes .
I guess as QA person the job will be done better with this kind of software.

With record and playback its more easy doesnt require to learn coding

I would like to have your opinions if i see things with right glasses

Thanks Again
yacine

#138 Ankur on 12.17.08 at 07:51

Nice question Yacine. We have something called as “Business Process Testing” build on top of QTP and comes with Quality Center as an add-on. This should address your concern.

For further questions, I request you and everybody else to use QTP Forums [http://www.learnqtp.com/forums/]

#139 Anonymous on 12.21.08 at 22:36

Hi Ankur,
This site is really helpfull. Thanks a lot for this.

-Leena

#140 Anonymous on 12.23.08 at 02:19

Hi Ankur,

it is really helpful for me.Now I want to study qtp. thanks a lot.

-candy
-My email:zsp_123zhang@163.com

#141 damodara on 12.24.08 at 06:24

hi ankur
veygood

#142 kaushik on 12.31.08 at 00:22

Good blog.
In fact this sites Google rating is good too. wish you post more articles here…:)

#143 bharat on 01.03.09 at 05:39

Hy Ankur,

This is the best place to keep update ourselves.

Good Blog Ankur

Thanks
Bharat

#144 suvendu on 01.10.09 at 10:29

how can i capture data from an image in QTP?

#145 nishanth930 on 01.14.09 at 10:18

hey.,
i’ve been working on Clarify thick client. i’m on testing part of it. we get requirements and have deployment almost every month, and before the changes go live we need to do the regression testing, which is really a pain and takes nearly a week to complete.

can you please suggest any tools to automate testing of thick client applications. does QTP facilitate the same.??
if yes can you give some directions on how to.

any response will be highly appreciated.

thanks in advance.

#146 deepa on 01.15.09 at 20:10

Hi Ankur,
I have done a course in QTP and wanna to take up QTP certification, could you help me out for the same, like could you provide details of hw to register and wat kind of preparation has to be done..

Thnx in Adv!
Deepa

#147 ELANGOVAN on 01.18.09 at 21:22

Hai Ankur,

Its a fine Blog about QTP tks lot man…

#148 Fastrackqa on 01.19.09 at 11:04

Hi Ankur,
your is a very helpful blog, thanks a lot. I have a question, that How can I write something to test results. For example if I trap an error message with if statement, Let say I am expecting it to happen, and it happened, how would write to test results that this happened.

#149 Anonymous on 01.23.09 at 04:39

hi anukar,

You done great work,can you include one topic for different framework and its performance.

Regards
Sreelesh kunnath

#150 Anonymous on 01.28.09 at 15:46

Hi, Ankur, Its great to be here with u guys! This forum is very much of value to starters and professionals. Keep it going! Good work man..

#151 Yagnesh on 01.30.09 at 07:20

hi Ankur,

Thanks very much for the blog.
It provides good information regd QTP & very helpfull

#152 bala on 01.30.09 at 19:14

Hi,
I’m using Microsoft Vista Home Premium. Whenever i record the web application, i’m getting the following error, “The Browser application can’t launched. Possibly the URL is wrong.” I’ve set all parameters correct. Any one can suggest the solution for this. Thanks in advance!

Bala.

#153 Toyer on 02.02.09 at 06:39

Hi Ankur

Hope u doin well
I need to know whether it is possible to run 3 different QTP VM Sessions with 1 Seat licence (on the host PC)?

#154 Anonymous on 02.03.09 at 06:49

HI ANKUR, I HAVE A QUESTION,To learn QTP is necesary to know any programming language? what do you recommend me?

email: aarmelendez@yahoo.com.mx

#155 Anonymous on 02.05.09 at 08:56

Hi,

I am a QTP professional.I have gone through so many blogs and articles on QTP and I can say this blog is the best one i have come across.Topics are written in such a simple way there will no second thought to understand them.From today onwards i’ll regularly visit this Blog.This Blog is so much informative i believe i don’t have to go anywhere else.

Thanks.

#156 Roshan on 03.02.09 at 08:13

Nice blog. I specially like the Interview with QTP experts section a lot!..Keep up the good work Ankur.

#157 Ankur on 03.02.09 at 09:54

@Anon, Roshan: Thanks! :)

#158 rooney on 03.29.09 at 08:56

Hi would like to know QTP versions released dates of all versions.

#159 Risk Analysis on 04.13.09 at 00:53

Evrything is good but one thing how,when we start automation,

1)My name is sushant sinha working with v-angelz technologies working as software testing engineer.

2)What is diff between test scripts & test case,I know what is test case…but if you say automate these test cases so unable to do this,
So how is it possible to enhance my skills,because after namual testing u have to be in automation because there is no more growth,& every person needs growth…So if you feel that you HELP me i will be very thankful to you guys…

#160 charles on 04.16.09 at 11:19

hi ankur,

thanks for this site and i need it very much for enhancing my knowledge in qtp.

#161 shanti on 04.19.09 at 20:57

thanks for the nice blog has i have lots of doubts on qtp, i want to go through this blog for reference.

#162 Anonymous on 04.26.09 at 08:12

Dear Mr. Ankur Jain,

I am KoolJ from Vietnam, i am a tester for FPT software JSC, a big software outsourcing company in Vietnam.

I would like you to spend a little of your busy time to read and determine this kind of IP (Intelligent Proposal) that related to HP-QuickTest Professional.

The story is: we had a team who did a project with customer and use QTP, they created a framework to make work more efficiently.

So, i really need your help, in the view of an expert to look through this document, and determine which in this work would be defined as IP.

Why would i contact you to do this, because we really need some outside experts to qualify the work.

So i thank you so much and i really appreciate you if you leave some comment for this work.

The link to get the framework here: http://cid-3925eb2256203dc7.skydrive.live.com/self.aspx/Public/QTP/IP%20HFS%20Automation%20Test.rar

I am sorry if this disturbing you and your time.

I am looking forward to hearing from you.

KoolJ.

#163 Ankur on 04.27.09 at 00:01

@KoolJ:

Please post your queries on http://www.learnqtp.com/forums/

#164 Anonymous on 04.27.09 at 09:19

May be the word excellent is not sufficient to praise this blog.
Really its great Ankur that u r responding to our queries and balancing ur career.
I am new to this blog.
I have a query infact many questions in my mind.

1. If a browser contains 5 pages then how QTP identifies and differentiate those pages?

Thanks,
Mohana

#165 ashutosh d on 04.28.09 at 01:43

Really Great Work Dude……..!

#166 Kari on 04.28.09 at 04:17

Hi Ankur,

I have been experiencing the same application crash issue across multiple machines as was mentioned in post “11:13 AM, November 27, 2007.” The only difference is that we are using a RMS instead of PeopleSoft. Do you recall how we can resolve this issue? Any advice would be greatly appreciated.

Thanks, Kari

#167 Ankur on 04.28.09 at 05:46

@Kari: By any chance did you see the post on Visual C++ errors else post your query in QTP Forums

#168 Kari on 04.28.09 at 07:15

Hi Ankur,
I read the Visual C++ errors post, but it is not the same issue, so I have posted my query in QTP Forums.
Thanks, Kari

#169 Anonymous on 04.30.09 at 23:47

Hi Ankur,

I have created some tests and configured them to a particular URL.

I now need to change the URL of these tests as I have deployed the same application else where. Can you please let me knoe the steps for the same.

Thanks in advance,
~ Dexter

#170 Munish Sood on 05.03.09 at 23:43

Hi Ankur

Please tell me what are the different problems can I face while using QTP via VPN.

The Licence Server (Site Licence) is installed in US and I have to use it from India via VPN.

Can you please suggest me some better ideas so that I can convience the client that if he can purchase Concurrent User Licence.

Or Please suggest some good ideas so that I can convience the client.

Thanks & Regards
Munish Sood

#171 Ankur on 05.04.09 at 00:38

Munish,

So you have to work through remote desktop connection.

Though people do rdc recording all the time without any problems but answering your question, this is what I can think off the top of my head now…

1) You have to be always dependent on the remote desktop availability.

2) System will run sluggish vis-a-vis if you were recording the same scripts on your system

3) Having concurrent license mean anyone in your team would be able to access the license.

Please use QTP Forums for further questions.

Thanks!

#172 Anonymous on 05.05.09 at 23:10

Hi, Ankur
I am basically from Electronics branch i have 6 months exp in manual testing .
My company wants me to shift to automation, is it mandatory for me to learn programming concepts to start automation using QTP?I am very new to QTP.
PLZ Suggest me the best way to start my automation testing career.
thank u

#173 praful on 05.14.09 at 11:13

Hey Anonymous,
Answering the query as it’s obvious one :) .
Well you can do very basic stuff without knowing programming and going through QTP tutorial in detail but ‘decriptive’ programming requires knowledge on VBScript, also connecting to any external API it will be a lot beneficial. Suggest you to start learning the technical side as well, starting point will be VB script.

#174 Anonymous on 05.20.09 at 21:42

Hi Ankur,

I am Ashwin. I need to open a email from the Outlook 2K3/2K7 Inbox using subject line.

Please help me in this regard.

#175 Anonymous on 05.26.09 at 21:03

Hi… Ankur

This is Chandrakant here

Thanks for initiating on QTP
I found here lots of answers of query ….. I am realy thanks u

#176 Anonymous on 05.29.09 at 09:51

Not many people share there knowledge like you Ankur.
Thanks a lot and hope this will be helpful for me.

#177 sanjaya on 06.08.09 at 05:16

Hello Ankur

A very good document for those who wants build their career in QTP.
I want to appear for the QTP 9.5 & QC 9.2 certification.

Please let me know what are the prometric centers where i can appear it(If you have any links avalable. let me know.)

Aso want to know what are the study materials that we need to prepare for it.

Thanks a lot

#178 Sushant Sinha on 06.09.09 at 22:15

Dear Ankur,
My name is sushant sinha,since 2.5 years i am in manual testing,Procedure Of testing in my org is just put a mail like u have to chk so & so website after hit & try sending report to development team,There is no prcess for writing test cases,i know the procedure but if you are owner of the company u need testing like this,

My question is i don’t have any programming background,So i want to learn QTP so can u please assist or give me the way where i can start QTP,
In my laptop os is vista in vista i am unable to install vista,is there any solution,please help me,I am very thankful to you

#179 durgesh on 06.18.09 at 01:23

hi ankur,

you have done a wonderfull job by initiating this blog.Hopefully you should be able to solve my problem related to comparing two csv files.

I want to compare two csv files row by row and then if the strings mismatch then i want to capture the mismatched data into a third file .Is it possible ?

#180 Gleyson on 06.22.09 at 12:30

Hello Ankur.

I work with using winrunner automation of Siebe, now I begin to automate the Siebel 8 using QTP, gostari to know if you can tell me where is the add in Siebel 8.0 and I download it, because I do not see.

already thanks

#181 suki on 06.23.09 at 00:43

Hey Ankur,
Why are there no posts on QTP with .net addin.

#182 Gurmeet on 06.23.09 at 02:28

Hi Ankur,
Presently I am working on RFT and want to learn QTP so as to work on that in my project.
So could you please suggest me any material or book so that I can have good knoWledge of QTP.

#183 Basvaraj on 06.24.09 at 10:48

Hey Ankur,

Great Job..

I need a help on QTP. Could you please tell me, can we call a webservice in the QTP Script? If so, what are the steps? Please reply with some sample code, if possible.

Thanks in advance.

#184 Saravanan on 07.03.09 at 01:29

Hi,
I need to verify my report, report are in PDF format.
Could you please let me know how to verify it.
In PDF file, I need to find for all my labels and values.
Could please help.

Thanks
Saravanan

#185 Narasimha Reddy on 07.03.09 at 07:14

Hello Anukur you are giving excelant ans for all job seeker’s and all real time emp

Regards,
Narasimha Reddy

#186 santo on 07.05.09 at 21:16

hi i want to know why we are not able to install QTP after the trial version has expired. How they manage to do this?

#187 Munish Sood on 07.07.09 at 21:27

Hi
I am working on QTP Automation Tools. I am facing some problems as when I am executing the scripts in Test Director.

1. How to Run QTP Scripts with Reusable Actions in Test Director.
2. When I run the Scripts in TD then it is picking up the 2nd script first and then 3rd. It is not picking the 1st Scripts.

Please help.

Thanks

#188 manish on 07.16.09 at 00:23

Hi Ankur
I want some good literature on QTP, please help me
provide me somelinks and from where i download QTP

MAnish

#189 suresh on 07.16.09 at 01:01

nice to c such a helpful material

#190 Smita on 07.16.09 at 09:54

Hi Santo,

You need to give license key against your machine locking code in order to make your QTP license permanent.This you will get from HP People.

#191 Anubhav on 07.24.09 at 01:15

Hi
I m new to QTP. can u guide me where to start.

#192 Lakshmi on 08.03.09 at 10:50

Ankur,

I am working on a Flex Application and sometimes QTP is not able to record anything. I was able to record on the same application earlier. I have Flex3 Add-In Installed in my machine.

Do we need to add automation components to the build while deployment in order to make QTP recognize Flex components?

Great Job. Keep it up. Your site is very useful.

-Lakshmi

#193 Kavitha on 08.04.09 at 00:31

One quick question – is QTP compatible with IBM small talk?

#194 saroj on 08.04.09 at 10:23

Hi Ankur,

Its great to have an important site like this. I saw a lot of useful informations and got some of my problem solved reading the blogs and came to know a lot of new things.

This is a great initiative.

#195 asmita on 08.06.09 at 22:38

Hi Ankur,

It’s a 2 good blog & really helpful as well..
U hv shared ur knowledge in such a wonderful way to unknown friends.. :)

#196 Tejas on 08.13.09 at 17:30

Hi Ankur,
I am new to QTP and trying to learn using mercury test web application. here I would like to verify flight details on the flight confirmation page againt the details (Departing city, Arriving city, Date and time etc) entered in the previous pages
Can you provide guide line how can I achieve ?

#197 Alok on 08.14.09 at 12:53

Hi Ankur,
Thanks a lots first for Such nice blog.
I am a regular reader of this blog.I think if you can add more about satnd alone application(e.g vb application) it will be more helpfull
Regards
Alok

#198 Sirisha on 08.19.09 at 10:02

Hi Ankur,

I am really appreciating you for your valuable information. I am learning Mercury tools from your blog. Loadrunner videos is very helpful.

Thank You Very Much

Sirisha Yarlagadda

#199 TechieDesi Community Management on 08.25.09 at 06:19

Hi Ankur,

We would like to invite you to a community of techies, http://www.techiedesi.com.
You are one among the few Techie bloggers we have hand picked to send a special invitation (i.e., this is not an automated mail). Sorry for sending this as a comment (spam?!), we could not get hold of your valid email address.

At TechieDesi Community, we are trying to build the largest community of techies, with the shortest turn around time to get the questions answered. It’s a community of bloggers, geeks, solution providers and all different people who have one thing in common, the interest towards technology.

If you would like to know more about the community, who built it and what are our visions, please follow the links below:
http://www.techiedesi.com/about

As of today, we have more than 700 techies in the community with a few active bloggers and the number is increasing as we spread the word.

We look forward to see you in the community. Please do spread the word to your fellow techies.

Thanks,
TechieDesi Community Management

#200 Anu on 08.27.09 at 21:14

Hi Ankur,

I am a beginner in the QTP .I wanna know more about the recovery scenario in QTP. Can u plz guide me for knw more about recovery scenario

#201 Ramya on 08.31.09 at 14:07

How to use QTP to test SOLR indexing data

#202 Amélie on 09.01.09 at 07:06

Well, as a beginner in QTP and mostly in testing, I’m glad to found this blog, very professionnal and so helping. Thanks a lot Ankur and have a good continuation
:D
(And sorry,coz my english is not flawless)

#203 manu on 09.01.09 at 22:54

Hi ankur,

Please help me in get integration of QTP and QC.Also send me links to download QTp and QC.

#204 subhra on 09.04.09 at 06:47

Hi ,
I am new to QTP ,I want to learn and use it .Kindly guide me .

As i want to know how to use it,what is the purpose.

Thanks
Subhra

#205 Girish on 09.10.09 at 06:48

Can any one send a pdf file of QTP scripting to my mail ID?
mail Id-girishmshr7@gmail.com

Thank you

#206 shweta on 09.13.09 at 09:37

Hello,
I want to prepare for QTP certification.From where can i prepare and how much is certification helpful??

#207 prince sharma on 09.15.09 at 01:42

Hi Ankur,
I just browsed this site and found it quite suited for me to start learning automation on QTP. nice blog.

#208 Ravi on 09.15.09 at 15:56

Hello,
I want to prepare for QTP certification.From where can i prepare and how much is certification helpful??

#209 Ravi on 09.15.09 at 15:58

I have done the software testing course from ATS infotech. kindely help me prepration criteria and interview question and answer.

#210 IVR testing using QTP on 09.21.09 at 07:35

Hi Ankur,

Do we have any information how to initiate IVR testing using QTP?

Thanks
Shekhar

#211 hitesh shah on 09.22.09 at 03:36

Hi Ankur,

Good work on initiating this blog. I’m going to be a regular here , we can test Adobe Flex application with QTP 9.2 .
Please reply me soon
Thanks

#212 hitesh shah on 09.23.09 at 04:23

Hi Ankur
I have one scenario regarding to Date –
Scenario – Flight Reservation date should not grater then current date ? So how we test this scenario . please write me script.
Thanks

#213 Rupali Barkade on 09.24.09 at 04:39

QTP Ver. 9.2, Open office, Web Application testing.

I am trying to create Excel.Application object. When the script is run, it throws an error.

error: – ActiveX component can’t create object: “Excel.application”.

Set excel_obj=CreteObject(“Excel.Application”)

It is not getting for Ms office but Now I m excute that script for openoffice.
Now I m getting this error.
Please, help me for that. Saying Thanks in advance.

#214 saswati on 09.24.09 at 08:24

Hi,
I wanted to know if i want to attach screen shots for each pass test in QC what would be the possible ways i can go with.

I m begineer in QTP

#215 Manu on 09.29.09 at 22:18

Hello,
I want to capture few elements after scrolling down the slider.Suppose Email i have to check.Can you tell me how to write scroll function to check particular Emails.

#216 Tanvi on 10.04.09 at 04:12

Hey.Ankur…

I m very much new in testing and u can’t imagine how relaxed i m while reading ur blog, its lyk a continuous student teacher interaction….!!!

Thanx dear..gr8 work.

#217 Sureshk on 10.12.09 at 23:32

Hi,

Can I get the code to read the data from Manual test case which is there in test plan module in Qc

#218 ksv on 10.13.09 at 10:40

hi ankur,
Its very great to see the blog on QTP.

Regards,
ksv

#219 ksv on 10.13.09 at 10:41

Could you please provide me some info on how to attend interviews for QTP .

#220 Can you pls provide infromation on windows api + vbscript? on 10.15.09 at 23:25

I want to click on one button on windows application that don’t have any shortcut key and can not reach using shell script.
Pls share the info. if U have anything.

#221 Prodyumna on 10.21.09 at 16:46

Hi Ankur
I have installed the feature pack Web2.0 along with the QTP 10.0. But still I’m not able to detect the silverlight object. Could you please suggest if there is any other way we can detect silverlight object.

Thanks in advance,
Prodyumna

#222 santhi on 10.31.09 at 14:20

hi ankur,
i am planning to write qtp certification and my question is we only chose the version of qtp for exam and/or are they conduct with latest version(qtp10)?

#223 Saswati on 10.31.09 at 20:41

This is really a nice site for brain stroming….
:)

#224 Prodyumna on 11.02.09 at 11:53

Hi Ankur
I have installed the feature pack Web2.0 along with the QTP 10.0. But still I’m not able to detect the silverlight object. Could you please suggest if there is any other way we can detect silverlight object.

Thanks in advance,
Prodyumna

#225 Ashok on 11.03.09 at 18:23

good information

#226 Mohan on 11.03.09 at 20:09

i am new to qtp, how can i start
please give me Suggestion

#227 Prashant on 11.04.09 at 14:14

Where can i get details about Web service plug in QTP

#228 Aditi on 11.04.09 at 15:56

hi, dis is really very gud, it really helps me at my workplace.

#229 Srini on 11.04.09 at 17:13

Hi Ankur,
I really appreciate it.

#230 Srini on 11.04.09 at 17:16

I am working as Test Engineer and we using Flex Application Software. Can u tell how to get the Object Property values and method( Object Repository in Scripting) am new to QTP

Pls

#231 Prashant on 11.05.09 at 11:54

Loaded WSDL in web service wizard, when i tried to executed its throwing error message “wrong client ID Entered” Note you in order to retrieve data in XML we are passing Client ID and Content ID , When i did Manually its working as expected. could any has solution for this. Quick response highly appreciated,

-Prashant
AIG

#232 prakash on 11.06.09 at 11:29

good site.It is useful for beginners in qtp.

#233 Geeta on 11.09.09 at 19:53

Hi Ankur,

I am planning to write qtp certification and need your guidance for following:
-> First of all i have taken the basic training from an institue for QTP 9.2 and now want to appear for the exam on Nov 15, Is this possible, i mean is this a feasible time period for preparation.
-> Can we only choose the version of qtp for exam and/or are they conduct with latest version(qtp10)?
-> I request you to provide your email id, if you can, just for more guidance on QTP.

And lastly i really appreciate the effort your r putting in this blog, its really great.

#234 Deepthi on 11.12.09 at 01:38

How can i associate objectrepsoitories duting runtime using “objectrepositoryutil ”

Below code is not working

sRepository = “C:\Users\Rishik\Documents\Mercury Interactive\QuickTest Professional\Tests\rep1.tsr”
Set sRepositoryFrom = CreateObject (“Mercury.ObjectRepositoryUtil”)
sRepositoryFrom.Load sRepository
sRepositoryFrom.save

#235 hersai on 11.19.09 at 07:08

Hi Ankur! first of all thank you and congratulations for your work. I have a question for you, do you post information about Performance testing here in your site? or could you suggest where I can find something like this blog? thanks in advanced

#236 Ankur on 11.19.09 at 13:51

Thanks hersai for the nice words.

You can refer this weblog on Performance Testing

#237 Radha on 11.19.09 at 16:25

Hi Ankur,
I have done certification on QTP 9.2 but i want to take certification on QC 9.0…
Pls provide me some questions & guidence for this examination.
Thanks,
Radha Tripathi

#238 usha on 11.24.09 at 12:30

Hi Ankur,
Iam a beginner for QTP can you please suggest me from where to start and how to be expertise in the tool.
As far as Scripting language,Iam familiar with Vb script.
And also iam new to testing I have 1.5 yrs of experience in manual testing,so i need information and guidelines for testing certifications.Can you help on this
Appreciate your help.

#239 Chaitanya Karri on 12.03.09 at 23:52

Hi Ankur,

I am new to QTP. This blog is so useful for freshers like me. Right now i am working on an web based applications in which i am not able to capture the message in a popup.

Its an SAP CRM application in which when placed an order and save it a popup appears. When click on it then only we can see the Order No.

I am trying to capture the Sales Order No. So i click on the information to capture but still not able to capture the test message

when i did recording qtp generated the following code:

Browser(“Logon – SAP Web Application”).Page(“Interaction Center – [Identify”).Frame(“WorkAreaFrame1″).Link(“Save”).Click
Browser(“Logon – SAP Web Application”).Page(“Interaction Center – [Identify”).Frame(“WorkAreaFrame1″).WebElement(“WebElement”).Click
Browser(“Logon – SAP Web Application”).Page(“Interaction Center – [Identify”).Frame(“WorkAreaFrame1″).Image(“Information”).Click
Browser(“Logon – SAP Web Application”).Page(“Interaction Center – [Identify”).Frame(“HeaderFrame”).Link(“End”).Click

Please help me with this.

Thank you,
Chaitanya Karri

#240 Meghana on 12.04.09 at 07:17

Hi Ankur,
I have downloaded trial version of QTP 10. I was just going through the tutorial , as I was using Navigate and learn button and focuses on any browser for the title page, Learn button is not enabled. Unless Learn button is enabled, I cannot store the object properties in the object repository. Please advice.

#241 Arun on 12.04.09 at 19:32

Hi Ankur,

I need a help from you to create a graph in excel using vb script.

Thanks,
Arun

#242 Naveen on 12.07.09 at 22:18

Hi Ankur,

Its a great blog and this type of effort should be accounted.

Thanks
Naveen

#243 prashant on 12.08.09 at 12:53

Hi Ankur

Is there any way where I can change the setting in QTP in order to create actual xml in utf 8

Or is there any way where I can load expected xml utf 16
Please Revert back ASAP,
-Prashant

#244 Naveen on 12.08.09 at 16:37

Hi Ankur,

Is there any way to find out the total number of rows on Oracle Table.

Thanks
Naveen

#245 reena on 12.09.09 at 15:05

Hi ankur

Pls post Vb Scripting material for beginners.

#246 prashant on 12.09.09 at 18:40

I am comparing two xml based on Strings
I have an issue could you let me know if u can
1. Loading expected XML – Loads only
2. Getting Actual XML – QTP Creates and Stores
3. Comparing two XML – Not able to compare because of utf format
Is there any way where I can change the setting in QTP9.0 in order to create actual xml in utf 8
Or is there any way where I can load expected xml utf 16
Please let me know ASAP.

Prashant

Code i Used

‘ LinkedImageServiceServicev2 Web service object steps-Staging
Set XMLObj = XMLUtil.CreateXML()
Dim strExpected
Dim strActual

‘Expected XML Response

The error message i am getting is “The XML source is not well formed: There is no Unicode byte order mark. Cannot switch to Unicode.
Parameter name: XML source”

XMLObj.LoadFile(“\\10.32.16.35\eBusiness\QUALITY\ServiceTest_Scripts\eBP_WS_Framework\C5P2\Webservices v2\R2.5_Webservices\LinkedImageWS_Axis\LINKEDIMAGE_OUTPUT_backup.XML”)
strExpected = XMLObj.ToString

‘Actual XML Response

Set getLinkedImages = WebService(“LinkedImageServiceServicev2″).getLinkedImages(XMLWarehouse(“WSRequest”))
strActual= getLinkedImages.ToString

‘Compare Actual and Expected XML Strings

If(StrComp(Trim(strExpected),Trim(strActual),1) =0) Then
msgbox “expected and actual are equal”
Else
msgbox “expected and actual are not equal”
End if

Call WriteAcutal(strActual)

Function WriteAcutal(byval strActual)
strFile = “Actual.xml”
‘ Create the File System Object
Set objFSO1 = CreateObject(“Scripting.FileSystemObject”)
strDirectory = “C:\Documents and Settings\Prashant.Jayateerth\Desktop\”

If objFSO1.FileExists(strDirectory & strFile) Then
Set objFolder = objFSO1.GetFolder(strDirectory)
Else
Set objFile = objFSO1.CreateTextFile(strDirectory & strFile)
Msgbox “Just created ” & strDirectory & strFile
End If

set objFile = nothing
set objFolder = nothing

‘ OpenTextFile Method needs a Const value
‘ ForAppending = 8 ForReading = 1, ForWriting = 2
Const ForAppending = 2
Set objTextFile = objFSO1.OpenTextFile(strDirectory & strFile, ForAppending, True)
‘ Writes strText every time you run this VBScript
objTextFile.WriteLine(strActual)
objTextFile.Close

Set objFile = Nothing
Set objFSO1 = Nothing
Set objTextFile = Nothing
End Function

#247 Deep on 12.09.09 at 20:09

Hi,

This is in reply to above post/commet given by prashant for xml files.

Prashant I see that you are trying to compare entire xml file with some pre-defined xml file.

I would suggest trying to compare individual values of attribute/ element in the xml files instead of comparing the entire xml.

Try this out….

Set xmlDoc = CreateObject(“Msxml2.DOMDocument”)
xmlDoc.Load(filename)

txt1=-xmlDoc.selectSingleNode(“TerminalConfiguration”).attributes.item(2).text

this way i extracted each value of the attribute in xml.

I had xml file with attributes and the above method worked out form me.

#248 prashant on 12.10.09 at 11:52

Hi, Deep
Its throwing me an error “Object doesn’t support this property or method”

#249 Deep on 12.11.09 at 22:52

Hi Prashant,

I’m my above comment,please find the text

” txt1=-xmlDoc.selectSingleNode(”TerminalConfiguration”).attributes.item(2).text ”

Here “TerminalConfiguration” is node in xml sheet. This node has lot of attributes in it. And I needed extract some values. So I used the code posted in the previous comment. It worked in my scenario.

See if you could send a sample of ur XML file. It would be easy to figure out what to do.

#250 prashant on 12.15.09 at 21:43

Hi, Deep
it works for me also thanks man

#251 Xpressmusic on 12.16.09 at 11:34

Hi
I am trying to verify the position of a web button in a page.
I.e. Its alignment (whether in the left or right hand side). When i added the object to the object rep it doesn’t list the X and Y axis. So please let me know any alternate way to verify this test scenario.

Thanks in advance

#252 Nikhil on 12.18.09 at 00:40

Good site
Please keep me updated with new data if come for QTP

#253 Ajit on 12.18.09 at 03:58

This is great blog for QTP learners

#254 Rahul on 12.21.09 at 10:56

presently i am facing problem, while working on Orale6i client sever application ( Oracle GUI Forms)….and i am using QTP 10 with Oracle add ins…………..But QTP is not identlfying AUT as oracle objects…………….please guide me how to overcome this problem

#255 Rohit on 12.23.09 at 00:12

Bhaiya you need to show comments pagewise, showing all comments on the same page is taking a lot of space.

#256 Ankur on 12.23.09 at 21:43

@Rohit: Yeah it can be done through pagination but I think it will be more effort for readers to locate/browse through comments if they have to click several links.

#257 rahul warkhedkar on 12.25.09 at 10:53

hi Ankur…………..

can you please send me your personal email ID……….i am facing problem while working on oracle 6i…….i want your need……………

#258 chaitu on 12.28.09 at 12:31

Hi Ankur..

I thank you first for your excellent work.I feel you have the “QTP bandara in your brain”. ANd i think lot more is there to learn for you in QTP and for us as well from your end. I really appreciate your effort and I feel lot more people should come up like this and should also help creating job opportunities for people in testing.
I thought to put my comment as I visited this blog today and kept a goal like this…
I dont know anythng in automation,will really put hard work from my end and will sure create a blog like this which will help people want to learn tools in testing for those who are not getting opportunities to learn,for those who are not having facilities to learn.

#259 Giri on 12.30.09 at 17:48

Hi Ankur,

I want to learn testing including QTP. However, I do not know anything about testing!!How do I start? Do u offer any courses-on line or ???? Please respond at your earliest. My e- Mail ID is gowind@gmail.com

#260 Phoney on 12.31.09 at 02:23

Hi Ankur,

I need help with Input Box .
When I enter password in Inputox( Wpass = InputBox(“EnterPassword”)) its showing up the “password” instead of “********” ..we need to prompt input box for a password and we need to hide a password while it is being typed.Do you have solution for this ? I googled it I came up with VBScript..Is it possible with InputBox Function..

#261 Ankur on 12.31.09 at 20:43

@chaitu: Thanks. All The Best!
@Phoney: I will make a separate article for your question. Watch out LearnQTP.com next year :)

#262 phoney on 01.02.10 at 11:10

Thanks Ankur Happy New year !! :)

#263 Ankur on 01.04.10 at 21:00

@Phoney : See if this can help you.
You can ask any follow up questions on the QTP Forums

#264 Srinivas M on 01.06.10 at 22:32

Can we able to Run the script in QTP if the system is Locked
is Yes
What will be the Script

#265 Umesh Pandey on 01.08.10 at 12:07

hi ankur ,
first of all i would thanks your all effort in behind the QTP.
I’m B.E computer Engineering. i have done extra courses in testing. I want to learn QTP. Actually QTP is my beginner level. but i want to refresh again. I have expert knowledge in Manual testing. but Every where required QTP.
So could you help me for learning QTP,Please?

#266 Umesh Pandey on 01.08.10 at 12:10

My Email_Id is pandeyumesh_1986@yahoo.co.in

#267 niraj on 01.10.10 at 05:12

hello sir i did msc it from india n also did the software testing course in india now i am living in melbourne and want to know about software testing in a practical way which place shuld i refer

#268 Karan on 01.11.10 at 04:36

Hi…….
Please let me know that How to install 9.0 version QTP software.
I tried to install it but it is giving me the error for add ins that “QTP 9.0 requires Microsoft.Net,Framwork 1.1 currently,require components not installed.”

#269 Karan on 01.11.10 at 05:19

Hi…….
I tried to intall QTP 9.0 version two times but it is only showing me the icon of QTP after full installation.
After installation its giving me the error like “Not able to get temporary License Number.It reqiures Permanant license number”.
Please let me know how to get parmanant license number.

#270 Raghu on 01.20.10 at 10:38

Hi ankur ,
We got an application for testing using QTP.The application is total of Dojo objects can you on this.

#271 Narendra on 01.21.10 at 11:51

Hi Ankur
Its really a fantastic job done by you here for us. we are gald to read your blog and get great informations about QTP. I am a new learner of QTP. Hope I’ll be good soon.
Thanks Heartly for your great job

#272 Saroj Kumar on 01.22.10 at 00:41

Hi Ankur,
I want to know what are the concepts in QTP, like Object identification, Recovery Secnario etc. plz
help me

#273 Saroj Kumar on 01.22.10 at 00:41

Hi Ankur,
I want to know what are the concepts in QTP, like Object identification, Recovery Secnario etc. plz
help me.

#274 Renee on 01.24.10 at 18:58

Hi Ankur
Gr8 Work.
I have done manual testing for a while now intend to learn QTP but scared if VBscript is lot of programming. Knowing you are a pro can you guide if it is act lot of scripting?
Also, have you got any info or a blog like this for ISTQB
Thanks

#275 johny on 01.27.10 at 12:53

hello ankur!!!

r u from baraut????

#276 Hari Krishnan Nair on 01.27.10 at 15:41

Hi Ankur
Is there any Copmlete referece books or CDs avaialble for QTP , descriptive programming.
If so , Please provide me the details ASAP.

Regards
Hari

#277 Sankar on 02.04.10 at 14:45

Whether qtp 9.2 supports third party tools ( say sigma gird ) ? If so , what is to be done ..? can any one help me on this ?

#278 Sankar on 02.04.10 at 14:50

Hi Ankur,
I am working in QTP 9.2 for the past 3 yrs. I have a doubt. Pls help on this following doubt .. Whether qtp 9.2 supports third party tools like( say sigma gird ) ? If so , what is to be done ..?

#279 Prem on 02.04.10 at 14:55

Hi Ankur,
Thank you very much for providing such a good blog.

I am getting “800A03EE” error messgae while trying to open my QTP script through VBScript using”Relative Path”. For Example, my QTP Script is “F:\Test\Script\QTP-Script” and my .vbs file is “F:\Test\init-script.vbs”.

The code in init-script.vbs file is as follows:

Set App = CreateObject(“QuickTest.Application”)
App.Launch
App.Visible = True
‘ScriptPath = “F:\Test\Script\QTP-Script”
App.WindowState = “Maximized” ‘Maximize the QuickTest window
App.ActivateView “ExpertView” ‘Display the Expert View
App.Open “..\Script\QTP-Script”, True

Please help me to resolve the RelativePath issue. If I am putting the “Absolute Path” (F:\Test\Script\QTP-Script) then it is working fine.

#280 saurav bharti on 02.10.10 at 20:35

HI,
i really inspired with your effort put on web. Currently, i need support from any qtp framework expert. Do u have any contact information about person worked on web based applne specially, banking domain.
if any, pls revert me on my mail id. i will be thankful to u.

#281 Lalaso on 02.16.10 at 11:51

Hi Ankur, Thanks for putting this important information. i have little knowledge of VB script. i want to learn QTP. can you tell me which base knowledge shall i make good to learn the QTP?

#282 Munu on 02.16.10 at 12:09

Hi Ankur,

Great job!!!!!!!

Would need a small piece of information from you.
Want to learn QTP however not able to download the QTP trial version from the HP Site

Please let me knw from where I can download and practice.More over suggest me a book that mentions the step by step method of how to work on QTP.

Regards
Munu

#283 bose on 02.18.10 at 14:12

Hi Ankur,

I want to know if QTP can be used to DW/ETL Testing.

please send me ur mail id and contact details to discuss more on these…..

Regards,
Prashanth

#284 panil on 02.24.10 at 10:46

can u tell answer for this question?
if thr r 11 rows of values in datatable . the script is running for 11 times, if u want to run for first 4 only how will u do?

#285 Sankar on 02.26.10 at 10:21

Panil,

U can set ” Run from row to row ” through the ” Action Call Properties ” dialog. So that the script will run for the no. of rows wat u specified. Let me know if u have any questions.

#286 arathishashi on 03.03.10 at 09:28

Hey Ankur,

Is it possible to get trial version of QTP 9.2. I checked in the HP site, there they have only 10.0.

#287 Sohel on 03.07.10 at 14:21

I’m unable to see anything on the Active Window screen … it is blank! I’ve tried to perform a Reset from the Tools/Option menu, but that didn’t work either. Any other suggestion from your end? Please let me know asap. :) Thanks in advance for your help and a great blog.

Sohel

#288 Sohel on 03.07.10 at 14:22

Oops…forgto to mention that I’m using Windows Vista 32 bit and QTP 9.2

#289 Ankur on 03.07.10 at 14:26

A couple of points you may want to check:
1) See if capture level is set properly for Active Screen settings.
2) You would need to place the cursor on the particular object to see the corresponding Active Screen.

Also, any follow up questions, please ask on the forums.

#290 Sohel on 03.07.10 at 14:43

I’ve QTP 9.2 installed on my desktop (OS Windows 7) and i’ve no problem with the active window….everything works how it should be, but no matter what I do, I can’t get the Active screen to display what I’ve selected in the Keyword view area under value… this seems to be a Vista related issue, and I cant to find a fix for it…can u plz help?

Thanks!

#291 Sohel on 03.08.10 at 00:25

Ankur,
I’ve tried those options even b4 placing my comments here…and those didn’t work. I’ve a feeling it is something to do with vista…do u know if there is/are any vista compatibility issues? Will something needs to be checked or unchecked somewhere? I’ve gone under Active Screen tab from the Tools/Option menu and played around with the Custom Level…and made sure that Active Screen box is checked…i’ve also checked and unchecked the active x window and java check box, but nothing seems to be working….what would you recommend me to do?

#292 Lalitha on 03.08.10 at 15:50

hi Ankur,

I’m the beginer of the Automation testing and having a good exp in manual testing. I want to learn QTP and already joined in QTP classes.
Please sugggest me in learning QTP and how to proceed

Sorry, this may not be the right blog to ask. But out of curiosity I’m asking htis

#293 chowsan on 03.09.10 at 18:00

hi ankur,
Really its good to have a site especially dedicated to QTP. I myself undestood so many concepts like how qtp recognizes the objects in this blog and so many like this. Is there is any plan by you to star a online training sessions on QTP with the real time web based application instead of windows based application. People like us have wasted so much money by going to institutes for QTP where they will just give an overview on QTP and skip the main topics like scripting… OR like weekly one topic material indepth about the topic. I hope you will think about this and won’t disappoint people like us

#294 Maxx on 03.11.10 at 10:16

Hi Ankur,

I have a specific problem,
How do I run a series of functions like…fns1,fns2,fnN with a for loop…

Please find what i’ve done and it says ‘syntax error’

For i=1 to 4

ss=trim(CStr(“abc_gui_case_”&i))
ss ‘ //to call the function
Next

Public Function abc_gui_case_1

..
End Function

Public Function abc_gui_case_2

..
End Function

Public Function abc_gui_case_3

..
End Function

#295 Anuja on 03.15.10 at 10:22

Hi,
Is there any possible solution where one data table is present in QC and two users at the same time can make the changes and update in it as per their requirements.
Regards,
Anuja

#296 arathishashi on 03.15.10 at 13:21

Hi Ankur,
I’ve installed QTP 10.0 trial on my windows vista home permium OS. And now I notice that QTP is not recognizing any of the web objects. It only reads it as a winobject. Can you please help me?

Thanks a ton
Arathi

#297 Vaishali on 03.24.10 at 15:14

Hi Ankur,

I am using QTP10.0. And trying to parameterize test like we are doing it for action parameterization.

I have added Input and Output Parameter from File->Settings->Parameters and also tried that to use in other test.

But I am not able to execute test parameterization. Could you please guide me for the same…

Thanks in advance,
Vaishali

#298 nonu on 03.25.10 at 19:21

Hi Ankur

I am using QTP 9.2 from last two month. on 23rd march i install avira antivir in my laptop. its automatically delete QTP from my laptop. Can u tell me whats problem with it

#299 Hitesh Shah on 03.30.10 at 09:43

Hi,

QTP 10.0 can be install on Windows 7 OS ? I mean QTP and QC support this OS or any other .
Pl reply me soon
Thanks
Hitesh Shah

#300 Neha on 04.16.10 at 14:11

Hi Ankur,

I am working on one application which is implemented using ProfUI.But QTP does not support ProfUI controls.Do you have any idea or workaround to work on PROF-UI application except using keyboard and mouse movements.I checked with HP support,seems like there is not work around.

Our developers are thinking about replacing ProfUi with any other GUI framework like BCGSoft or QT.But seems like those are also not supported by QTP.

Can you help me on finding a work around or any other UI framework to replace ProfUI which is recognized by QTP?

I will really appreciate your feeback on this.Thanks

#301 Yogesh on 04.16.10 at 15:23

Hi Ankur,

Thanks for the QTP tutorials.

I have learned the QTP and can develope a script for individual software module. i.e Agent Login, flight Booking etc.

I want to know about, how to develope a framework and handle the entire application. This is the place where I got stuck up.

Please suggest me about how to handle a Entire application in QTP. Do you have any frame work examples or sample projects which will give me knowledge on this.

#302 Vikas Chauhan on 04.19.10 at 17:27

Hello Dude!
Great effort dude and very nice to see fellow jaypeeians reaching out and crossing the sky limits.
Regards,
Vikas

#303 KD on 04.21.10 at 04:33

Hi Ankur,
I am in QA field for last 10 years and in Automation for last 6 years but never saw such a organized site with all kinds of briefs and details. Even after so many years in this field I need some or other help which I am sure will get it here. I am visiting this site for last 2 years but never had any comment or suggestions. Today I have decided to appreciate you for the way you are helping so many people directly / indirectly. I am sure many people are depend on this site. I request you to please continue this efforts and helping worldwide QA community.

I would like to keep in touch with you and my personal email ID is kdapte@in.com

Thanks once again.

Kedar

#304 Shikha on 04.24.10 at 07:48

Hey Ankur..nice blog. Btw…are you the same Ankur from JIIT?

#305 veena on 04.24.10 at 15:12

hi anukur i would like to talk to u

#306 Vikas on 04.27.10 at 17:07

Hello Guys!
Have anyone tried using QTP 10 or 9.2, 9.5 with Adobe Flex 3.0 with Java Wicket Framework.
My team, here faced a serious problem while playback for the Test scripts. The QTP Performance is very slow while running the test scripts in flex 3.0 screens. Later we tried to execute the Patch provided by HP for the same. But Performance is still a key concern for us. It takes arround 2 minutes to perform a node creation which a manual user can peform in less than 0.5 mins.
I would really appreciate for any pointers to the problem.

Note: while looking out the solution to the issue, Looks like Adobe has fixed this issue in Flex 4.0 (Autmation Library) However, our application is compiled to run on Flex 3.0.

Thanks and Regards,
Vikas

#307 Vikas on 04.27.10 at 17:11

Hello All,
Here is the another feature which I am looking for the solution, still from the HP side as well nothing promising solution seems to work as yet..

I am looking for the solution to Automate Geospecial Environment for Google Earth Like Controls.
The tool should be supporting the Google Earth controls like Rotation, Tilt and Altitude with Camera Controls, Placing a landmark etc.

So far there is no specific complete solution to support the same. I would really appreciate for any pointers and ideas.
Thanks and Regards,
Vikas

#308 Krishna on 04.27.10 at 23:18

Ankur,

Can you please help me where to start QTP ? I’m good in Manual testing and also I know few basics things in QTP. Can you please help me where to start to learn more about QTP?

#309 Arul on 04.29.10 at 08:11

Hi Ankur,
Thank you very much for your great effort putting on here.

I am facing one problem when I call external action.

I recorded one script and make it reusable action and store it separate directory like d:\Qtp_Sample\

The same way I created two more action.

Now I want to call the all external action by using “RunAction Gui_Spy, OneIteration” this statement

But I got error “Invalid procedure call or argument: ‘RunAction’”

Can u explain the procedure for call an external action…..

Thanks and Regards,
S.Arul

#310 Keshava on 05.12.10 at 03:23

Hi Ankur,

Read ur blog, great man. Ankur i have an 1 yr exp. in QTP but not scripting. But every where i am facing scripting problem i.e. in interview they ask me to write a basic login page script i.e uname,passwd,ok,cancel, window close,max,min functions to be operated.
I have already started reading VB script supported to QTP, but i am confused abt descripiive programming which is used with QTP.
Pls help me out man where exactly VB scripts are used and descriptive prog. used. And if possible pls send me script of above login page since i got an interview this saturday. Pls do the needful.
Waiting for ur reply.
Thank U.
Keshava

#311 Dnyanraj on 05.12.10 at 12:48

Hi Ankur,
I have a basic question.
Can we test by using QTP the embedded software applications like TV softwares which are implemented on linux platforms? If yes How?

#312 Rajavardhan on 05.14.10 at 13:47

Good Job Ankur

#313 Anu on 05.20.10 at 17:11

Hi Ankur,

I need to write the data from the web page to the excel. I was able to write but my problem is when i go to the next link of the same web page,then it writes the data to the excel but overwrites the previous data.
Please tell me the solution for that so that i can write the data into the same excel without overwriting the previous one.
Thanks in advance………………..

#314 sakthi on 06.01.10 at 12:13

Hi Ankur , i am a new joinee to this group , being a fresher i dnk about QTP i have a lot of questions ,i ll put all of those in the near future I hope u ll help me. Is there any documentation for QTP then plz mail me

#315 ashiii on 06.01.10 at 13:09

Hi akhur ,
I ve just started my career as a manual tester in testing field bt i want to take myself in automation, give me some idea hw i start my career in autmation and also tell me abt the QTP certification…. it would be greate help to me…. :)

#316 sreekanth on 06.01.10 at 19:20

Please let me know do we have any section to find more about debugging in QTP

#317 Anish on 06.14.10 at 17:12

Hi,Seen you blog.Great work done.
I am encountering one problem while working on QTP 9.2.
My application has migrated from.NET 3.5 to .NET 4.0 and I have QTP .Net Add In installed on my machine.

But still QTP doesn’t recognizes the application.How can I make QTP recognize the same.

#318 Ralph Longobardi on 06.17.10 at 00:52

Please send me code which creates a folder in Quality Center using a QTP script. The new folder wil be created daily and attachments will be saved in this folder in Quality Center.

Thank You!!!

#319 Rajender on 06.17.10 at 14:07

@Annu, use the below function to find out the last row of the excel sheet and then increment it by 1 and start putting the data from there into the same excel sheet.

Dim pp
pp=LastRow()

Function LastRow()
Dim dd
dd = worksheet1.UsedRange.Row – 1 + worksheet1.UsedRange.Rows.Count
LastRow = dd
End Function

#320 ujjawal on 06.19.10 at 05:09

grd job,grd work wht a superb work u r doing ,will u plz tell us how can be part of this team .?

#321 ujjawal jain on 06.19.10 at 05:11

will u plz tell me for Qa which testing certificate is gud and helpful in future career,apart from qtp certification

#322 Anish on 06.21.10 at 15:00

Hi
Ujjawal. To tell to more about the certifications in testing , I need to know more about your career profile like how many years of Exp. do you have. What all kind of testing you have done etc:-

Now a days the tester’s can really explore some very good opportunity.

1. Like there are lot to do in SAP Testing.
2. Lot of oppurtunities are there in Security testing as all are moving towards cloud based applications and SAAS .
3. WEB service testing.

So apart from QTP its best if you can do Java certification.
That will certainly help you in future.
Also can look for the Load runner certification.

#323 ujjawal jain on 06.21.10 at 20:42

thanks annish if u have urs mail id plz annish will u give me so that i can write to u about all my qualification and exp

#324 suneetha on 06.22.10 at 12:47

Hi ankur,

Can you please share the sample scripts of control file,driver and utility scripts

#325 kosha shah on 06.22.10 at 18:49

hiii ankur..i am very new in software testing.i am very happy to read ur blog..it’s fantastic.very helpful for me ur blog.

#326 Bhaskar on 06.25.10 at 11:34

Hi,
I want to do HP certification in QTP. Can you please let me know the procedures.
Thanks,
H.Bhaskar

#327 Anish on 06.28.10 at 12:13

Hi ujjawal, I hope yor are doing great.you can reach me at anish.vohra143@gmail.com.

About QTP Certification.
1. First register with the HP .Then once you are registered you will get your user name and password throught email and then you are able to login to HP web site.
2. Then apply for the HP portal learner ID with HP. You will get this after about a week.
3. Then you have to look for the pro metric centers in your location. You have to take this learner ID and you can appear for the test.

In Noida there is one center where I have appeared in sec 8 HCL.

For more details contact me at my email id.

#328 Anish on 06.28.10 at 14:56

Hi Bhaskar , please find the below link to sign up in HP web site.:-

http://h20375.www2.hp.com/portal/site/publicpartnerportal-ap/in/en/

#329 Rajiv Tripathi on 07.01.10 at 22:44

I find it one of the best forum i have ever seen…….I really appreciate Ankur for this fantastic Job….

#330 sateesh on 07.09.10 at 14:15

Nice work dude.. I have few documents of VB Script and QTP FAQs. Can I share it with you ??

#331 reva on 07.14.10 at 00:32

HI…
this is very useful blog for qtp tool

#332 reva on 07.14.10 at 00:35

HI
can you tell me new version in QTP

#333 bhanu on 07.23.10 at 15:37

hi,
ankur
this is the guy that always look for some thing to learn more on QTP. so i have choosen this will helps a lot to me , iam the learner of Advanced QTP. so i had a doubt ,can we declare the unchanged script in library functions instead of taking it as a Environmental Variable

#334 sudheer on 07.29.10 at 14:40

Hi anukar i am had a question, i want to connect mysql using QTP 9.2 i m getting errror that “[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.” pls help me

#335 sudheer on 07.29.10 at 14:42

is QTP 9.2 Supports sqlyog

#336 Harry on 08.02.10 at 22:43

Hello, I am interested to take QTP training and wants to buy Desktop system for it because I have MAC OS.
The Desktop is used , following are the description of it do you think QTP 2 months trial version will run on this system

Windows XP Home Edition 2002 Version w/Service pack 3

72GB Hard Drive

Intel Pentium 4 CPU 3.00 GHZ

512 MB of Ram

Intel 8285G Graphics Controller
Please do let me know your thoughts
Regards,
Harry

#337 manoj on 08.09.10 at 15:33

Hi,
I am a QTP guy working QTP with almost 2.5 years, i am impressed with this blog.can u suggest me in what way shall i move to get more and more knowledge in vbs cripting.

#338 sudheer on 08.11.10 at 12:23

Hi ankur,

pls tell me what is the difference between Crack version of QTP 9.2 and Licensed version of QTP 9.2.

#339 john on 08.12.10 at 16:43

how to group test cases for regression testing/ Integration testing,System testing,Acceptance testing,Smoke(BVT) test cases,Sanity Test cases,Negative Test Cases,Extended Test Cases,Performance testcases,Stress testing cases,Load testing Case?

what is the difference between flavour testcase written for manual testing and automation testing?

#340 Dinesh on 08.16.10 at 17:33

What are the exact limitations of QTP and can i use load runner script in QTP?

#341 Dinesh on 08.16.10 at 17:34

Can you please forward some example testcase for windows based application?

#342 Dinesh on 08.16.10 at 17:54

can we use all application in QTP?

#343 Dinesh on 08.16.10 at 17:55

what type of applications used in waterfall model and V model?

Leave a Comment