iOS Test Automation with XCUITest
Learn native iOS UI test automation with XCUITest , from installing Xcode to running tests in CI. Start with no automation experience: set up the project, learn the Swift you need and write your first test. Then build a scalable framework with the Page Object pattern, mock the network, and scale with CI, real devices and test sharding.
A native XCUITest, written with Page Objects
Screen objects keep the test readable. xcodebuild runs it on the iOS Simulator, the same command you use in CI.
What you’ll be able to do
Set up Xcode and a UI testing target for an existing iOS app
Learn the Swift fundamentals you need for test automation
Write UI functional tests with the XCUITest library, using accessibility identifiers, assertions and waits
Build a scalable test architecture with the Page Object pattern
Mock network services for stable, fast tests and cover app analytics
Use advanced XCUITest features: activities, attachments, screenshots and launch arguments
Run tests in CI with test plans, real devices, Allure reports and test sharding
Use GitHub Copilot in Xcode to speed up test writing
Course overview
Nine modules, from Xcode setup to a production-grade iOS test framework.
Course content
9 modules · 73 lectures- 1.1 Course IntroductionWatch free
- 1.2 Who This Course Is ForWatch free
- 1.3 How to Get HelpWatch free
- 1.4 Course Content OverviewWatch free
- 1.5 Four Important Points to Be Successful in This CourseWatch free
- 2.1 Comparing XCUITest and Appium for Mobile TestingWatch free
- 2.2 Where to Get Source Code for the Test AppWatch free
- 2.3 Xcode Download and SetupWatch free
- 2.4 Xcode OverviewWatch free
- 2.5 Cloning the App ProjectWatch free
- 2.6 Building the App in XcodeWatch free
- 2.7 UITesting Target SetupWatch free
- 3.1 Intro to Swift FundamentalsWatch free
- 3.2 VariablesWatch free
- 3.3 Data TypesWatch free
- 3.4 OperatorsWatch free
- 3.5 Control FlowWatch free
- 3.6 FunctionsWatch free
- 3.7 Collections: ArraysWatch free
- 3.8 Collections: DictionariesWatch free
- 3.9 ClosuresWatch free
- 3.10 EnumsWatch free
- 3.11 OptionalsWatch free
- 3.12 ClassesWatch free
- 3.13 ProtocolsWatch free
- 3.14 What's Next with SwiftWatch free
- 4.1 First TestWatch free
- 4.2 AI Refactoring (Optional)
- 4.3 Introduction to the XCUITest Library
- 4.4 Improving Test Quality
- 4.5 Test Coding Challenge
- 5.1 Why ArchitectureWatch free
- 5.2 Page Object
- 5.3 Base Screen and Base Test
- 5.4 Screen State
- 5.5 Enums in Action
- 5.6 Tab Bar Protocol
- 5.7 Back Navigation with Generics
- 5.8 Challenge
- 6.1 Find by Index
- 6.2 Optimizations and API Wrapper
- 6.3 Handling Location Alerts
- 6.4 WebViews · Automating Facebook Authentication
- 6.5 Deleting the App Under Test
- 6.6 Introduction to Launch Arguments · Facebook Logout
- 6.7 Working with Date Objects
- 6.8 Activities, Attachments and Screenshots
- 6.9 Challenge
- 7.1 Live vs Mock UI TestsWatch free
- 7.2 Postman
- 7.3 Charles
- 7.4 Facebook Auth
- 7.5 SBTUITestTunnel
- 7.6 Stub Test
- 7.7 Negative Test
- 7.8 Analytics
- 7.9 Intro to Stub-Recorder
- 7.10 Recording a Test with Stub-Recorder
- 7.11 Stub-Recorder vs SBTUITestTunnel
- 8.1 Run Tests in CI
- 8.2 Xcode Build
- 8.3 Run Tests on a Real Device
- 8.4 Test Plan
- 8.5 Allure Report Integration with XCUITest
- 8.6 Marathon Setup
- 8.7 Testing on Marathon Cloud Runner
- 8.8 Introduction to Test Sharding and Scalable Test Infrastructure
- Xcodebuild commandsResource
- 9.1 Introduction to GitHub Copilot
- 9.2 Copilot Setup
- 9.3 How to Create a New Test with Copilot
- 9.4 How to Debug with Copilot
- 9.5 Copilot Limitations
- 9.6 Copilot Is Just a Helper
About this course
Whether you are in development, testing or operations, every team member is now responsible for quality. XCUITest is Apple's native UI testing framework and ships with Xcode, which makes it the natural choice for testing iOS apps.
This course takes you from zero to a production-grade iOS test framework in 9 modules:
Getting started – install Xcode, clone and build the OrderMe demo app, and add a UI testing target
Swift for Testers – the Swift fundamentals you need, so you can focus on tests rather than syntax
Your First XCUITest – record and refactor your first test, find elements with accessibility identifiers, add assertions and waits
Test architecture – a scalable Page Object framework using protocols, extensions, enums and generics
UI testing techniques – alerts, WebViews, launch arguments, dates, activities, attachments and screenshots
Network mocking – stable tests with SBTUITestTunnel and Stub-Recorder, negative tests and analytics coverage
CI – xcodebuild, test plans, real devices, Allure reports, Marathon Cloud and test sharding
AI-assisted development – GitHub Copilot in Xcode as a helper, not a replacement for the fundamentals
No previous iOS automation experience is required – just a Mac and the willingness to code along.
Your instructors
Daniel AugustynowicziOS Developer / SDETDaniel Augustynowicz is an experienced iOS Software Development Engineer in Test (SDET) with a solid background in enterprise projects. Equipped with deep expertise in QA Automation, XCUITest, Swift, and iOS Development, he is dedicated to ensuring the highest levels of software quality and reliability, regardless of the project’s scale.
His commitment to excellence goes far beyond standard testing. Daniel actively explores cutting-edge practices in Software Developing, Mobile Testing, DevOps methodologies, and Continuous Integration (CI) processes, allowing him to work effectively in complex enterprise environments. Always staying on top of industry trends and innovations, he is consistently focused on professional growth and refining his skill set to uphold the highest standards in every aspect of his work.
Anton ProkudaSr. iOS Softwared Developer in TestAnton Prokuda is a Senior Software Engineer with 7 years of experience in mobile iOS software engineering. He has a strong knowledge of Object Oriented and Protocol Oriented Programming, Design patterns, and S.O.L.I.D. principles. Anton has expertise in developing complex solutions, designing architecture, and implementing frameworks, utilities, and tools. With a unique experience in release processes and testing automation, Anton is skilled in deploying and setting up Continuous Integration/Continuous Delivery infrastructure. Anton's technical skills include Swift, Objective-C, AppleScript, Bash, and SQL programming languages. He is proficient in using Xcode as an IDE and has experience with CI/CD tools such as Jenkins, CircleCI, and Bitrise. Anton is well-versed in writing unit tests and UI tests using XCTest, Quick/Nimble, and SBTUITestTunnel, and is a guru with debugging tools such as Xcode Instruments, Charles Proxy, and Wireshark. In his professional experience, Anton has contributed significantly to various projects. At Engenious, he has been the driving force behind scalable test architecture and has contributed to open-source parallel test execution solutions. Anton has also built an iOS CI/CD solution from scratch. During his time at Tinder, he played a key role in architecting iOS releases and automating the release process. He developed advanced UI tests and integrated external services for strings translation.
What EnGenious students say
Who this course is for
- Manual QA engineers moving into iOS test automation – no previous automation experience needed
- Automation engineers coming from Selenium, Appium or web frameworks who want native iOS testing
- SDETs and developers who want a scalable XCUITest framework with mocking and CI
Course requirements
- A Mac – iOS development and testing only run on macOS. A MacBook Pro, MacBook Air or Mac mini works; Apple silicon with 16 GB RAM is recommended.
- The latest Xcode from the Mac App Store (we install it together in Module 2).
- A free GitHub account.
- A Discord account – course announcements and support happen in our Discord community.
Frequently asked questions
You will be coding in XCode environment using Swift programming language
Yes, in some modules you will find practicing files in the “Additional resources” section. You can download them and try coding by yourself. The lectures with the description of the topic you will find in “Lectures” section under the respective number
Having a physical device is always a plus but not necessary since we may use an emulator/simulator instead.
Yes, the course language is English.
We have a dedicated instructor, who will answer your questions within 24 hours. Join our Discord community and contact us anytime in the dedicated private Discord chat.
There are 9 modules, from Xcode setup and Swift fundamentals through test architecture, network mocking, CI and AI-assisted development. You can go through the videos at your own pace.
You can find out about our company through the website: https://university.engenious.io/ .
No. Everything from the free intro course is now part of this course – setup is in Module 2 (Getting Started with iOS Test Automation) and your first tests are in Module 4 (Your First XCUITest).
Engenious Discord Community
Get help, share knowledge, and grow faster with other QA engineers.



