locked
UI Test: Android Problem RRS feed

  • Question

  • User175568 posted

    Hi! I needed to update Xamarin UI Test nuget to version 2.2.2 in order to get it to work in iOS. But with that version, Android's UI Test stopped working. In fact, the latest version that works for Android UI Tests is 1.3.8. Why is that? Exception:

    Message: SetUp : System.Net.Http.HttpRequestException : An error occurred while sending the request. ----> System.Net.WebException : The underlying connection was closed: The connection was closed unexpectedly.

    The only workaround I've found is to create another project with another version for the nuget, just for Android and link the code. But that's awful :sweat:

    Thursday, January 4, 2018 6:12 PM

All replies

  • User306807 posted

    thanks to your hint I'm using package 1.3.8 now and I don't get the error anymore!

    Tuesday, January 23, 2018 5:26 PM
  • User160723 posted

    Did you already report this bug to the Xamarin team? Using 2.2.2 our UITests are constantly green on iOS but fail randomly on Android (device or emulators, does not matter).

    Monday, February 5, 2018 1:56 PM
  • User292698 posted

    Same issue here. I temporary turn off tests for Android :(. Focus on iOS first. I am thinking about using Appium, however, AppCenter doesn't support it for Xamarin yet.

    Monday, February 5, 2018 3:58 PM