Micro Focus QTP (UFT) Forums
QTP execution in 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP execution in remote machine (/Thread-QTP-execution-in-remote-machine)



QTP execution in remote machine - s_mavros - 06-26-2011

Hi all,

I am posting this question regarding the execution of QTP scripts on remote machine. When i log in to my remote machine via "mstsc", and execute the script without closing the remote desktop connection, it works fine. But once i close/minimize the remote desktop window, it starts throwing error ( like Object not visible" error.

One of the places where it generally throws error is while clicking on the file menu in IE, as shown below :-
Code:
Browser(" page name -").WinToolbar("ToolbarWindow32").Press "&File"

Are there any workarounds to resolve the same??
Most of the QTP scripts take lot of time to execute, and if the prerequisite is to keep the screen active without even locking, isnt it one of the key disadvantages?

Thanks in advance!!!
Steve


RE: QTP execution in remote machine - DarshanShekdar - 10-17-2011

Hi Steve,

Even we are facing the similar issue. The scripts will work fine If we give the batch execution in remote machine and its open. When we close the machine something would have happened in the execution.

Let me know if you had found the solution for the same.

Thanks,
Darshan