10-21-2010, 12:37 PM
I guess you are running this code in QTP, remove the below statement from your script and put it in a vbs file. attach the vbs with your test. an try.
Code:
Set RepositoryFrom = CreateObject("Mercury.ObjectRepositoryUtil")