| || |
Mercury.clipboard is not working with window 7
when i am trying to invoke Mercury.clipboard object in windows 7, i was getting ActiveX cannot create object error message. Kindly let me know how to proceed with this.
Re: Mercury.clipboard is not working with window 7
What version of QTP are you using? I just created a simple test in QTP 11 on a Windows 7 machine that uses Mercury.Clipboard and it worked without any issues.
In HP's KB there is a similar issue (KM178713)that fixed the ActiveX error that you are getting. Maybe it will resolve your issue:
Run the miregsvr.bat/QuickTestProfessional.bat file
Log into the machine with full administrative privileges. Then run the appropriate batch file to register the needed DLL/OCX files.
QuickTest Professional 8.0 and above
Run the QuickTestProfessional.bat file located under <QuickTest Professional installation directory>\bin. Be sure to close QuickTest Professional before running the QuickTestProfessional.bat file.
Reboot the machine after running the QuickTestProfessional.bat file.
Hope this helps.