The XCUITest testing framework is the default framework promoted by Apple for testing iOS applications. Typically, the XCUITest framework is used for functional testing, automating testing of common workflow, demo sequences or behavior of customer views.
To try out the framework, one can try to use XCUITest Recorder for recording the first steps of the automated test. To find elements, their properties, and navigating through the elements of the tree of the application, one can also make use of the interface builder.
The mobile application IPA needs to be created as described in creating iOS Application Package. Once the IPA file is created, the XCUITest Runner application should be located in the same folder as the application itself. Right-click the .app file and click Show in Finder.
This folder contains a file ending with “-Runner.app”.
For example, if the UI test target name is
LocalizationDemoUITests, the app folder should contain the
Next, this file is compressed into a zip package. Right-click the file ending with “-Runner.app” and select Compress <-Runner.app>. This creates a .zip file that can be upload to BitBar Testing Cloud as the test package of the BitBar Testing XCUITest test project.
For an example Xcode project with XCTest and XCUITest cases, please check our online samples.