Create Object of Mercury.ObjectRepositoryUtil outside of QTP
♥ 0 |
I’m trying to access Mercury.ObjectRepositoryUtil object outside of QTP for a simple vbs script. When I do this on windows xp, Windows Based Script Host crashes at the end. It seems to be related to setting the object used for the objectrepositoryutil to nothing. I then tried the same script on Windows 7 and I get "ActiveX component can’t create object: Mercury.ObjectRepositoryUtil" error. I have tried with QTP 10 installed on Windows XP, and QTP 10 and 11 installed on two Windows 7 VM’s. I was able to register the RepositoryUtil.dll for my Windows 7 machines in QTP\\bin, and it says it succeeded. Am I missing another dll? I tried QTLoaderExt.dll but it says it was loaded but the entry-point DllRegisterServer was not found. Code that I’m using in a vbs file:
Any ideas? Thanks.
Marked as spam
|