I am using following setup
1) iOS, Android App development on visual studio on Mac with windows running in virtual machine.
2) I have these projects (Shared) in my solution
d) Xamarin.iOS e) Xamarin.iOS.UITest
For Android everything works fine but in iOS it says
Result Message: SetUp : System.Exception : iOS tests are not supported on Windows. Result StackTrace: at Xamarin.UITest.iOS.iOSApp..ctor(IiOSAppConfiguration appConfiguration) at Xamarin.UITest.Configuration.iOSAppConfigurator.StartApp(AppDataMode appDataMode)
" It is not possible to run UITests on iOS devices in Windows. You can only run UITests for iOS devices on Mac OS X."
Okay I want to run test on iOS offcourse so how will I run tests on mac while writing tests in visual studio because there is a project availbale in visual studio ios, I am bit confuse can someone clarify my doubts ? If its not possible what this kind of project is doing here please see screenshot
So how can I create UITest for iOS in Xamarin Visual Studio ?
Well on more informaiton I am confused my created says following
" TODO: If the iOS app being tested is included in the solution then open
// the Unit Tests window, right click Test Apps, select Add App Project
// and select the app projects that should be tested."
Where is that windows?
Finally if anyone can give a quick solution to start iOS test or Can tell me from where should I start, I followed documentation and implemented the same UITest for android. Due to some reason I want to create a separate UITest for iOS thats why I did not provide reference in Android UITest. Well Also there is something strange, reference is grayed out here.