相关疑难解决方法(0)

UITesting Xcode 7:如何判断XCUIElement是否可见?

我正在使用Xcode 7中的UI测试自动化应用程序.我有一个带有XCUIElements(包括按钮等)的滚动视图.有时XCUIElements是可见的,有时它们在scrollview上隐藏得太远(取决于我在scrollview上的位置).

有没有办法将项目滚动到视图中,或者可能会告诉它们是否可见?

谢谢

automation ui-testing swift xcode7 xcode-ui-testing

9
推荐指数
3
解决办法
8202
查看次数

标签 统计

automation ×1

swift ×1

ui-testing ×1

xcode-ui-testing ×1

xcode7 ×1