Micro Focus QTP (UFT) Forums
Automating QC to execute QTP scripts on mutiple hosts - 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: Automating QC to execute QTP scripts on mutiple hosts (/Thread-Automating-QC-to-execute-QTP-scripts-on-mutiple-hosts)



Automating QC to execute QTP scripts on mutiple hosts - whizsam - 10-15-2009

Hello,
scenario: Need to run a test script on 5000 machines, its kinda regression testing.
The 5000 workstations are located in different cities but are all in the same domain and are accessible remotely via RDP.
All the workstations have QTP installed on them. LoginId has admin rights to all the machines.
Have installed QC Remote Agent, QC QTP Addin on all the workstations.
Wondering if I can use QC to run the scripts remotely on these machines.
But the issue was how to add the 5000 hosts(ip addresses) dynamically in the QC to invoke QTP scripts on other machines after completing on one machine.
Is it possible to use tables of QC, how do I use the OTA API here, as I'm new using that.

Highly appreciate your help.


RE: Automating QC to execute QTP scripts on mutiple hosts - basanth27 - 10-15-2009

On the TestLab you will see a option called Host Manager. Left hand pane of the host manager has all the machines in the domain. Click on "GetNet" to obtain the latest machines in the domain.Check if you have the machines you are looking for. It should be there and you can do a ctrl select and hit on the right arrow to add them to a host group.

have you tried this already ?