Micro Focus QTP (UFT) Forums
Execution without desktop login, only CLI - 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: Execution without desktop login, only CLI (/Thread-Execution-without-desktop-login-only-CLI)



Execution without desktop login, only CLI - Beckhell - 09-01-2011

Hi all,
I have QTP 11.00 and OpenSSH installed on a Windows 2008 server - <qtp.server>.
From remote location I execute QTP by ssh <user>@<qtp.server> 'cscript //nologo my_qtp_script.vbs'

This works perfectly well as soon as I have a remote desktop running, I can see the QTP and the browser starting.
But when I am not logged in, i.e. no remote desktop connected to qtp.server I get an error:

$ ./qtp_tests.sh
C:\qtp\script\my_qtp_script.vbs(4, 1) (null): The server process could not be started because the configured identity is incorrect. Check the username and password.

This is an issue for nightly execution since no one will be logged on to the server with a desktop.

Is there a way you can actually execute QTP without being logged in with a desktop, only CLI?
Thanks in advance