How to automate Turn On/Off Bluetooth,Scan for BT in iOS

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

How to automate Turn On/Off Bluetooth,Scan for BT in iOS

Post by Sai » Wed Aug 02, 2017 6:08 am

Hello Users,

Please execute if this topic is already discussed. I have searched around it but couldn't get best solution.

Here is my scenario i need to automate iOS System Application actions like Turn On/Off Mobile Bluetooth/wifi, Scan for Bluetooth Speakers, Connect/Pair to Bluetooth Speakers.
It is possible to automate out-side of AUT in Android devices and i already worked it successfully in Android.

Can we automate such actions i.e. out-side of AUTs (Non-instrumented) in iOS mobile devices?

Thanks in Advance.
Sai

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

Re: How to automate Turn On/Off Bluetooth,Scan for BT in iOS

Post by odklizec » Wed Aug 02, 2017 6:54 am

Hi,

I'm afraid, it's not possible to automate system (non-instrumented) apps on iOS. It's iOS security thing.
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

Sai
Posts: 22
Joined: Tue Jul 18, 2017 10:59 am

Re: How to automate Turn On/Off Bluetooth,Scan for BT in iOS

Post by Sai » Wed Aug 23, 2017 7:06 am

Thank for your reply.

Please correct me if i am wrong..

you mean that it is not possible to handle/automate iPhone native Applications through wi–fi (For Example : Setting page , Photos and etc)?

I have iOS applications and some of applications are launching over wifi so is it possible.

Thanks in Advance
Sai

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

Re: How to automate Turn On/Off Bluetooth,Scan for BT in iOS

Post by odklizec » Wed Aug 23, 2017 7:56 am

Hi,

I'm afraid, it's not possible to automate native (system) apps both via wifi and USB. It's an iOS security restriction. Ranorex has no access to these apps.
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