Forum Discussion

mrtest_1's avatar
mrtest_1
New Contributor
13 years ago

Can not Running Tests in Minimized Remote Desktop Windows

Hi



I have modified the registry as below



  1. Close Remote Desktop sessions opened on your computer.




  2. Launch the Registry editor (Regedit.exe).





  3. Locate any of the following Registry keys:



    • HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\

      (if you want to change the RDC settings for your user account)

    • -- or --


    • HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client\

      (if you want to change the RDC settings for all accounts)

       




  4. Create a new DWORD value in this key named RemoteDesktop_SuppressWhenMinimized. Specify 2 as the value data.




  5. If
    you use a 64-bit operating system, add the
    RemoteDesktop_SuppressWhenMinimized value to the following keys under
    the Wow6432Node node:



    • HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Terminal Server Client\

      (for your user account)

    • HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Terminal Server Client\

      (for all user accounts)






 but it does not work. I got error message "The window is invisible and thus cannot be activated." when running test with RDC minimized.



The remote machine is using Win7 Enterprise 64bits



Any clue for this issue ?



Thanks


2 Replies

  • Julia_K's avatar
    Julia_K
    SmartBear Alumni (Retired)

    Hello Thuy Mai,


    Please make sure that you modify the registry on the local computer (the one from which you connect to remote computers). Modifying the registry on remote computers will not take effect.


    Also, please make sure that you modify the registry as described in the Running Tests in Minimized Remote Desktop Windows TestComplete 8.60 Help topic (you can download a trial version of TestComplete 8.60 from our web site).

    Please let us know whether any of these ways helps.

    Thanks in advance.

  • mrtest_1's avatar
    mrtest_1
    New Contributor
    Hi Julia



    Thanks for your reply. It works perfectly :)



    Thanks