Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Detecting phone v. simulator during a test run

$
0
0

I'm writing mobile tests with UITest against a Xamarin app. I have a small set of test cases that require interaction with the camera. I can code around these steps when using a simulator but I haven't been able to determine the difference between phone and simulator in the test.

Trying to access Xamarin.UITest.iOS.iOSDevice.IsSimulator in the test.

Any help?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>