USB Connection losing

Mobile Testing, Android App Testing.
lnx09
Posts: 6
Joined: Wed Apr 20, 2016 2:18 pm

USB Connection losing

Post by lnx09 » Wed Apr 20, 2016 2:23 pm

Hi

i lose often the USB connection to my android device.
i already change the cables. often after 1 or 2 actions such as using spy or s.th. else the connection will be displayed in "Devices" as OK, but on trying to open the spy, the connection is lost.

The same thing i got with the WiFi Connection.

Additionally: On opening the Spy, a popup opens, which cannot be closed or destroyed, as there is no autosave functionality all done work will be lost, due to quitting via taskmanager.
Most OpenSource tools got autosave.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: USB Connection losing

Post by krstcs » Wed Apr 20, 2016 2:56 pm

Try using a WiFi connection instead, as it is much more stable on Android than USB.
Shortcuts usually aren't...

lnx09
Posts: 6
Joined: Wed Apr 20, 2016 2:18 pm

Re: USB Connection losing

Post by lnx09 » Wed Apr 20, 2016 3:50 pm

krstcs wrote:Try using a WiFi connection instead, as it is much more stable on Android than USB.
Hi

as i stated in my first post, i got the same *hit on the wifi Conn

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: USB Connection losing

Post by krstcs » Wed Apr 20, 2016 4:59 pm

Sorry, I completely missed the last half of your original post!

Have you tried increasing the timeouts? There are several posts on the forums about this same issue, look through them and they may help.


In addition, please always include your Ranorex version, Windows version, etc., when raising issues. Are you using the trial? There is no way around the trial dialog, if so.


And as far as autosave, I'm not sure what you want to save in Spy, there isn't really anything there to save except a Snapshot, and you have to do that manually anyway.
Shortcuts usually aren't...

lnx09
Posts: 6
Joined: Wed Apr 20, 2016 2:18 pm

Re: USB Connection losing

Post by lnx09 » Thu May 12, 2016 1:42 pm

Due to sickness i couldnt the project so ... sorry for my late reply.

I use ranorex v4.5.6.
IDE is on win7. License Manager on a win10 machine.

i try this 3 different Android Devices:
Nexus6, Galaxy S6, Umi Emax. All are same.

i get 2 different errors.

1. Ranorex Studio is losing the connection to the device which is connected via usb/wifi (doesnt depend)

2. Ranorex Studio loses connection to the license manager.

So i could proceed Number 1 is necessary fo me first.
Does anybody have an idea on this?

lnx09
Posts: 6
Joined: Wed Apr 20, 2016 2:18 pm

Re: USB Connection losing

Post by lnx09 » Thu May 12, 2016 2:17 pm

When i add a new connection to the android device,
the device status is OK or Connected.

When i try to start a test or select "retry" in devices
the status will be change to "connecting". and it stays in "connecting".

weird.

i already change the usb cables.
check the Rooter. i have no more ideas now.

also i am not sure if this just happens with v4.5.6.
previously i had v4.5.5 where i could program without having those problems.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: USB Connection losing

Post by Support Team » Thu May 19, 2016 11:42 am

Hi lnx09,

To analyze and resolve that issue as fast as possible, I'd suggest getting in touch with us by email [[email protected]].

This allows us to discuss the issue personally. Thank you in advance.

Regards,
Markus (S)