I'm trying to execute the following line in my script:
Set qtApp = CreateObject("QuickTest.Application")
When it runs, I get the following:
"Error: Unspecified error
Answer by Rich Text · Dec 30, 2015 at 05:39 PM
This is usually caused by DCOM not being set or not setup properly. Try this:
Select "Component Services" – "Computers" – "My Computer" – "DCOM Config".
Select "QuickTest Professional Automation".
Right click and select "Properties".
In the properties dialog box, switch to "Identify" tab
Select "The launching user" instead of "The interactive user"
Run the script again, and the issue should be resolved.
Answer by yogi1 · Oct 06, 2016 at 09:53 PM
@Rich: Unfortunately this solution did not work for me. I'm using windows 7. I was able to create object for QuickTest.Application for some time. One day suddently it stopped working and I've started getting Unspecified error :-( I tried dcomcnfg.exe solution as suggested by you but no luck.
I tried deleting and recreating my profile and reinstalling UFT but no luck :-(
is there any other solution that you can suggest?
@KaptainKayoss: Were you able to solve your issue?
Answer by yogi1 · Jan 10 at 03:19 AM
I'm using 64bit windows and 32 bit uft installation. I dont have the issue anymore though. Can't remember what I did to solve it (or whether I did anything at all) but will reply again if I remember what I did. Thanks for replying @KaptainKayoss though!!
Is it possible to write a VB Script that will read the path of application in the Outlook email received by a particular sender or a subject and copy it to a designated location in the hard drive ? 1 Answer
No script debugger in UFT 5 Answers