Poll: How to create object so that to use it in remote machine?
You do not have permission to vote in this poll.
Set QtpApp = CreateObject("QuickTest.Application","RemoteMachineName")
0%
0 0%
Set QtpApp = Server.CreateObject("QuickTest.Application")
0%
0 0%
Total 0 vote(s) 0%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error: Cannot open test
#1
Not Solved
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
Reply
#2
Not Solved
Try clearing the temp folder...

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Test runned from QualityCenter generated an error "Attempted to divide by zero." robertosalemi 1 2,347 10-14-2016, 08:38 PM
Last Post: robertosalemi
  Getting an error to open UFT using vbs file Naresh 1 5,149 06-11-2015, 06:34 PM
Last Post: venkatesh9032
  Error while opening test run results vkalyankar 3 3,975 11-12-2014, 09:49 AM
Last Post: vinod123
  When QTP is open am not able to open my AUT. chetan3987 2 2,924 02-12-2014, 01:18 AM
Last Post: supputuri
  Failed to run the test due to an unknown error. Extensibility ajeshnair 4 6,355 10-17-2012, 03:13 AM
Last Post: dvmehta9

Forum Jump:


Users browsing this thread: 1 Guest(s)