Page 1 of 1

Automated iOS testing using Windows

Posted: Mon Apr 22, 2013 4:35 pm
by josephdcoleman
Is it possible to setup and run automated tests for iOS using a Windows PC? I'm not seeing anything that say I can.

Thanks

Re: Automated iOS testing using Windows

Posted: Mon Apr 22, 2013 5:28 pm
by odklizec
Yes you can. Actually, it's the only way. Ranorex is currently a Windows-only tool.

Re: Automated iOS testing using Windows

Posted: Tue Apr 23, 2013 8:41 am
by josephdcoleman
I should have been more specific. I am needing to do automated testing for a mobile website on iOS and Android. From what I see on the page linked below (mobile webiste info is at the bottom of the page), I need to install RXBrowser XCode project on a Mac. It does not appear that I can install this in Windows. Thanks for any help.

http://www.ranorex.com/support/user-gui ... sting.html

Re: Automated iOS testing using Windows

Posted: Tue Apr 23, 2013 8:49 am
by josephdcoleman
Also, from what I read on this page you have to have Xcode installed which is a native Mac application.

Re: Automated iOS testing using Windows

Posted: Tue Apr 23, 2013 9:02 am
by odklizec
Nono, you don't need to install the RXBrowser browser on MAC. The RXBrowser, how I understand it, is an already instrumented web browser for iOS devices, built by the Ranorex team. You just need to rebuild this project in xcode and transfer it to your iOS device (only for iOS web testing purposes).

The thing is, that each iOS/Android app you want to test with Ranorex, must be first instrumented with the Ranorex specific code. To be able to instrument the application, you need a source code of such app. And because Apple will hardly ever offer the Safari for iOS source codes, Ranorex offers an already instrumented iOS web browser, which you just need to rebuild and transfer to your iOS device.

So yes, you still need a Mac with the xcode for instrumenting and uploading iOS apps to iOS devices. But then you can record and replay the Ranorex tests on Win machine (without the need to use Mac).

Hope this helps?

Re: Automated iOS testing using Windows

Posted: Tue Apr 23, 2013 5:07 pm
by josephdcoleman
Yes, it helps. Howerver, this is just a mobile webiste -- there is no app, at least not yet. So, to clarify -- I initally have to setup the iOS deivce using a Mac, correct? Once that device is configured, I can then create and run automated tests using stricly a windows machine? In addition, I have a Mac located at a remote office, which I have VNC access to. I thought I saw something in regards to connecting an iOS devices via a network to do the setup. Is that possible?

Re: Automated iOS testing using Windows

Posted: Tue Apr 23, 2013 9:21 pm
by odklizec
All you need to do (to test the web page on iOS using Ranorex) is to compile and install the RXBrowser app. With this app installed, you can load the web page in it and automatize it.

As for your other question, I'm afraid, I can't answer that.

Re: Automated iOS testing using Windows

Posted: Thu Apr 25, 2013 12:46 pm
by Support Team
Hello,

I will try to answer your questions below.
I initally have to setup the iOS deivce using a Mac, correct?
Yes, that's correct.
Once that device is configured, I can then create and run automated tests using stricly a windows machine?
Ranorex is working on Windows-based systems only. So you can only record and execute Ranorex tests using a windows machine.
Please take a look at the System Requirements for Ranorex.

Please take a look at the section "iOS Testing" in our user guide in order to get more detailed information how to automate your iOS app with Rarnoex.

Regards,
Bernhard

Re: Automated iOS testing using Windows

Posted: Mon Oct 13, 2014 12:14 pm
by Jairah
Hi,

I'm actually trying Ranorex and I can't find a link that will guide me in running my own app for testing.
When I went to the ios testing page and followed the instruction for my own app I got this result:
Could not launch app because no debug-session was running on the device...
(ranorex website.support.user-guide-20)ios-testingl#NoDebugImage

Sorry the forum is not allowing me to post link yet.

But then the screenshot is in Mac, and I'm using windows 8. So how do I run my app in iOS and record my actions for testing?

Thanks!

Re: Automated iOS testing using Windows

Posted: Wed Oct 15, 2014 3:46 pm
by Support Team
Hi Jairah,

In order to start an application on an iOS device it is necessary to enable a debug session on this device.
May I ask you to have a look in our User Guide by following this link
This section describes all requirements which have to be met to record an iOS test.

Please also note: The debug session is only needed when you use USB connection to your device.
An overview of the connections can also be found in our User Guide - iOS Testing.

Regards,
Markus (S)