I'm facing a problem with 'Textview' type field. I am unable to enter text in FeedbackTextView
field.
let FeedbackTextView = app.staticTexts["Feedback Textview"]
FeedbackTextView.tap()
FeedbackTextView.typeText("This is test feedback")
Following error is displayed when above code is executed.
UI Testing Failure - Neither element nor any descendant has keyboard focus. Element:
feedbackTextView
) – FrohmanFeedbackTextView
would be optional, but I don't see you unwrapping the optional. – Frohman