Micro Focus QTP (UFT) Forums
QTP Script execution on Remote Machine - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP Script execution on Remote Machine (/Thread-QTP-Script-execution-on-Remote-Machine)



QTP Script execution on Remote Machine - rgaribe - 01-18-2011

Hi Ankur,

I came across a strange problem, while automating script. Please find the scenario as below.

Scenario: I want to automate the script in such a way that, I have two machines
Machine 1: with QTP and Application A running on it
Machine 2: without QTP and Application B

Note: Application A you have to follow a process which will send a msg to Application B, based on the status of msg Application B follows the process and upon completion send one acknowledgement msg to Application A. Application A and Application B can not open on same machine due to performance issues.
I want to automate the script in such a way, where I will execute the first part (related with Application A) on Machine 1 and then remotely login on to Machine 2 follow the remaining part of Application B on Machine 2. After that close the remote connection and again continue next part related Application A from Machine 1.
Restriction: I have only one QTP installed on Machine 1.
Problem:
1.How can we connect remotely on second machine and execute the script.
2.If we can connect somehow how to execute the steps from Machine 1 on Machine 2 as OR is on Machine 1.

Hoping for immediate response from you or other members.

Thanks
Rahul Garibe



RE: QTP Script execution on Remote Machine - sreekanth chilam - 01-18-2011

No, it is not possible to do that.

QTP need to be installed on the Host into which you logged in remotely and going to execute the scripts.


RE: QTP Script execution on Remote Machine - Sushanth - 08-16-2012

Hey Sreekanth,

Could u please explain how to run the remote process.

How to connect both Machine A and Machine B and also what command is used to call the specified function from Machine B.

Thanks
Sushanth


RE: QTP Script execution on Remote Machine - iliotest - 08-19-2013

1.- Create a vbs Script in Machine 2 that call App B
2.- QTP from Machine 1 call vbs Script on Machine 2
3.- QTP wait script From Machine 2 Finish
4.- QTP continue execution on Machine 1 with App A


RE: QTP Script execution on Remote Machine - GregHicks - 08-25-2013

Hi

The main purpose of remote launching of QTP is for QC automation tests.

However, its possible to take advantage of the remote agent from a non-qc source to do this. I haven't tried it myself, but will look at this more closely in the coming week or so.