我在尝试执行针对 Xamarin.UI.Test 框架编写的 UI 测试脚本时收到错误消息:“Windows 不支持 iOS 测试”。
有没有办法从 Visual studio 2017(Windows 机器)远程运行 IOS 应用程序的 UI 测试?
Appium 具有远程服务器功能,使我们能够连接到 Mac 并运行测试脚本。 Xamarin UI测试有这样的功能吗?
最佳答案
不支持使用 Mac 代理从 Windows 运行 iOS Xamarin.UITests。
原因:
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").
解决方案:
您可以使用 Xamarin Studio 直接在 Mac 上运行它们。
关于c# - 我想将我的 Iphone 连接到 MAC mini,并使用 Xamarin UI 测试从我的 Windows 计算机远程运行测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53494275/