Page 1 of 1

Use native browsers for mobile web testing(IOS/Android) - 2018

Posted: Wed Dec 05, 2018 3:44 pm
by jsmith
Hello,
I have been on a mission these last two weeks to test real devices and emulated devices with our browser based app. Whilst we have the option to push browser tests to BrowserStack, this is very expensive if you want to test on devices. So I am tasked with investigating if Ranorex can run tests on real and emulated devices.
I need to test our browser based product via the native apps, Chrome and Safari. For this reason, using the RxBrowser is out of the question. After all, my end users will not be using the RxBrowser.
I searched the Ranorex site for help/information/instructions. I read on the forum that Ranorex can test native browsers, but the link provided sent me to the user guide and the user guide doesn't tell you how to test on native browsers, it tells you how to install RxBrowser.
Eventually I found a site with a video that walked you through setting up Ranorex and Appium to test on real and simulated Android devices.

Today I have found the tempting https://blog.testproject.io/2018/06/11/ ... thout-mac/, but this looks like using something that isn't Ranorex, and now that I'm invested in Ranorex, I'd rather keep using it.

Can anyone advise how I could now connect the ipad on my desk for the same purpose, and then, later, how to run an emulator for iOS devices, and press Run on Ranorex Studio and have my tests execute on Safari, on either a real device, or an emulated one?

Re: Use native browsers for mobile web testing(IOS/Android) - 2018

Posted: Thu Dec 06, 2018 8:45 am
by odklizec
Hi,

As far as I know, there is no way to run Ranorex tests on mobile devices, using native web browsers. This is why there is RxBrowser. It's Android/iOS security thing, which prevents Ranorex from accessing/controlling native (mobile) web browsers. In other words, there is no way around, no matter what. It's not a Ranorex flaw. It's just iOS/Android limitation for 3rd party apps.

Re: Use native browsers for mobile web testing(IOS/Android) - 2018

Posted: Thu Dec 06, 2018 9:21 am
by jsmith
Hello odklizec,
Thank you for your reply. I have been able to achieve this with Android real devices and an emulator. I was first alerted to the possibility of doing this by this post:

Code: Select all

https://www.ranorex.com/forum/viewtopic.php?f=23&t=5761&p=47806&hilit=native#p47806
:shock:
I have effectively ticked off android. Now I'm suffering trying to get Apple devices to work along similar lines.

I can provide a link to a video that showed me how to do the android devices, but wasn't sure if that was allowed on the forum.

Re: Use native browsers for mobile web testing(IOS/Android) - 2018

Posted: Wed Jan 30, 2019 8:44 am
by ambren
There are a few steps between here and there, though. There are a few conceptual differences to understand when creating an HTML5 mobile application, and you can easily get stuck somewhere along the way.

I’ve created this simple step-by-step guide to point you in the right direction no matter where you are along your app store journey – this article should help give you the context you need.