Steps to reproduce:
- connect smartphone via USB port to PC
- start a test case
- communication is lost between smartphone and Ranorex during the test case procedure
- we get an error message (timeout)
- we notice the device is in status ''connecting'' in the down right windows
we tried to increase time-out to 60s.
we tried another usb port or cable
this behaviour appears in the newest version 5.4.
It was ok in the version 5.3
loss of communication with smartphone
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: loss of communication with smartphone
Hi legrand,
May I ask you to also post the following details?
[*]Which mobile OS version are you using?
[*]What is the exact error message?
[*]Which timeout in specific have you increased?
[*]Have you also tried to connect to the device by using Wifi, since this is normally much faster?
Thank you in advance for the details, they will help us in analyzing the issue.
Regards,
Markus
May I ask you to also post the following details?
[*]Which mobile OS version are you using?
[*]What is the exact error message?
[*]Which timeout in specific have you increased?
[*]Have you also tried to connect to the device by using Wifi, since this is normally much faster?
Thank you in advance for the details, they will help us in analyzing the issue.
Regards,
Markus
Re: loss of communication with smartphone
Hi Support Team,
The smartphone features are :
- Type : HTC One X
- Android version : 4.2.2
Error message : Device WaitFor(Device connected) Timed out
Timeout increased : Mobile\ Connect Timeout
PS : Sorry , but we've not tried connecting smartphone via wifi... We'll try !!
Kind regards
legrand
The smartphone features are :
- Type : HTC One X
- Android version : 4.2.2
Error message : Device WaitFor(Device connected) Timed out
Timeout increased : Mobile\ Connect Timeout
PS : Sorry , but we've not tried connecting smartphone via wifi... We'll try !!
Kind regards
legrand
Re: loss of communication with smartphone
Info
WIFI connection is OK...
Keep in touch
Kind regards
legrand
WIFI connection is OK...
Keep in touch
Kind regards
legrand
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: loss of communication with smartphone
Hi Legrand,
That's good news that it works via WIFI.
May I also ask you if it works when you execute the same test a second time?
Could it be that you reseted or established another adb connection to the device with another tool before you start the Ranorex test?
How many adb processes do you see in the task manager when you start the Ranorex test?
Regards,
Markus
That's good news that it works via WIFI.
May I also ask you if it works when you execute the same test a second time?
Could it be that you reseted or established another adb connection to the device with another tool before you start the Ranorex test?
How many adb processes do you see in the task manager when you start the Ranorex test?
Regards,
Markus
-
- Posts: 1
- Joined: Mon Dec 28, 2015 12:43 pm
Re: loss of communication with smartphone
Hi All,
Even I faced this issue with USB (With wifi I didn't try). Here is my scenario:
1. Run MobileApp with API
Host.Local.RunMobileApp(MobileName, appName, true);
2. CLose Appliaction with API
Host.Local.CloseApplication(AppRepository.Self);
3. Again Run MobileApp with API
Host.Local.RunMobileApp(MobileName, appName, true);
Please Note here MobileName and appName are same in both first and third step.
Details- Samsung Galaxy Mobile(Android Version 5.1.1),Ranorex 5.4.1
Let me know if there is issue in my approach or provide the way to deal with this
Regards,
Manish
Even I faced this issue with USB (With wifi I didn't try). Here is my scenario:
1. Run MobileApp with API
Host.Local.RunMobileApp(MobileName, appName, true);
2. CLose Appliaction with API
Host.Local.CloseApplication(AppRepository.Self);
3. Again Run MobileApp with API
Host.Local.RunMobileApp(MobileName, appName, true);
Please Note here MobileName and appName are same in both first and third step.
Details- Samsung Galaxy Mobile(Android Version 5.1.1),Ranorex 5.4.1
Let me know if there is issue in my approach or provide the way to deal with this
Regards,
Manish
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: loss of communication with smartphone
Hello,
The 'ConnectTimeout' issue was reproducible on our Android device. We are currently analyzing the issue.
In the meantime, as a workaround, I'd suggest connecting the device via WiFi, which is more reliable.
I will update this forum entry as soon as I have new information about the issue.
Regards,
Johannes
The 'ConnectTimeout' issue was reproducible on our Android device. We are currently analyzing the issue.
In the meantime, as a workaround, I'd suggest connecting the device via WiFi, which is more reliable.
I will update this forum entry as soon as I have new information about the issue.
Regards,
Johannes