Login   /   Register

Secret Methods of QTP Objects

Rate this article
     13 votes, average: 4.23 out of 513 votes, average: 4.23 out of 513 votes, average: 4.23 out of 513 votes, average: 4.23 out of 513 votes, average: 4.23 out of 5
Loading ... Loading ...
September 4th, 2008 by Yaron Assa

Google Search Results

You arrived here after searching for the following phrases:

Click a phrase to jump to the first occurrence, or return to the search results.

I’ve been doing some digging into QTP’s test-objects, hoping to find some undocumented methods and techniques. Armed with the power of PDM.DLL, I’ve explored each test object, and have come up with these interesting results, all of which don’t show up on your regular intellisense autocomplete.

As this is still a work in process, the function of many methods is still unclear. I’ve set up a color coding system to make things more clear – Red = Don’t have a clue. Black = Have a pretty good idea / an educated guess. Green = Presumably know exactly what the method is supposed to do.

If any of you know the purpose and function of these methods, please fill me in by dropping a comment, and I’ll update the article.

Update: mayno224 has informed us that a Java object MethodWizard method will open a window with all the object’s internal methods (similar to the .Net form’s spy).

The content you are accessing is for registered users only
Registeration is FREE, quick and private.
You can either Register or Login if you have already registered

Other environments and updates will be published when I’ve completed my investigation, and when reads will drop in more information through comments.

Posted in Environment Techniques, Yaron Assa's Blog

25 Responses to “Secret Methods of QTP Objects”

  1. gralex Says:

    [-]

    It’s very useful information. Thanks
    P.S. Method toString has described in QTP Help.

  2. roshanrehana Says:

    [+]

    Hi, This is a very informative article. I Just did some R&D and found that the 'Starttransaction' and 'EndTransaction' method... ...

  3. mayno224 Says:

    [+]

    Great article! MethodWizard() opens a java window which lists all the methods available for that object as well as its parent obj... ...

  4. testautforum12 Says:

    [-]

    It is very Useful

    Thanks..

  5. ha.vinay Says:

    [-]

    very informative article

  6. Souri Says:

    [-]

    Great Article
    Tahnks

  7. unitech Says:

    [-]

    very useful information, keep doing.

  8. yasminhelled Says:

    [-]

    Good one. Thank you!

  9. bhavani_latha Says:

    [-]

    Its really a good job u have done.Thanks

  10. shami Says:

    [-]

    It is great article expecting some more

  11. ankitanath Says:

    [+]

    Hi, QTP scripts can be used in the LoadRunner Controller to measure the response times and throughput for a Load Test. This reduc... ...

  12. heqingbluesky Says:

    [-]

    Many undocumented function will be explored through this method. It’s pretty helpful for those guys who are working with QTP.

  13. neckerbaijie Says:

    [-]

    helpful for me。3ku

  14. qtp92 Says:

    [-]

    Nice Informatic Article.
    Thanks for this.

  15. Ymor1 Says:

    [+]

    Hi, a good job, I should say, carry on in the past I investigated the same way with Office Tool MSE7.exe on the different dl... ...

  16. remsoham Says:

    [-]

    Hi ALL
    Can Anybody tell me how to verify the contents of a PDF attachment in a webpage???

  17. manyabs Says:

    [-]

    Gr8 one dude

  18. Vinzi Says:

    [-]

    Please can anyone send me the material for learning QTP(Please don’t send the user guide)… gem.vin@gmail.com

  19. pgattamaneni Says:

    [+]

    i am using qtp 9.2 when i am using .getvisbletext on any window , that widnow automatically closed without performing closing or c... ...

  20. vijaykumarbtech Says:

    [-]

    hi iwant important Interview questoins in QTP…..
    Plz send me any one

  21. sowjanya_qtp Says:

    [-]

    hi frnds plz send me the vbscript material

  22. StevenSimpson Says:

    [+]

    As ankitanath has already said, the transaction timing is used for LoadRunner. Could this be changed in the write-up to show that ... ...

  23. gangadhar.p Says:

    [-]

    this is really gr8, these functions will help a lot.
    Please provide me with more

  24. Quasus Says:

    [+]

    .StartTransaction & .EndTransaction Measures the time of all executed steps between the startTransaction & EndTransaction ... ...

  25. andrewdmarin Says:

    [+]

    RE: PDM.DLL I have QTP v9.5 and it appears that you can no longer just upgrade your debugger in the old way. Does anybody know... ...

Leave a Reply

You must be logged in to post a comment.

This article was viewed 5371 times