草庐IT

XCUIElementTypeOther

全部标签

ios - 如何通过 UI 测试执行 "swipe left"操作

如何通过Xcode中的UI测试执行“向左滑动”操作来触发segue和更改ViewController?记录的代码是[[[[[[[XCUIApplicationalloc]init].otherElementscontainingType:XCUIElementTypeNavigationBaridentifier:@"UIView"]childrenMatchingType:XCUIElementTypeOther].elementchildrenMatchingType:XCUIElementTypeOther].elementchildrenMatchingType:XCUIEle