Micro Focus QTP (UFT) Forums
Error: Cannot open test - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Error: Cannot open test (/Thread-Error-Cannot-open-test)



Error: Cannot open test - Nagaraju6 - 04-03-2013

I have a small piece of code as below:

Code:
Set QtpApp = CreateObject("QuickTest.Application","hyd-rampavan")
    QtpApp.Launch
    QtpApp.Visible = True
    QtpApp.Options.Run.RunMode="Fast"
    
    QtpApp.Open "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"

I get an error as:

Cannot open test.
Line (13):
Code:
"QtpApp.Open "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"".

Please let me know where is the problem in the above script and how to resolve this?

Thanks in advance.

Regards,
Nagaraju.A


RE: Error: Cannot open test - Ankesh - 04-04-2013

Try clearing the temp folder...

I am not sure whats the link with Temp folder. But it has worked for me.