Adding a endpoint automatically
Posted: Thu May 09, 2019 1:08 pm
Hello everyone,
I've been testing on Android Studio emulators and my company would like to automate starting up an emulator by starting my Ranorex test. I've been able to create a bat file that startups my Android emulator, but now I ran into a problem with Ranorex. The problem is that Ranorex supports connecting endpoints manually and I've seen some sample codes about automatic connecting WebDriver endpoints, but I need to be able to refresh or reconnect Android and Apple endpoints automatically.
A week ago I've asked this ^ question and I got the right answer. The only problem is that after a little while Ranorex loses connection to the endpoint and the test fails. After searching the internet I found out that it isn't possible to reconnect endpoints that are manually added using the Ranorex UI (correct me if I'm wrong). So the only question that's left is how am I able to add and delete endpoints by User Code?
So might there be any User Code or option to automatically add and delete Android endpoints?
Detailed description of my system:
Windows 10 Enterprise
Ranorex 8.3.3
Service App 2.0.3 on Android
If there is anymore information needed, I would like to hear!
I've been testing on Android Studio emulators and my company would like to automate starting up an emulator by starting my Ranorex test. I've been able to create a bat file that startups my Android emulator, but now I ran into a problem with Ranorex. The problem is that Ranorex supports connecting endpoints manually and I've seen some sample codes about automatic connecting WebDriver endpoints, but I need to be able to refresh or reconnect Android and Apple endpoints automatically.
A week ago I've asked this ^ question and I got the right answer. The only problem is that after a little while Ranorex loses connection to the endpoint and the test fails. After searching the internet I found out that it isn't possible to reconnect endpoints that are manually added using the Ranorex UI (correct me if I'm wrong). So the only question that's left is how am I able to add and delete endpoints by User Code?
So might there be any User Code or option to automatically add and delete Android endpoints?
Detailed description of my system:
Windows 10 Enterprise
Ranorex 8.3.3
Service App 2.0.3 on Android
If there is anymore information needed, I would like to hear!