Forum Discussion

Galina_1's avatar
Galina_1
New Member
16 years ago

Remote Desktop Connections and TestExecute

I have test created with TestComplete 7.5 for Windows application. Test project is located on network. Everything running fine if I run test execute on my system. If I run the test on another machine  via Remote Desktop  Connection, and minimize the view of Remote computer, TestExecute does not processing messages (button clicks more specifically) there, and fails as the result. Is there any way to be able successfully run tests remotely?



Thanks,



Galina

3 Replies

  • Hi Galina,


    That's correct. When you minimize the RD window, Windows on the remote machine stops drawing the GUI. The situation is the same if the remote machine is locked. See the Running Tests via Remote Desktop help topic.

  • tdichter's avatar
    tdichter
    Occasional Contributor
    Hi,



    1. I followed the steps as they appear in the help:


  • If you have a 32-bit operating system:




    • Locate the HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\ Registry key if you want to change the connection settings for the current user only.


      -- or --


      Locate the HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client\ Registry key if you want to change the connection settings for all the users.




    • Create a new DWORD value in this key and name it RemoteDesktop_SuppressWhenMinimized.




    • Specify 2 as the value data. (Note: The unit was in Hexa - as it wasnt written in the help which unit to choose, I chose the default which is in Hexa)





  • 2. Minimized the RDP session window and called the *.bat file to execute the Test Execute run and it failed due to the message that the operation cannot be performed since the desktop was minimized



     Can you please help on that?

    I am using Win XP



    Thanks

    Tomer
  • Hi,



    Minimized the RDP session window and called the *.bat file to execute the Test Execute run and it failed due to the message that the operation cannot be performed since the desktop was minimized



    What was in your BAT file and how did you run it on your remote machine when the RD window was minimized?