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
QTP replays some steps by manipulating the mouse and keyboard devices. When an RDP session is minimized windows knows that there is nobody at the controls and therefore doesn't respond to the mouse and keyboard events which causes QTP to fail.
A workaround to this is to connect to the machine via another application rather than mstsc
(for example VNC) which doesn't communicate to windows that it has been minimized. Either that or leave the RDP window open.