0
如何在iPhone中的UIAutomation腳本中獲取UIButton的onlick事件?UIAutomation UIButton onClick事件
如何在iPhone中的UIAutomation腳本中獲取UIButton的onlick事件?UIAutomation UIButton onClick事件
對於您的主窗口中的第一個按鈕:
UIATarget.localTarget().frontMostApp().mainWindow().buttons()[0].tap();
還對所有的步驟將測試腳本運行看this document蘋果。