The sessioncreator.exe doesn't sets the screenresolution of RDP when the RDP is disconnected.
I have been using TestComplete and TestExecute over Jenkins with the jenkins plugin for testcomplete quite sometime. I observe a wierd issue with testcomplete when run from CI jenkins with the below conditions,
1. When I set the screen resolution similar to that of the RDP machine's resolution.
2. With not using active session checkbox
3. when I have logged off from my RDP system.
I notice when I run the tests with above conditions it by default only runs for 1280*1024, whereas my RDP system resolution is 3840*2160. Because of which all my test fails. I have sorted out this to be a wierd behavior as it is observed only when I have either disconnected from remote session or logged off. I have followed strict testcomplete documentation for running over CI for testcomplete. It tells the same stories again and again but does not provides a solution. I have tried various other ways even my using command-line over jenkins: sessioncreator.exe /RunTest /Username:"username" /password:password /ScreenResolution:"3840*2160"
But still the actual results produced is with that of system resolution 1280*1024. Why by default it sets to 1280*1024 when the RDP machine is closed?
I have posted this over community forum but I have been pointed out to different sections and I see I have been only spending much time into it and it doesn't fixes my issue. I see that this /screenresolution setting doesn't seems to make a point here, because to whatever value you set it. It by default sets it to 1280*1024 when the RDP session is either logged off or disconnected.
Note: I always want to either disconnect or loggoff the user session and I cannot keep the session always open as I am implementing a continuous integration/CD test system using testcomplete. The above scenario works fine when the RDP session is not disconnected and the /screenresolution setting works fine. The issue is only when the RDP session is disconnected or logged off.
Also I see that there is a know issue /useactivesession hope if this gets resolved it might resolve my issue. But for now please provide me a suggestion and quick fix for my issue.
AlexKaras 😆 thank you! My Community Search skills are unbeatable!
ArunKarunakaran Have you tried changing the resolution via registry as Alex proposes?- https://community.smartbear.com/t5/TestComplete-General-Discussions/Screen-Resolution/m-p/181508