cancel
Showing results for 
Search instead for 
Did you mean: 

Why screen resolution becomes smaller when I disconnect RDP connection?

SOLVED
Highlighted
Frequent Contributor

Why screen resolution becomes smaller when I disconnect RDP connection?

Hello support team,

 

I have several virtual machines running TC, and only one of the machines has this issue. When I launched TC and had it running with RDP connected and desktop displayed, the test was running fine and display resolution was correct (1679 x 907). However, if I keep TC running but disconnect the RDP, the display resolution seems got to smaller (1023 x 625). So it failed some of the test, because some of the objects collapsed when the window size shrinking. Below are 2 screenshots taken by TC on the same page with and without RDP connection. Does anyone know why it is happening and how to fix it?

Browser page with RDP connection:

Capture6.JPG

Browser page without RDP connection:

Capture.JPG

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Why screen resolution becomes smaller when I disconnect RDP connection?

You need to log in to the console of the remote machine and set the desktop resolution on the console.  This behavior you're seeing is normal because RDP connections set a different resolution than what is on the console.  So, when you disconnect and send the session back to the console, the resolution re-adjusts.  


Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: Why screen resolution becomes smaller when I disconnect RDP connection?

You need to log in to the console of the remote machine and set the desktop resolution on the console.  This behavior you're seeing is normal because RDP connections set a different resolution than what is on the console.  So, when you disconnect and send the session back to the console, the resolution re-adjusts.  


Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
Frequent Contributor

Re: Why screen resolution becomes smaller when I disconnect RDP connection?

Thanks @tristaanogre 

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
A new challenge is here!

Create a function to drag one element to another for the TechCorner tag!

Will you dare to take the challenge?


Scripts created in July:
- Passing custom command-line arguments as a test parameter
Top Kudoed Authors