Can we Run Android script against iOS

Mobile Testing, Android App Testing.
Posts: 22
Joined: Tue Jul 18, 2017 10:59 am

Can we Run Android script against iOS

Post by Sai » Tue Dec 05, 2017 7:44 am

Hello Team,

I have the Automation script written for Android App. Can I use the same script to run for iOS App ? or do I need to write the separte script for iOS app to work?
Do I need to change the object repository. Since iOS app uses different name for objects as compared to android.

I have searched above query in forum and didn't get any solution.

Thanks in advance.

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

Re: Can we Run Android script against iOS

Post by odklizec » Tue Dec 05, 2017 9:11 am


If you by "Android script" mean Ranorex test for Android app, then no, Android and iOS are completely different and there is no (or very small chance) to make just one Ranorex script for both platforms. The only chance would to make a repository, which is compatible with both platforms. But because they are both different and using diffetent names, there is almost no chance to do that. So yes, you will have to build two separate sets of repo elements (one for Android and one for iOS) and two separate scripts.
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