locked
Xamarin UI Test iOS on Windows RRS feed

  • Question

  • User309598 posted

    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!

    Friday, March 30, 2018 9:26 AM

All replies

  • User253743 posted

    Does anyone know if there has been any progress on this front? It would be really handy to be able to run iOS UI tests from a Windows machine with VS 2017. Thanks!

    Monday, October 22, 2018 10:42 PM
  • User385278 posted

    Did anyone managed to run Xamarin-UITests for iOS on Windows? :blush:

    Friday, May 17, 2019 12:26 PM
  • User72117 posted

    @XcodXam you ever get this to work. I swear it worked in November of last year on VS 2017

    Monday, May 20, 2019 8:51 PM
  • User74 posted

    The Microsoft documentation I have just read says that iOS UI Tests do not work on Windows.

    EDIT: And here is one of the links https://docs.microsoft.com/en-us/appcenter/test-cloud/uitest/working-with-ios-simulator?tabs=vswin

    Tuesday, May 21, 2019 11:21 AM
  • User272075 posted

    For being able to run Xamarin.UITest iOS tests locally on a simulator via VS on WINDOWS (connected to a mac): express your interest here: https://github.com/microsoft/appcenter/issues/574

    Saturday, August 24, 2019 4:17 AM