Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
5 years ago
Solved

Test running on AWS

I trying to run test execute in AWS vertual machine.

when connected with remort desktop runs OK

but onece disconnected AWS fall back to a tiny desktop.

 

my deskto is 1920 X 1080 and test are designed to run on that resolution.

How could I increase AWS resolution when not connected.

 

 

  • NisHera's avatar
    NisHera
    5 years ago

    tristaanogre 

    Tried with console ..couldn't find anything on screen resolution.

    May be I'm not authorized or the package we bought.

     

    Anyhow manage to solved....if anybody interested 

     

    wrote power-shell script

    Set-DisplayResolution -Width 1920 -Height 1080 -Force
    

    name it resolution.ps1

    saved in C:\myTestFolder

    and run it from command line after RDP disconnection, like below..... (my scripts are driven by batch files)

    WindowsPowerShell\v1.0\powershell.exe C:\myTestFolder\resolution.ps1  

     

4 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    There is a "console" even for AWS remote machines.  The resizeing down to that smaller size has to do with that console resolution.

     

    Connect via RDP to your desktop in console mode and change the resolution there.  Then, next time you disconnect, it will use that console resolution.

     

    I believe that there are registry settings for this as well but I don't know what they are off the top of my head.

    • NisHera's avatar
      NisHera
      Valued Contributor

      tristaanogre 

      Tried with console ..couldn't find anything on screen resolution.

      May be I'm not authorized or the package we bought.

       

      Anyhow manage to solved....if anybody interested 

       

      wrote power-shell script

      Set-DisplayResolution -Width 1920 -Height 1080 -Force
      

      name it resolution.ps1

      saved in C:\myTestFolder

      and run it from command line after RDP disconnection, like below..... (my scripts are driven by batch files)

      WindowsPowerShell\v1.0\powershell.exe C:\myTestFolder\resolution.ps1  

       

    • NisHera's avatar
      NisHera
      Valued Contributor

      Wamboo 

      this setting is used when connecting from client (RDP) machine.

      my problem is when disconnected from RDP and test running auto- itself