I am posting this question regarding running QTP scripts on a remote machine. When I log in to my remote computer via "mstsc" and execute the script without closing the connection to the remote desktop, it works fine. But as soon as I close / minimize the remote desktop window, it starts to cause an error (for example, Object not visible).
One of the places where the error usually occurs is to click on the file menu in IE, as shown below: -
Browser(" page name -").WinToolbar("ToolbarWindow32").Press "&File"
Are there any workarounds to solve the same? Most QTP scripts take a long time to execute, and if the precondition is to keep the screen unlocked, is this not one of the key flaws?
Thanks in advance! Steve
source
share