(QTP Ver 9.5, Web Application testing)
I am trying to create QuickTest.Application object. As soon as QTP encounters the below line, it throws an error.
Set App = CreateObject("QuickTest.Application")
ActiveX component can't create object: 'QuickTest.Application'
I was not getting this error earlier. Only today I am geting this error.
Can some one guide me please ......
If you always do what you've always done, you'll always get what you've always got.
Try 3 things and see which one works
1 - Restart your machine
2 - If 1st does not work then disable your firewall and check
3 - if the 2nd does not work then re-register the QTP server using below in Windows run window
"C:\Program Files\HP\QuickTest Professional\bin\QTAutomationAgent.exe" /regserver
If that also does not work revert back on this post
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
The Third one worked.
I have tried all the above 3 solutions, but no luck , iam still not able to fix the issue . any information in this regard is appreciated . thanks in advance.
What's your OS? Do you have Admin rights? How are you running your vbs file? On Local Machine or Remote Machine?
I have observed that this issue comes intermittently occasionally it works fine without any issues. I dnt if remote mac network speed is responsible for this
I have tried the steps listed by you, however still getting the same error. I am using QTP 11 with Win 7 64 bit Enterprie edition.