Forum Discussion

endorium's avatar
endorium
Frequent Contributor
7 years ago

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 ...
  • AlexKaras's avatar
    7 years ago

    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;

    -- ...