Hello everybody!
We’re a team that uses Robot Framework. The main dependency that we use is the FlaUI Library to test the application Avaloq Core Portal. Currently we’re using version 4.1.1 of the FlaUI Library.
To run our automated tests we have a Jenkins server that is connected to mutiple nodes.
When we run a test on a node the agent runs in an interactive console session.
We develop our tests locally on our private computers, that we connect to via RDP with the resolution 2560x1440. When we run these tests locally on our machines we seem to have no issues.
We’ve recently discovered that our agents are set to resolution 1920x1080 when we run through the interactive console session.
We’re currently assuming that our discrepancies in the test runs (works locally, fails in jenkins) could be caused by the different resolutions of our displays.
Now here we get to the actual issue: We currently cannot change the resolution of our machines because we connect to them via RDP, nor can we change the resolution of the agents.
Has anyone else run into this issue and can be of any assistance? If you need any additional information, let us know and we will provide that.
does the failure happen right away, eg even th efirst user interaction fails or app cannot be started or is it just at some random step in the test execution ?
reason for asking is that windows has “session 0 isolation”. This means: if jenkins slave is started via a service (typical if you dont know what you are doing) any code that gets executed in that node via jenkins cannot interact with the UI. Even if you open RDP session and you still have your RF called via pipeline directly into that “slave node”. So the real question is, what is the “communication channel” where you actually execute robot and its libraries from ?
When i was still managing bunch of jenkins for purpose of testing anything UI in windows:
jenkins slave has to be configured so that:
it automatically boots and logs in with predefined account - up until desktop is ready.
has SSH installed and running and appropriate ssh keys shared for authentication
has java installed.
then controller connects to the slave, copies the jar and starts the slave instance with the same account that already has the desktop open and logged in.
But please do share a bit more details about your pipeline