cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete can't find objects when running tests using Jenkins

SOLVED
Highlighted
Frequent Visitor

TestComplete can't find objects when running tests using Jenkins

Hi,

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: TestComplete can't find objects when running tests using Jenkins

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

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: TestComplete can't find objects when running tests using Jenkins

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

View solution in original post

Highlighted
Community Manager

Re: TestComplete can't find objects when running tests using Jenkins

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
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
A new challenge is here!

Create a function to drag one element to another for the TechCorner tag!

Will you dare to take the challenge?


Scripts created in July:
- Passing custom command-line arguments as a test parameter
Top Kudoed Authors