【发布时间】:2019-01-28 16:18:28
【问题描述】:
如何查询由 repl() 检查的 Xamarin.Froms 控件没有 id 和文本。一个示例是在 XAML 中设置了 Text 和 On 属性的 SwitchCell。我更喜欢不需要编辑 XAML 视图的解决方案(如果可能的话)。
【问题讨论】:
标签: c# .net xamarin xamarin.forms xamarin.uitest
如何查询由 repl() 检查的 Xamarin.Froms 控件没有 id 和文本。一个示例是在 XAML 中设置了 Text 和 On 属性的 SwitchCell。我更喜欢不需要编辑 XAML 视图的解决方案(如果可能的话)。
【问题讨论】:
标签: c# .net xamarin xamarin.forms xamarin.uitest
app.Tap(c => c.Marked("NameOfControl"));
这还取决于什么控件等。粘贴你在 Repl() 上的内容或截图,以便我们提供帮助。你没有提供足够的信息。
【讨论】: