I would like to connect my Iphone to a MAC mini and remotely run tests on it from my Windows machine using Xamarin UI test

江枫思渺然 提交于 2020-01-15 05:38:49

问题


I am getting the error saying "iOS tests are not supported on Windows" while trying to execute UI test script written against the Xamarin.UI.Test framework.

Is there any way to remotely run UI test on IOS app from Visual studio 2017 (windows machine)?

Appium has a remote server feature which enable us to connect to mac and run test script. Does Xamarin UI test has any feature like this?


回答1:


Running iOS Xamarin.UITests from Windows using the Mac Agent is not supported.

Cause:

The UITest driver is using Apple's XCUITest to drive the UI automation and that is not compatible with the way that Xamarin's iOS remoting works (basically a UI "hack").

Solution:

You can instead run them directly on the Mac using Xamarin Studio.

Refer:How to run test using VS on iOS simulator(on mac)



来源:https://stackoverflow.com/questions/53494275/i-would-like-to-connect-my-iphone-to-a-mac-mini-and-remotely-run-tests-on-it-fro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!