AppCenter 不允许 Xamarin UI 测试调用浏览器的解决方法?

问题描述

我正在编写 Xamarin UI 测试来测试我们的注册屏幕。作为此过程的一部分,用户必须确认他们提供的电子邮件地址有效。系统会向用户发送一封电子邮件,他们必须点击该电子邮件中的链接,然后用户才能返回我们的应用并继续注册过程。

在此 MS App 中心文档的 General Tips 部分中,它说...

Test can't automate multiple apps,or system apps (browser,camera,and so on). This limitation is true even for testing frameworks that allow full system control locally.

要在 issue 287 中从 MS 员工那里说清楚..

Also,you noted "browser [e.g. stock browser,safari] All",just to be clear,Xamarin.UITest can only automate your own app,and WebViews contained within your App SandBox. If your app launches the system browser,for example; then Xamarin.UITest is not able to automate that.

我宁愿不必使用后门更改我们应用程序中的代码。 我确定我可能会遇到另一个后门无法解决的类似问题。

所以我想解决这个问题,有人想出什么办法吗?

我猜这个解决方案会涉及向测试应用添加更多功能

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...