Xamarin UI Test iOS on Windows

XcodXamXcodXam RUMember ✭✭

I need testing UI of my Xamarin application under iOS. I use the Xamarin.UITest | CrossPlatform on Visual Studio (windows 10) for this. Yesterday i found the solution of Android and now need it for iOS simulator. My PC is connected to mac, and I can start application on local machine in simulator. But I can't start UI test :

public class AppInitializer
{
   public static IApp StartApp(Platform platform)
   {
       if (platform == Platform.Android)
        {
            return ConfigureApp
                .Android
                .ApkFile(@"D:\..MyApp.apk")
                .StartApp();
     }

        return ConfigureApp
            .iOS
            .AppBundle(@"D:\..MyApp.iOS")
            .StartApp();
    }
}

Message: SetUp : System.Exception : iOS tests are not supported on Windows.

iOS Simulator Work correct, why I can't start UI.Test ? Thanks!

Answers

Sign In or Register to comment.