I am new to Ranorex Studio and I have tried several times to connect Android and iOS devices through 'Endpoints' option but always says an 'error' after complete setup is done.
This is very critical as I am blocked with the test automation task and even I couldn't integrate it with CI-Jenkins.
Unable to connect Android and iOS devices through 'Endpoints' option.
Unable to connect Android and iOS devices through 'Endpoints' option.
You do not have the required permissions to view the files attached to this post.
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
Hi,
Have you tried to increase Connection and USB connection timeouts? Maybe also General and Network timeout settings?...
Have you tried to increase Connection and USB connection timeouts? Maybe also General and Network timeout settings?...
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
I am having the same issue on 9.2.1 with Android. I turned all the recommended settings up and it did not work. How does it add the endpoint, and then immediately after the setup is complete, can't find it? I have never seen this before using USB.
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
Hi,
Get your devices recognized by your machine? You can figure it out with the adb tool of Ranorex.
The adb tool is usually stored in C:\Program Files (x86)\Ranorex\Studio\Bin\RxEnv\Android\Tools.
Open the command window and type the command "adb devices". When your devices get found, the output window should look like my attached picture "adb_1".
Restart the adb server, if your devices aren't found. You can restart the adb server with the commands "adb kill-server" and "adb start-server".
The output window should look like my attached picture "adb_2".
Afterwards, try again to find your devices with the command "adb devices".
Besides, I was facing a similar issue and in my case it helped to decrease the connection timeout.
Try to set the timeout to 2s. If it doesn't help, set it to 5s.
regards,
Get your devices recognized by your machine? You can figure it out with the adb tool of Ranorex.
The adb tool is usually stored in C:\Program Files (x86)\Ranorex\Studio\Bin\RxEnv\Android\Tools.
Open the command window and type the command "adb devices". When your devices get found, the output window should look like my attached picture "adb_1".
Restart the adb server, if your devices aren't found. You can restart the adb server with the commands "adb kill-server" and "adb start-server".
The output window should look like my attached picture "adb_2".
Afterwards, try again to find your devices with the command "adb devices".
Besides, I was facing a similar issue and in my case it helped to decrease the connection timeout.
Try to set the timeout to 2s. If it doesn't help, set it to 5s.
regards,
You do not have the required permissions to view the files attached to this post.
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
My device is recognized, I have reinstalled Samsung Drivers, and I have tried the adb services suggestion. Nothing works. It finds the device perfectly fine. After the setup is complete, it fails to connect. Just attempts it, and ends in error every time.
Here is the strange part ... on another machine, it works just fine. Both Windows 10, but different brand of Dell computer. I am beginning to wonder if it is a USB port issue on these machines. I am going to inquire with my IT staff, but I can't keep burning hours trying to get this to work. I need a stable connection and IP address can be dynamic. That is ok, as long as our servers don't go down or power cycle. But they do and that causes issues for us on our CI machine test stands. Which is why I wanted to use USB - but this is eating up way too much time trying to resolve a simple USB port connection.
If you have any other ideas, please post. Thanks in advance!!!
Here is the strange part ... on another machine, it works just fine. Both Windows 10, but different brand of Dell computer. I am beginning to wonder if it is a USB port issue on these machines. I am going to inquire with my IT staff, but I can't keep burning hours trying to get this to work. I need a stable connection and IP address can be dynamic. That is ok, as long as our servers don't go down or power cycle. But they do and that causes issues for us on our CI machine test stands. Which is why I wanted to use USB - but this is eating up way too much time trying to resolve a simple USB port connection.
If you have any other ideas, please post. Thanks in advance!!!
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
Hi,
If the connection works on another machine, then there is definitely something wrong with your PC? My best guess is that it's something with Ranorex pre-requisities or USB driver? Have you tried to uninstall and reinstall Ranorex and all system requirements?
If the connection works on another machine, then there is definitely something wrong with your PC? My best guess is that it's something with Ranorex pre-requisities or USB driver? Have you tried to uninstall and reinstall Ranorex and all system requirements?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
I am facing exactly the same problem and increasing timeout is not helping here.
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
Hi,
At first, are you sure there is installed proper usb driver and the app is correctly instrumented?
At first, are you sure there is installed proper usb driver and the app is correctly instrumented?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
I tried multiple drivers,
I didn't do any instrumentation, trying to get the phone connected first
allowed Ports and enabled debugging,
I didn't do any instrumentation, trying to get the phone connected first
allowed Ports and enabled debugging,
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
Hi,
You don't have to try multiple driver, just the correct one Please check on phone manufacturer's website, which USB driver should be used with your phone. If it still does not work, try it also on another computer.
You don't have to try multiple driver, just the correct one Please check on phone manufacturer's website, which USB driver should be used with your phone. If it still does not work, try it also on another computer.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Unable to connect Android and iOS devices through 'Endpoints' option.
So, was this ever resolved, I'm having the same issue, but it was working about 3 days ago.
I'm also seeing that there was some updates made this past weekend, could that be the issue?
I'm also seeing that there was some updates made this past weekend, could that be the issue?
You do not have the required permissions to view the files attached to this post.