2
所以在XCUITest我用這個代碼來獲得一個按鈕:XCUITest檢測的UIView
XCUIApplication *app = [[XCUIApplication alloc] init];
XCUIElement *button = app.buttons[@"button_identifier"];
獲得使用app.images
等使用app.tables
和形象的tableview。
但是我怎樣才能得到一個視圖(UIView)?