I am planning to implement XCUITest to test my native mobile application which is developed in react native? Does XCUITest support UI automation of these native applications other than developed using Swift?

If yes, are there any useful links for me get started?

Replies

Xcode’s UI testing requires that the target app uses on-screen controls that are visible to iOS’s accessibility infrastructure. I believe React Native uses native controls, which clearly are visible to accessibility, and thus you shouldn’t have problems with this. However, I’m not a React Native expert, so I think it’d be best if you either prototyped this for yourself or raised the issue via the support for that framework.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"


WWDC runs Mon, 4 Jun through to Fri, 8 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face.