Hi Arun,
You need to talk to your administrator as this has to be done by them. First talk to them to change the resolution on the VM, with whichever method they see fit. If not successful do the following:
- Make sure that
autologon
is enabled forAdministrator
- Disable executor autostart for
Administrator
(normally we suggest to enable autostart). - Create a script
login_with_
custom_screen_resolution.ps1
with content
#Subject7 ProprietaryStart-Process mstsc.exe -ArgumentList "/v:localhost /h:<resolution_h> /w:<resolution_w>"
, replace<resolution_h>
<resolution_w>
with the needed values. For exampleStart-Process mstsc.exe -ArgumentList "/v:localhost /h:1080 /w:1920"
- Make
login_with_
custom_screen_resolution.ps1
executable onAdministrator
login. - Create a local user,
subject7
- Execute
cmdkey /add:localhost /user:subject7 /pass:<password>
,
use <password> created in step (5). - Enable executor autostart for
subject7
user. - Reboot.
Note: If c:/Users/Administrator/ is hard-coded in any test case, this might cause failures, so you will need to adjust them accordingly.
Note: Test cases must not be screen resolution dependent, so if test cases run on any resolution, no failures should occur.
Note: Test cases must not be screen resolution dependent, so if test cases run on any resolution, no failures should occur.
Subject7 Proprietary
Regards,
Subject7 Team
Subject7 Team