Micro Focus QTP (UFT) Forums
running a script on two machine sametime - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: running a script on two machine sametime (/Thread-running-a-script-on-two-machine-sametime)



running a script on two machine sametime - sria123 - 05-09-2013

Hi all,
Is it possible to run the same script on two different machine at the same time.
Iwas able to run one at time that is machine 2 is wating for the script to be complted. as qtpapp.run is waiting to be finished.
is it possible to run at same time on both machine using vb or javascript.
I mean i want to invoke the qtpapp.run on two difrrent machines at same time

Thanks
Sonu


RE: running a script on two machine sametime - basanth27 - 05-09-2013

Yes, but it depends on how you would want to execute it. Are you firing a remote execution?
How are you executing it? Because, ideally, if you invoke a execution through a centralized system like a QC or a Html, it will ignite the execution on the specified machine.


RE: running a script on two machine sametime - sria123 - 05-09-2013

Hi
I am executing the scripts from a custom web app
Where we select the macines to execute
I am using a vbscript
To invoke , launch and then run
I want to execute the script simuleniouly
Please guide me

Thanks

Hi
I am executing the scripts from a custom web app
Where we select the macines to execute
I am using a vbscript
To invoke , launch and then run
I want to execute the script simuleniouly
Please guide me

Thanks


RE: running a script on two machine sametime - basanth27 - 05-09-2013

It is a bit complicated. Vbscript will launch one after the other. What you can do is, probably first fire the QTP application through a system and then in that script let it trigger an vbscript which will launch your test case on that machine.
You should look at QC or jenkins or Control-M for achieving something like this.