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 QTP forums was launched in Jan 2008. This forum has a managed environment for QTP users/experts to interact and learn, and is successfully running with 6100+ members, 6900+ threads, 23400+ 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 and refer What is QTP?.
If you are looking to optimize your QTP scripts, refer how to optimize QTP scripts

About Me: I work with and write about automation testing tools, and I am a QTP Certification Logo Mercury (now HP) certified Quick Test Pro specialist. I have 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, I can be found online playing chess or researching cool new technologies.

If you’ve read this much, you should follow me on twitter @ajonit or connect with me on Facebook by liking LearnQTP’s Facebook page.

In case you’re looking to get trained on QTP, check my renowned QTP training course available 24*7 online.

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

446 Comments

  1. Hi,

    My application is in Web based JavaScript application and QTP 11 does not seem to recognize its objects.
    I do low level recording to start.

    What needs to be installed to make it working or what is the workaround to work on java script applications.

    Regards,
    Shikha

    Reply
  2. Hi Ankur,

    I am not able to identify flash objects(buttons) on chrome browser.
    1. UFT 12.01 version installed on window8,
    2. UFT agent compiled with Flex SDK 4.5. and its working fine
    (object identification) with IE explorer, but not with chrome.
    3. chrome version is 33.0.1707
    4. HP Unified Functional Testing Agent 120.0.1112.0 installed under
    chrome extensions.
    — Its[HP Unified Functional Testing Agent 120.0.1112.0] shown enabled
    at my end.

    Issue : when i try to open flex application link using UFT, objects inside the
    application not recognized.

    Please guide me how to detect flash objects using UFT.

    Regards,
    Bharat

    Reply
  3. Nice Post Ankur!

    Reply
  4. Hi,

    I am interested to learn QTP. But i am a working professional don’t have time to learn it in coaching center. i have go through your blog it is the good place to learn QTP. Can you help me how to start and learn scripting?

    Reply
  5. Hi Ankur,

    i have 2+ years of experience in manual testing but still now i dont have knowledge on any of the Automation tool.

    I already received some basics of QTP videos from You.

    your about LearningQTP blog is good to learn About QTP for me.

    can you help me how can i start to learn QTP from basics?

    Reply
  6. Hi Ankur,

    Problem : I want to capture the Dom elements/variables present in the web page which are displayed in Firebug (DOM TAB)
    Environment: QTP 10 / QTP 11, Firefox 17.x, Firebug 1.x

    Example:
    Manual Steps:
    1. Navigate to http://www.learnqtp.com/forums/ using Firefox
    2. Click Login button keeping username and password as blank.
    3. Open Firebug(F12)
    4. Expand $continue and capture “category js”, “lineNo 555” , message “Error: “throw $continue…d, use “return” instead” etc.

    It would be very helpful, If you could answer this.

    Regards,
    Mohammed

    Reply
  7. Jyothi.. u need to add TE Addin to support Mainframe Application

    Reply
  8. Dear Ankur,

    I want to download QTP 10 version on my machine.How can I do it?

    Please reply back as soon as possible

    As I am currently searching for job,I would like to upgrade on QTP

    Regards,
    Megha

    Reply
  9. HI Ankur,

    Can I Automate the Mainframe application using QTP? DO we need any additional Add-Ins for this?
    Please suggest me as I have to do the POC for for Mainframe application .
    Appreciate your help.

    Regards,
    Jyothi Rai

    Reply
  10. Hi Ankur
    This is very good website for those who learn QTP and I have few doubts that when we will face interview can Ihave what type of Questions required for QTP in interview plz
    regards
    Naveena

    Reply
  11. Hey Ankur,
    Your website is amazing, I am able to improve my scripts by reading your blogs.
    I ran into a problem where I couldnt find any past references in your blog.
    I want to click on an “OK” button during recording, but when I executed the test it did not click.
    Also I tried to recognize the object using Object Spy, the object does not have any native properties, although it does have identification properties, can I some how use the identification properties to address qtp to click the ok button, if so how would syntax look. I will appreciate if you can help. thanks
    KEEP UP THE GOOD WORK!

    Reply
  12. Dear Ankur,
    While installing QTP 10 evaluation version in windows7 64 bit OS I am getting error message “The installation package could not be opened. Verify that that package exists…….”. so what should i do now???

    Reply
  13. HI Ankur,

    Nice Work done! Waiting for your further posts!

    Reply
  14. Our application is developed on “Component one 3rdparty tools like DataGrid,FlexiGrid”. I am using Qtp11, but we are unable to identify objects of Datagrid and Flexi grid. Is there any solution/workaround?

    Reply
  15. Given scenario is like this: One Web table is there and you have to search and retrieve a cell data which is equal to the given number say:123. Assume you have given with the column name/id of the table where the number may exist. So now you have to go to the given column and search for the number 123 and retrieve it along with the row number of it

    Reply
  16. hi ankur can u send me hybrid frame work totally detailes

    Reply
  17. hi ankur ur blog is very nice can u send me scripting for interview purpose

    Reply
  18. Hi Ankur,
    I just wondering that how can you capture a xl cell value from Microsoft xl sheet in qtp keyword recording ( not from pasteurized data sheet)

    Reply
  19. Hi ankur,
    Till now,my company dont have exp people in automation.I am the first person to do this.Now i am a trainee in Automation testing,no one is there to guide me in the project.please help me in which area i stuck.

    I am doing automation on web application developed in Java.first of what are the steps needed for me to automate the application ?
    common modules are login and log out..etc

    Reply
  20. Hi,

    I want some information about application integration with QTP for automation testing. We are already use Quality Center for test Artifacts. We have to test our desktop application through QTP.

    Please guide me for these basic steps.
    1. Use of test Artifacts from Quality Center.
    2. Integration of Quality Center, QTP and our application.

    I will be waiting for your positive response.

    Thanks & Regards
    Madhumita Biswas

    Reply
  21. do most regression testing tools support test scripts written in VB Script?
    Just wondering if we can transfer VB scripts that are developed in QTP to any other tool?

    Reply
  22. Ankur, Can you please provide me the information how can we make ruby scripts work in QTP 10.
    Appreciate your effort in this blog.
    @Krish

    Reply
  23. Hi Ankur,

    Can u tell something about recovery scenarios in QTP.

    Reply
  24. Hi Ankur,

    Iam a new user for this forum and much thanks to start for QTP.I have 2 years of experience in qtp and over all 4.5 yrs of experience in testingHere is my queries

    1.Iam in to automation testing now..my application is developed on power builder application.I dont know about PB addin and the supporting qtp version.Can you suggest me the best solution.Thanks in advance 🙂

    Reply
  25. Hi Ankur,

    what is this error when i am trying to run the script in QTP classfactory cannot supply requested class

    Failed to run script.
    Description: ClassFactory cannot supply requested class

    Function file: (null)
    Line (0): “(null)”.

    Reply
  26. While launching the qtp , showing error as Server Busy, “This action can not be completed because the other program is busy. Choose ‘Switch to’ to activate the busy program and correct the problem.”. When checked in the the cpu usage is “00”. Can you please help me with this.

    Reply
  27. Hi Ankur

    Can you tell me in UK where is QTP exam centre?

    Thanks,
    Pujan

    Reply
  28. Hai Anukur

    I need to check alphabetical order on a table which having special characters can you please give me a idea how i can do that

    Reply
  29. This note is to answer 415# Ajay Kumar. Yes you can use software tools to convert a .pdf file to a word document. The software tool can be controlled or directed through QTP by using Invoke statements. A good software tool is Nuance PDF Converter–I use version 6 but version 7 is also available at this time. But as Ankur has suggested there are many freewares available to convert .pdf files to Word or to convert .pdf files to Notepad.

    Reply
  30. hi Ankur ,
    Superb effort u have put on to give alot of knowledge about qtp . Ireally liked your effort and looking forward too see some more now blogs reagarding new features in qtp11
    Can u provide a detail about the each and every component in details

    Reply
  31. Hello Ankur,
    can you please help me i want to convert pdf file into word document. can we do this?

    Thanks,
    Ajay Kumar
    QA Engineer

    Reply
    • @Ajay: Why do you need QTP for that? Just search for PDF to word converters and you will find lots of freewares available. For further questions please use QTP Forums

      Reply
  32. Hi Ankur

    plz can u give me a link to download qtp

    Reply
  33. Hi Ankur and Team,

    Just going through the blog very first time
    and hats off tremandous work done by all of you.
    Need one info i am working almost from 6 years in Testing mainly in Manual ,have worked on Load runner.
    Now need to learn QTP but after going through the blog got to know VB script is the heart of QTP .Can you please tell me if there is any specific book you would prefer for it.
    Thanks in advance !!!!!!!

    Reply
  34. @Divya: Probably you are using Trail version of QTP which will not respond after 14 days of installation.

    What is the version u r using and where did you got this installer!

    \Shiv

    Reply
  35. Hi Ankur,
    I am Divya.Am learning QTP and i have installed QTP in my pc with windows7 os.I was practicing wid this.After few days ,am unable to open QTP,when i am clicking on the icon it is not responding.I also gone through the prgms to open it,but was unable to open.
    and also can i uninstall QTP and again reinstall it?Will that work?
    Plz help me .Thankyou

    Reply
  36. Hi Ankur,

    I am great to be a part of this forum. It really helps our VB Scripting Knowledge. Thanks a lot for your extended support on this

    Reply
  37. Ankur,

    Do you have any materiel that’s going to be useful for CSTE certification. I would like to go for CSTE or CSQA certifications which are added advantage for testers.

    I am into QA from around 6 years. Nice to see this blog and your postings. Keep posting.

    \Siva

    Reply
  38. Hi Ankur
    I want script for below scenario

    “One scenario I want to run several times so
    for each run I want to create a new folder with new name ”

    ex :
    First run – Folder1
    First run – Folder2
    .
    .
    First run – Folder n

    thanks
    Prasad

    Reply
  39. Hi Ankur& all,
    i had taken HP QTP & QC certification on 13th Jan 2011in a prometeric center. But still i yet to receive my certification from HP.
    Please let me know how to contact respective HP person to get my certificate.

    Help me here please.
    Sathish

    Reply
  40. Hi Ankur,

    I am retrieving a password from data sheet and am passing it to my web application. Currently in the application, it is displayed as “Password”, I want it to be displayed as “……..” based on number of characters in the actual password. Please advise at the earliest.

    Thanks a ton in advance
    Vivek

    Reply
  41. Hai Ankur,
    It was really really a pleasant surprise on seeing your blog with lots of questions, quiz & lot of stuff to learn more.

    It heartfully appreciate your hardwork.

    Reply
  42. Hi ,

    Can you please tell me how to connect the DB2 400 to QTP ..
    Is the automation is possible for submitting the claims in QTP??

    Reply
  43. Hi Ankur,
    what could be the cost of QTP license version? IS it only available through HP or any third party vendor is available.
    Please suggest

    Kishore

    Reply
    • @Kishore: $8000 and above.
      @Everyone: Please use QTP forum for questions.

      Reply
  44. thanks gtrat

    Reply
  45. Hello Anukr,

    I wanted to know if BPT is available as an evaluation software. We are trying to work on the Evaluation Version of QC 11 and we have installed it. Now we are trying to install QTP 11. The BPT Software available at this location “http://www8.hp.com/uk/en/software/software-product.html?compURI=tcm:183-936119&pageTitle=business-process-testing” will help me to do automation or not? Please let me know on this. Its actually very urgent.

    Regards,
    Geethika

    Reply
  46. Hi Ankur,
    I’m Kiran, I’m looking for Testing on 2.4yrs of exp, Im very good in Manual testing & i know basics in QTP But, i feel very difficult to learn vb-scripting plz tell how to learn easily and give me some suggestions.
    Thanks in advance

    Reply
  47. Great job man…keep it up..i really appreciate you.
    Thanks

    Reply
  48. Hi Ankur,

    1) Is it possible to invoke junit code from QTP?
    2) Is it possible to call java methods from QTP?

    If it is possible pls let me know ASAP.

    Thanks

    Reply
  49. its a great blog which i have ever seen

    Reply
  50. Need your help with Flex and QTP. I have check boxes, that get recorded but when I run it back, it fails as the objects are not in the OR. The reason being that the automationidedex changes everytime. I want to remove this property, so I went to Tools -> Object Identification. Environment – Flex 4.5.0, I can’t add/remove the mandatory properties. The Ordinal identifier is also greyed out. How can I get it enabled for Flex? It is enabled for Standard Windows and Web, but not for Flex. Thanks in advance.

    Reply
  51. hi,
    your profile is really good

    Reply
  52. Hi Ankur,

    We are using hybrid framework. We use Data table for accepting test data for application. I have question that How can we use multiple data table’s for multiple sets of test data?

    Reply
  53. It is great work…

    Reply
  54. hi ,

    QTP 9.5 will support rich faces ?

    (rich-inplace-select rich-inplace-select-view )

    Reply
  55. hello ji,

    its very good refference for me.

    i need more info related to Automation Testing on Siebel Application. means E2E.
    can you post related to dat.

    Thanks in Advance.
    All the best.

    Praveen

    Reply
  56. Hey Really this website is veru useful for QTP learner guys

    Reply
  57. Really super man

    Reply
  58. I am new to QTP. Test scripts saved in which format.how to create batch file and how use that batch file external use like integrate with my project.

    Reply
  59. Congrats Ankur for doing a great work for all the aspiring automated testers

    Reply
  60. Hi Ankur,
    i saw QTP tutorials and they are really vry nice and educative
    Actually my company is thinking of automating test.
    My domain is of Image processing. Pictures of Chip are taken with different SEM, optical instruments/cameras and hence they are not clear. Our software does the work of alignment of those images. Image goes through different process like segmentation, Feature detection and Pattern Matching.After each process some output is generated.

    So finally my question is can we use QTP for Testing our software

    Thank you
    Kavita

    Reply
  61. Hi Ankur, I started my career in QTP by taking help of ur blogs and real time scenarios. Now I have 2.5 yrs of experience in QTP and worked on multiple versions.
    Really, heart-fully I am thanking you……

    Reply
  62. Hello Ankur Ji,

    Hope yor are doing great.
    Now i am using ALM 11 (QC 11.0) and QTP 11. I have some automated scripts (with test data in data table of 7 rows) in QC and when i run them and finished running of the scripts for all 7 rows in which 5 rows passed and 2 rows failed, But the result showed in QC is “PASSED” (Even 2 rows in the data table failed). Even if i stoped in the middle of the execution (after 2 runs) should show as”Not Completed” but still showing as “Passed”

    Did i miss any setup to show the test results.

    Please help me with this.

    Thank you,
    Chaitanya Karri

    Reply
  63. Hi Ankur

    I had problem with installing QTP 9.2.I run QTP set up file then it is showing me following Messages
    No Background bmpdefined in section”General” entry “BGBmp”
    No application name defined in section ‘General’ entry ‘Apptext’
    when im clicking on Ok it is displaying Blank white screen
    even task manger is also not displaying anything to end the process
    please help me out in this…
    IM very thankfull

    Reply
  64. Hi Guys,

    I was experiencing similar problems trying to record web applications using QTP 11 on Windows Vista. I was getting this error:

    “Browser Application can’t be launched.. Possibly URL is wrong.”

    But got a answer which is simple enough, please do the following to record Web Applications

    1. Ensure: IE – Internet Options > security settings – Enable Security checkbox is TICKED

    2. Ensure: Particular URL is allowed on Privacy Tab – Sites – under IE > Internet Options

    3. Ensure: If Using VISTA, Launch QTP latest Vxx: Run as Administrator prior to launch of IE

    4. Ensure: If Using VISTA, Launch IE latest Vxx: Run as Administrator after to launch of QTP Latest version
    Ensure: Web Add-in is only ticked if recording Web Applications

    Hope this works for you guys.

    Thanks
    MSB

    Reply
  65. Hi Ankur,
    I tried to integrate QTP with QC using ‘ALM/QC Integration’ menu provides in QTP 11. I tried to save the library to QC but its prompt me error message ‘General error while saving the function library’ which doesn’t give me any clue. Is it because of I don’t have rights to create object in QC or is it because of the library that I created is not correct? I am very new to QTP and really have limited knowledge on how to use it. Please help me …

    Reply
  66. Hi Ankur,

    I have browsed through several sites and founds yours very informative and interesting as well!! Good work buddy!

    Reply
  67. Hi Ankur,
    Really gr8 job man, very helpful for anyone who would like to learn QTP.
    Many thanks buddy

    Reply
  68. hi,
    Can anyone guide me with detailed steps on how to integrate QTP with bugzilla? Pls help me in this as it is very urgent.

    Reply
  69. Hi,
    I would like to know whether QTP 11 can support silverlight 11 application which is designed as work in .NET window ( not in browser ). Is this possible to identify objects in this app? I am very sorry, if my asking is FAQ. I am a novice of QTP.

    Reply
  70. hi this is sudha

    u r such a talented guy

    all the best 4 ur career

    im from chennai

    recently i finished manual and QTP in STC

    is it sufficient for s/w tester job

    or else i have to do any thing

    please guide me

    and one more thing if u know any openings in testing please tell to me
    my email id is sai.siddhu11@gmail.com

    please help me

    thanks

    Reply
  71. Hi Ankur, Thanks for your effor…really great job.. I suggested this site to all my friends..

    Reply
  72. hi ANKUR,
    am in my final yr of my BE.ECE…….I’DLIKE TO PURSUE IN S/EW TESTING FIELD….currently am under going a course on this field…and am confused over on QTP…WOULD U RECOMMEND ANY BEST BOOKS RELATED TO TESTING AS WELL AS FOR QTP? COZ,I REALLY NEEDED THAT….AND TELL ME ABOUT THE CAREERS IN IT AND HOW TO APPROACH THE COMPANIES? what company really wanted from us?

    Reply
  73. Good work. it’s looking interested about new techniques to handle unknow objects.

    good efforts Ankur!

    Reply
  74. Hi Hari you can resolve this by two ways:-
    1) You can format your OS and reinstall the OS.
    2) Install Vmware on your system and then INstall Window Xp in that Virtual Machine , and after that whenever your Trial Version is going to expire just format this Virtual machine OS and reinstall the QTP .. this Will help you..In case any query you can get back to me ankur.insan@hotmail.com.

    Reply
  75. hi ankur,my qtp trail version has expired and i uninstalled itand again installed new version but it is showing an error message.please tel me how to solve it.

    Reply
  76. Hi Ankur,

    Do you have any idea on automating PowerBuilder application Using QTP.
    we have huge scripts developed for years(7 years) using WinRunner tool, now the tool life is ended and our PB also upgraded to PB 11.5 Version.

    I googled and found that there are 2 options.

    1. third party migration tools
    2. developing scripts in QTP from scratch

    I guess Option 1 is Very Expensive compared to the man work efforts used in Option 2.

    So which version of QTP supports PB 11.5 and what additional taks need to be done.We need to do a POC.
    apart from PB Addin what else we ne need to install. Actually i need the exact infirmation as I have to provide this to our client who contacts HP Team and take care of Installation and everything.

    suggestions and infirmation on this matter would be appreciated.

    thanking you anticpating for your reply.

    Regards,
    Kiran.
    Mumbai.

    Reply
  77. Hi Ankur,

    I need some help

    I am doing compareing two PDF files in Qtp but not able to write code. Can you please give me any material on this so that i can start wotk on this.

    Please reply..

    Thanks and Regards,
    Anup

    Reply
    • @All: As mentioned above, please use QTP forums for questions.

      Reply
  78. Hi Ankur,
    I want to automate a Visual C++ application by QTP. By default QTP recognise the object as winobject. I would like to know that is there any QTP add in required to recognise the Visual C++ application’s object?
    Thanks in advance

    Reply
  79. Hi Ankur,

    I’m one of the follower of your blog and it is really helped me a lot in the better understanding on QTP. Last few days I’m struggling in automating the web tables, on this I need your help to clear my view point.

    Scenario: I recorded the web page in which there is few web tabs and under each tab there are web tables. My object is to fetch the data from the web table and import in the excel sheet where as my approach is to read entire data of each tab and then move into the next tab. Problem I’m facing is, the script run perfectly for the first tab but after that either it didn’t find the object in the second tab or escape the middle tabs. My observation in this is as the web page is not having a table name so this problem is occurring but I guess this would be a common mistake done in the development process and QTP would have better solution in this front which I’m not coming into.

    Your few minutes will definitely change our view point on the QTP.

    Thanks a lot for reading our problem.

    Regards,
    Abhishek

    Reply
  80. gud to see this…………keep it up!!!

    Reply
  81. Hi Ankur,

    I have 9+ yrs of experiance in Manual and Automation testing. I am double minded to continue in Automation as I don;t see any more growth for me. I am thinking to move to management activities. Please provide me the details of the growth in Automation for 9+ yrs exp people

    Reply
  82. There is not doubt that this is best site I have ever seen for QTP users

    Reply
  83. Hi Ankur

    First of all thanks you very much for this great site.You are doing great stuff out here.

    I have some questions

    1) What all we do in Proof of concept of automation?I have to do poc for automation for an application.
    Do you have any proof of conecpt template.
    Please share what all should be included in POC.

    2) Do you know cost of 1 concurrent license?How many users 1 concurrent license support?

    Thanks
    Sandeep Shivnani

    Reply
  84. Hi Ankur,

    I am using QTP 9, and i have come across an issue, the application that we are using has a functionality where we need to browse a file from the system, while recording in QTP, where ever i click on the browse button, the browser window does not open, so i cant browse any file. In QTP the browser window comes under the winsis class.

    Reply
  85. hej Ankur

    can you plz tell me where i can find a free download QTP?
    i really appriciate it.

    thanks

    Reply
  86. Can Excel 2007 files be used as spreadsheets with QTP 10? I am able to save Excel 2007 files as an Excel 2003 file and able to use the Excel 2003 file as a spreadsheet in QTP 10. However, I ran into issues when using an Excel 2007 file as a spreadsheet. Please let me know if QTP is compatible with Excel 2007.
    Thank you!!!

    Reply
  87. hi Ankur,
    Did you use QTP version 11?
    Although i successfully installed QTP 11 and WPF, Sivelight add on. but nothing is recored when i automatically record control on siverlight application by Record mode

    What is happenning?

    Reply
  88. Hi Ankur,

    Can’t we execute the QTP9.2 scripts in QTP10.0 directly by providing the path??

    Awaiting for reply ASAP.

    Thanks

    Reply
  89. Hi Ankur – can you plz help me that how shoudl I start to learn VB script ?

    Reply
  90. Hi Ankur,

    Its really Good its helped me a lot..thanks for u r blog.
    we are expecting the same in feature….

    Reply
  91. hi ankur
    i want to be a DP expert in qtp
    i have automated small applications also… wht i need to do? so that i can design my own framework

    Reply
  92. I want to know the growth prospect in testing can you plzz help

    Reply
  93. Hey Ankur I am Learning QTP in chd, Please tell me about the Jobs /Scope of the QTP in Testing/…

    Reply
  94. Hi Ankur,

    Great job BOSS>>>>>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.

    kalpesh

    Reply
  95. Hi ankur

    I read you blog and I found it very interesting. I have around 2 year experience in manual testing of mobile device. I want to learn some automation tool to expand my career. The thing is I dont have any experience in programming language. I know little bit of SQL and VB script. I really want to learn some automation tool so that I can go in automation testing field. Can you please suggest me from where should I start to learn that tool. I also read on google , that I can use that tool for testing mobile device. So I got more interest in learing that tool. Please suggest me where should I start.

    Thanks
    MG

    Reply
  96. Hi Ankur i am a manual tester and i want learn QTP can u suggest me how to start..?

    Reply
  97. Hi Ankur,

    Can you please help me in the above points.

    Thanks,
    Kovendan

    Reply
  98. Hello. I am having a problem with displaying the Active Screen. In fact, when I select View/Active Screen or use the toggle button, the Active Screen does not display at all. The Active Screen will only display during Run mode.

    Can you help?
    Thanks

    Reply
  99. 1. I need to create an automation test strategy and automation test plan? What are the important points i should consider in making these documents?

    2. Can you please send me the template for automation test strategy and automation test plan?

    Thanks in Advance,
    kovendan

    Reply
  100. what type of applications used in waterfall model and V model?

    Reply
  101. can we use all application in QTP?

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

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

    Reply
  104. 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?

    Reply
  105. Hi ankur,

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

    Reply
  106. 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.

    Reply
  107. 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

    Reply
  108. is QTP 9.2 Supports sqlyog

    Reply
  109. 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

    Reply
  110. 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

    Reply
  111. HI
    can you tell me new version in QTP

    Reply
  112. HI…
    this is very useful blog for qtp tool

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

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

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

    Reply
  116. 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.

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

    Reply
  118. 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.

    Reply
  119. Hi ankur,

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

    Reply
  120. 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

    Reply
  121. 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.

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

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

    Reply
  124. @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

    Reply
  125. 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!!!

    Reply
  126. 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.

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

    Reply
  128. 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…. 🙂

    Reply
  129. 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

    Reply
  130. 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………………..

    Reply
  131. Good Job Ankur

    Reply
  132. 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?

    Reply
  133. 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

    Reply
  134. 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

    Reply
  135. 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?

    Reply
  136. 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

    Reply
  137. 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

    Reply
  138. hi anukur i would like to talk to u

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

    Reply
  140. 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

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

    Reply
  142. 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.

    Reply
  143. 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

    Reply
  144. 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

    Reply
  145. 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

    Reply
  146. 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

    Reply
  147. 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

    Reply
  148. 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

    Reply
  149. 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

    Reply
  150. 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

    Reply
  151. 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

    Reply
  152. 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?

    Reply
  153. 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!

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

    Reply
  155. 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

    Reply
    • 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.

      Reply
  156. 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.

    Reply
  157. 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.

    Reply
  158. 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?

    Reply
  159. 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

    Reply
  160. 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

    Reply
  161. 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?

    Reply
  162. 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.

    Reply
  163. 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.

    Reply
  164. 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 ..?

    Reply
  165. 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 ?

    Reply
  166. hello ankur!!!

    r u from baraut????

    Reply
  167. 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

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

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

    Reply
  170. 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

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

    Reply
  172. 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.

    Reply
  173. 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.”

    Reply
  174. 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

    Reply
  175. 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?

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

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

    Reply
  178. Thanks Ankur Happy New year !! 🙂

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

    Reply
  180. 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..

    Reply
  181. 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

    Reply
  182. 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.

    Reply
  183. hi Ankur…………..

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

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

    Reply
    • @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.

      Reply
  185. 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

    Reply
  186. This is great blog for QTP learners

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

    Reply
  188. 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

    Reply
  189. Hi, Deep
    it works for me also thanks man

    Reply
  190. 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.

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

    Reply
  192. 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.

    Reply
  193. 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

    Reply
  194. Hi ankur

    Pls post Vb Scripting material for beginners.

    Reply
  195. Hi Ankur,

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

    Thanks
    Naveen

    Reply
  196. 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

    Reply
  197. Hi Ankur,

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

    Thanks
    Naveen

    Reply
  198. Hi Ankur,

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

    Thanks,
    Arun

    Reply
  199. 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.

    Reply
  200. 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

    Reply
  201. 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.

    Reply
  202. 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

    Reply
  203. 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

    Reply
    • Thanks hersai for the nice words.

      You can refer this weblog on Performance Testing

      Reply
  204. 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

    Reply
  205. 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.

    Reply
  206. good site.It is useful for beginners in qtp.

    Reply
  207. 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

    Reply
  208. 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

    Reply
  209. Hi Ankur,
    I really appreciate it.

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

    Reply
  211. Where can i get details about Web service plug in QTP

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

    Reply
  213. good information

    Reply
  214. 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

    Reply
  215. This is really a nice site for brain stroming….
    🙂

    Reply
  216. 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)?

    Reply
  217. 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

    Reply
  218. 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.

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

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

    Regards,
    ksv

    Reply
  221. Hi,

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

    Reply
  222. 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.

    Reply
  223. 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.

    Reply
  224. 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

    Reply
  225. 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.

    Reply
  226. 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

    Reply
  227. 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

    Reply
  228. Hi Ankur,

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

    Thanks
    Shekhar

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

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

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

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

    Reply
  233. 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

    Reply
  234. Hi ankur,

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

    Reply
  235. 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
    😀
    (And sorry,coz my english is not flawless)

    Reply
  236. How to use QTP to test SOLR indexing data

    Reply
  237. 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

    Reply
  238. 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

    Reply
  239. 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

    Reply
  240. 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 ?

    Reply
  241. 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.. 🙂

    Reply
  242. 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.

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

    Reply
  244. 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

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

    Reply
  246. 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.

    Reply
  247. nice to c such a helpful material

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

    MAnish

    Reply
  249. 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

    Reply
  250. 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?

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

    Regards,
    Narasimha Reddy

    Reply
  252. 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

    Reply
  253. 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.

    Reply
  254. 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.

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

    Reply
  256. 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

    Reply
  257. 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 ?

    Reply
  258. 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

    Reply
  259. 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

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

    Reply
  261. Hi… Ankur

    This is Chandrakant here

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

    Reply
  262. 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.

    Reply
  263. 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.

    Reply
  264. 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

    Reply
  265. 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!

    Reply
  266. 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

    Reply
  267. 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

    Reply
  268. 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

    Reply
  269. 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

    Reply
  270. Really Great Work Dude……..!

    Reply
  271. 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

    Reply
  272. 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.

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

    Reply
  274. hi ankur,

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

    Reply
  275. 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…

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

    Reply
  277. @Anon, Roshan: Thanks! 🙂

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

    Reply
  279. 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.

    Reply
  280. 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

    Reply
  281. 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)?

    Reply
  282. 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.

    Reply
  283. hi Ankur,

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

    Reply
  284. 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..

    Reply
  285. hi anukar,

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

    Regards
    Sreelesh kunnath

    Reply
  286. 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.

    Reply
  287. Hai Ankur,

    Its a fine Blog about QTP tks lot man…

    Reply
  288. 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

    Reply
  289. 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.

    Reply
  290. how can i capture data from an image in QTP?

    Reply
  291. Hy Ankur,

    This is the best place to keep update ourselves.

    Good Blog Ankur

    Thanks
    Bharat

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

    Reply
  293. hi ankur
    veygood

    Reply
  294. Hi Ankur,

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

    -candy
    -My email:zsp_123zhang@163.com

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

    -Leena

    Reply
  296. 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/]

    Reply
  297. 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

    Reply
  298. 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

    Reply
  299. 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

    Reply
  300. 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.

    Reply
  301. 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

    Reply
  302. 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

    Reply
  303. 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?

    Reply
  304. 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

    Reply
  305. 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

    Reply
  306. 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

    Reply
  307. 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

    Reply
  308. 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.

    Reply
  309. 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.

    Reply
  310. 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

    Reply
  311. Can u send the link to download the QTP-SAP Addin

    Reply
  312. 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??

    Reply
  313. 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.

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

    Reply
  315. 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

    Reply
  316. 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

    Reply
  317. 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

    Reply
  318. 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

    Reply
  319. 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

    Reply
  320. 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

    Reply
  321. Hi Divya QTP does not supports Linux/Unix

    but X-Runner Supports Linux

    Reply
  322. 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

    Reply
  323. 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.

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

    Reply
  325. 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

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

    Reply
  327. 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

    Reply
  328. 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.

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

    Reply
  330. 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

    Reply
  331. @ 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 🙂

    Reply
  332. 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

    Reply
  333. 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

    Reply
  334. 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.

    Reply
  335. 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.

    Reply
  336. @ Bostonqa:

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

    Reply
  337. 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?

    Reply
  338. 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!

    Reply
  339. @ 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.

    Reply
  340. @ 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.*

    Reply
  341. 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?

    Reply
  342. 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.

    Reply
  343. 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.

    Reply
  344. 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

    Reply
  345. 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..?

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

    Reply
  347. @ 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.

    Reply
  348. 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

    Reply
  349. 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

    Reply
  350. Hi Ankur,

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

    What exactly is Class Mapping…

    Thanks

    Reply
  351. 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

    Reply
  352. 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.

    Reply
  353. 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

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

    Reply
  355. hi ankur.

    how to export excel sheet data into quality center

    Reply
  356. @ 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

    Reply
  357. 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

    Reply
  358. Hi Ankur,

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

    Reply
  359. 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

    Reply
  360. @ 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!

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

    Reply
  362. Thanks Ankur,

    Thanks 4 ur prompt reply..

    U R THE MAN

    SUJ

    Reply
  363. 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

    Reply
  364. @ 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?

    Reply
  365. 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?

    Reply
  366. 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

    Reply
  367. @ 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.

    Reply
  368. 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

    Reply
  369. 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

    Reply
  370. 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

    Reply
  371. Hi Ankur,

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

    Could you put some scripts..

    Thanks in advance

    Deepa

    Reply
  372. Hi Ankur,

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

    Reply
  373. 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.

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

    Reply
  375. 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

    Reply
  376. 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.

    Reply
  377. 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

    Reply
  378. 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

    Reply
  379. give some good examples to real time senarios

    Reply
  380. 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..

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

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

    thanks anyways!!!

    Reply
  382. @ 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.

    Reply
  383. 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.

    Reply
  384. 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.

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

    Reply
  386. 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

    Reply
  387. 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

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

    Reply
  389. 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

    Reply
  390. @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.

    Reply
  391. Hi,

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

    Regards,
    Vinay

    Reply
  392. 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.

    Reply
  393. 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)

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

    Reply
  395. Hi Pranjul,
    Thanks! Check it out now.

    Reply
  396. 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

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

    Reply
  398. 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

    Reply
  399. 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

    Reply
  400. 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.

    Reply
  401. 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

    Reply
  402. Great work Ankur..!!!!!

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

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

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

    Reply
  404. 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!

    Reply
  405. 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

    Reply
  406. 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

    Reply
  407. 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

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

    Reply
  409. Nice effort man…keep it going

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

    Reply
  411. 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.

    Reply
  412. 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,

    Reply
  413. Hi Ankur, Great work! Keep it going!

    Reply
  414. 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

    Reply
  415. 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.

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

    Reply
  417. thanks Ankur.

    Reply
  418. 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

    Reply
  419. 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

    Reply
  420. 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.

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

    Reply
  422. Hey Ankur,

    Thats Great

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

    Cheers..

    Reply
  424. Thanks Ankur.I really appreciate it.

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

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

    Reply
  427. Hi Ankur,

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

    Look forward to more comments from me soon.

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

    Reply
  429. Nice effort man…good to see this blog.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *