I want to set the text for my UITextField using xctest
app.textFields["enter "].tap()
app.textFields["enter "].text = "xyz"
but its throwing error and I am not finding any alternative way to do it.
尝试
app.textFields["enter "].typeText("xyz")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.