Ask a Question

Unable to connect to the Android Device (when run from Jenkins, works perfeclty from within TC)

dhoeke
New Contributor

Unable to connect to the Android Device (when run from Jenkins, works perfeclty from within TC)

Hi there,

 

I'm trying to set up TestComplete with Jenkins, but when I run my tests via Jenkins, then TestComplete is unable to connect to the mobile device (emulator and phys. device) while the same test works perfectly when I launch TC manually and start the test.

 

Jenkins is installed locally (master) on a Windows 10 machine and is running as a service.

 

Why is TestComplete not recognizing the emulators or physical device when I launch the test via Jenkins, but it does when I launch the test from within TC?

 

I tried to work with a delay (to give TC more time to find the device), but it did not work since it's not a timeout problem, but the test immediately stops with the error that the device is disconnected.

 

Any help on this issue is highly appreciated!

 

Thank you so much,

have a good day!

 

- dhoeke

 

TC Version: 12.42.3048.7 x64

Microsoft Windows 10 Standard, 64-bit (10.0 Build 14393)

 

Device

LG-H420

Android 5.0.1

TC Android Agent installed and running

10 REPLIES 10
NLI
New Contributor

https://community.smartbear.com/t5/TestComplete-General-Discussions/How-to-set-Test-Complete-12-32-b...

 

solution in that post:

"The Jenkins plugin will always run the 64-bit version of TestComplete if it exists. To use the 32-bit version, rename the <TestComplete>\x64\Bin\TestComplete.exe file on your Jenkins node to a different name, e.g. TestComplete64.exe. Also, feel free to create an enhancement request for the Jenkins plugin."

cancel
Showing results for 
Search instead for 
Did you mean: