How to Use XCUITest API

#ICYDK: So far, we have covered most of the topics around setting up the XCUITest framework and making it scalable and maintainable. However, we haven’t covered the XCUITest API and the other features of XCUITest framework that we can use in our iOS app testing. In this post, we will cover the basics of XCUITest API and how to utilize those API to write UI tests for iOS apps.

XCUITest API

Apple announced the Xcode UI Testing, which covers most of the underlying architecture of the XCUITest framework. It’s highly recommended that one should watch this session until the end to understand the XCUITest API in detail. In summary, XCUITest has three main classes: https://goo.gl/fcTEQx