Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
executing qtp on a remote machine
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
hi..
i have a remoter system where qtp is not installed

I need to open my AUT in remote system and execute there using the QTP in my local system.Can somebody help me out for this...

Thanks
Suja
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
No. AUT And QTP should be on the same machine.

On a lighter vein, If you want to dine with the plate in your hand with the food being shown on the TV then the above would be possible Smile
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
but I have seen many forum discussing about qtp execution on a remote machine say eg:
http://www.qtpsudhakar.com/2009/07/execu...emote.html
I used the following script after configuring the prerequisites for remote execution mentioned in the above link.

Code:
Dim qtApp
Dim qtTest

'Create the QTP Application object
Set qtApp = CreateObject("QuickTest.Application", "remotemachine name")

'If QTP is notopen then open it
If  qtApp.launched <> True then

qtApp.Launch

End If

'Make the QuickTest application visible
qtApp.Visible = True

'Set QuickTest run options
'Instruct QuickTest to perform next step when error occurs

qtApp.Options.Run.ImageCaptureForTestResults = "OnError"
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = False

'Open the test in read-only mode
qtApp.Open "D:\IBMR Testcases\Control-Demo", True

'set run settings for the test
Set qtTest = qtApp.Test

'Instruct QuickTest to perform next step when error occurs
qtTest.Settings.Run.OnError = "NextStep"

'Run the test
qtTest.Run

'Check the results of the test run
MsgBox qtTest.LastRunResults.Status

' Close the test
qtTest.Close

'Close QTP
qtApp.quit

'Release Object
Set qtTest = Nothing
Set qtApp = Nothing


but it gives permission denied error on the line
Set qtApp = CreateObject("QuickTest.Application", "remotemachine name")
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Oh..that script is to trigger QTP execution from your local machine on a remote machine. But for that you should have QTP installed on the remote machine, else the script will fail.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
oh..thank u....i made it out wrongly...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need script to connect remote machine stalinvanama 1 1,668 09-27-2018, 08:12 PM
Last Post: stalinvanama
  Is it possible to run the QTP scripts on machine with out QTP is installed? kalyan_srirangam 2 3,506 10-21-2013, 07:19 PM
Last Post: kalyan_srirangam
  running a script on two machine sametime sria123 3 3,958 05-09-2013, 09:53 AM
Last Post: basanth27
  Remote server machine does not exist eroshan 5 14,257 05-06-2013, 06:03 PM
Last Post: Saket
  Remote database conenction ajayr1982 1 2,642 05-21-2012, 12:14 AM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 2 Guest(s)