Automated iOS testing using Windows

Ask general questions here.
josephdcoleman
Posts: 6
Joined: Mon Apr 22, 2013 4:33 pm

Automated iOS testing using Windows

Post by josephdcoleman » Mon Apr 22, 2013 4:35 pm

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

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automated iOS testing using Windows

Post by odklizec » Mon Apr 22, 2013 5:28 pm

Yes you can. Actually, it's the only way. Ranorex is currently a Windows-only tool.
Pavel Kudrys
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

josephdcoleman
Posts: 6
Joined: Mon Apr 22, 2013 4:33 pm

Re: Automated iOS testing using Windows

Post by josephdcoleman » Tue Apr 23, 2013 8:41 am

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

josephdcoleman
Posts: 6
Joined: Mon Apr 22, 2013 4:33 pm

Re: Automated iOS testing using Windows

Post by josephdcoleman » Tue Apr 23, 2013 8:49 am

Also, from what I read on this page you have to have Xcode installed which is a native Mac application.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automated iOS testing using Windows

Post by odklizec » Tue Apr 23, 2013 9:02 am

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?
Pavel Kudrys
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

josephdcoleman
Posts: 6
Joined: Mon Apr 22, 2013 4:33 pm

Re: Automated iOS testing using Windows

Post by josephdcoleman » Tue Apr 23, 2013 5:07 pm

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?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automated iOS testing using Windows

Post by odklizec » Tue Apr 23, 2013 9:21 pm

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.
Pavel Kudrys
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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Automated iOS testing using Windows

Post by Support Team » Thu Apr 25, 2013 12:46 pm

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

Jairah
Posts: 1
Joined: Mon Oct 13, 2014 11:50 am

Re: Automated iOS testing using Windows

Post by Jairah » Mon Oct 13, 2014 12:14 pm

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!

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Automated iOS testing using Windows

Post by Support Team » Wed Oct 15, 2014 3:46 pm

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)