cancel
Showing results for 
Search instead for 
Did you mean: 

Test running on AWS

SOLVED
Valued Contributor

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.

 

 

Tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Valued Contributor

Re: Test running on AWS

@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  

 

View solution in original post

4 REPLIES 4
Highlighted
Community Leader

Re: Test running on AWS

I am not a expert in AWS but i think maybe this can help you:

 

https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/smart-resizing.html

Community Hero

Re: Test running on AWS

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Valued Contributor

Re: Test running on AWS

@Wamboo 

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

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

Valued Contributor

Re: Test running on AWS

@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  

 

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors