Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use "Mercury.ObjectRepositoryUtil" to load repositories dynamically
#5
Solved: 11 Years, 4 Months ago
Azeem -

How are you scripting ? Is your code in QTP editor ?

As saket has already mentioned and per the QTP help, if you are using the ObjectRepositoriesUtil object then you are creating a mercury reference which is externally exploiting QTP AOM.

Approach it this way,
1.Write a Vbscript to open qtp, load repository, make it visible and then open the test.

You will know that the object reference will then be set.

Also, Please refer to QTP help for a exhaustive source of information.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: How to use "Mercury.ObjectRepositoryUtil" to load repositories dynamically - by basanth27 - 09-17-2009, 02:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT issues with Outsystems dynamically generated Id/names jherron 2 1,346 03-02-2020, 09:33 PM
Last Post: Swishy70
  Load testing in QTP newqtp 4 7,291 01-24-2019, 11:32 AM
Last Post: sonali31
  Unable to capture value of Webelement which is changing dynamically sheetal 9 16,215 02-16-2018, 11:01 AM
Last Post: janki_kakadia
  Unable to click on dynamically changing webelement preeti 0 1,807 04-29-2017, 08:50 PM
Last Post: preeti
  Adding data into rows that add dynamically with setcelldata azar81 4 5,916 04-13-2015, 05:24 PM
Last Post: vidya2k2

Forum Jump:


Users browsing this thread: 1 Guest(s)