Micro Focus QTP (UFT) Forums
Starting QTP as a Windows Service - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Starting QTP as a Windows Service (/Thread-Starting-QTP-as-a-Windows-Service)



Starting QTP as a Windows Service - adi_sesha - 10-01-2010

Hi,

I am trying to trigger/execute QTP from other machine where QTP is not installed.

i.e From SystemA I want to run, QTP installed in SystemB with out logging in to SystemB. Only/one option I see to achieve this is Starting QTP as a Windows Service in SystemB.

I am able to run QTP from command prompt & UI directly in SystemB.

Can some one please suggest how can I trigger/start QTP in SystemB from SystemA either as a windows service/.......

Thanks in advance
Adi


RE: Starting QTP as a Windows Service - bfakruddin - 10-05-2010

Hi Adi,

1. QTP Scripts cannot be executed in system where QTP is not installed.
2. QTP invoking from another system can be done throw VPN or connect to another system throw LAN with mstsc command and invoke the QTP... But the running scripts is not running on our system, it is on connected system.

regards,
Baba D


RE: Starting QTP as a Windows Service - Pallavii - 10-06-2010

Yes. QTP should be installed on the system where u want to run QTP Scripts.
For running QTP Scripts on systemB from systemA, try using STAF (instead of running as windows service). Refer http://staf.sourceforge.net/current/STAFDiag.htm and http://staf.sourceforge.net/current/STAFUG.htm#HDRPROCSRV

It works great for your scenario.