Friday, July 3, 2026
HomeiOS Developmentios - Does XCUITest sort textual content operate ship a keyboard enter?

ios – Does XCUITest sort textual content operate ship a keyboard enter?

[ad_1]

Does the XCUITest typetext operate really ship a keyboard occasion by means of the iOS keyboard or does it easy copy the worth supplied to it straight into the textual content field?

I attempted to ship in Chinese language by means of the typeText Operate whereas the keyboard was of English sort, the textual content field was populated appropriately with Chinese language characters. However this based on me reveals that the typeText operate simply copies the textual content given to it to the textual content field and doesn’t ship a keyboard occasion.

Is my understanding right?

I’ve additionally tried out frameworks like appium however they too internally use typeText supplied by XCUITest.

I’ve additionally requested this query within the apple dev discussion board however no replies. Hope the StackOverflow neighborhood has a solution 🙂

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments