09-17-2009, 02:27 PM
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.
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.
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.