Ask a Question

TestComplete can't find objects when running tests using Jenkins

Frequent Visitor

TestComplete can't find objects when running tests using Jenkins


We have a Jenkins installed on Linux Centos machine and we integrated it with TestComplete to run keyword tests.
We had to use TestComplete 12 and it was working perfectly, now we upgraded to TestComplete 14. When trying to run keyword test using Jenkins it failed with this error:

[TestComplete] [WARNING] Error: The operation cannot be performed, because the desktop is invisible..

Any thoughts?

Esteemed Contributor

That error shouldn't be related to the software upgrade.  It means that no active user session is running on that machine meaning that the GUI is inaccessible.  I THINK this is something that may need to be set in the Jenkins plugin but someone else may need to give a more detailed response than me.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
SmartBear Alumni (Retired)

Thanks for your suggestion tristaanogre.


@Jumana_ateeq were you able to find the root cause? If not, please let us know and the community members will try to help you further.

Sonya Mihaljova
Community and Education Specialist

Showing results for 
Search instead for 
Did you mean: