Jenkins and logging into PC
I have the Jenkins test complete plugin. It all works fine except when it tries to log into the PC it runs Test complete on.
If I log into this PC and leave it unlocked the job passes fine when the jenkins agent runs.
If I am not logged in no matter how I configure the plugin the job fails as it cannot create a session. Any ideas as from a security aspect I cannot leave machines logged in and unlocked.
Hi,
You *must* be logged-in with not locked desktop in order your tested application can display its GUI that TestComplete can interact with.
The above is not TestComplete's requirement but basic behavior of the Windows OS.
It is a matter of your permissions how to implement the above requirement and there are a lot of options possible:
-- If you are a local admin for the test machine, you may remotely set it to automatically log in as some user, reboot it remotely, wait until it reboots and logs in, remotely start tests, wait until tests finish and log out;
-- Use test machines that do not have monitors and accessed only via remote desktop (with the permission to connect granted only to certain accounts);
-- Use virtual machines;
-- Physically put test machines into restricted access area;
-- ...
You have to flow the steps mentioned in the below section.