Skip to main content
Self-pacedPart of AI Career Booster

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.

73 lectures9 modulesiOSSwift
Modules 4-5

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.

Swift for TestersThe Swift fundamentals you need, from variables and closures to optionals, classes and protocols.Module 3
Page Object architectureBase screen and base test, screen state, enums, a tab bar protocol and back navigation with generics.Module 5
Network mockingLive vs mock UI tests with Postman, Charles, SBTUITestTunnel and Stub-Recorder, plus negative tests and analytics.Module 7
CI, real devices and shardingxcodebuild, test plans, real devices, Allure reports, Marathon Cloud and test sharding.Module 8

Course content

9 modules · 73 lectures
  • 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 AugustynowiczDaniel AugustynowicziOS Developer / SDET

Daniel 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 ProkudaAnton ProkudaSr. iOS Softwared Developer in Test
Worked at
Tinder

Anton 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

★★★★★
“Good and straight to the point course! Gives all the important information to get started with XCUITest and doesn't overwhelm with too much theory. Techniques provided here are more advanced than other courses on XCUITest.”
Maryna Kalachova
★★★★★
“Absolutely Outstanding Course! I’m beyond impressed with this course. The content was not only incredibly well-structured and informative, but also engaging from start to finish. Every lesson felt purposeful, and the instructor did an exceptional job of explaining complex topics in a way that was easy to grasp. I came in with limited knowledge and am leaving with a solid foundation and real confidence in what I’ve learned. This course exceeded all expectations — highly recommended!”
Irina Iv
★★★★★
“Good course with an app to practice and best practices. Without a lot of theory”
Abigail Armijo
★★★★★
“Great course! Learned a lot about network mocking and improving UI tests in XCUITest. Highly recommended!”
VRVigneshwaran Raja
★★★★★
“Very well structured and informative course”
ILIhor L
★★★★★
“All material provided in easy to understand format from simple things to the hight level. Highly recommend this course!”
MEMax Eg
★★★★★
“Excellent course with best practices and real samples.”
AAAbigail Armijo
★★★★★
“I was recently moved to a high profile iOS project to assist with testing. I had pretty limited knowledge of mobile automation so I needed to get up to speed quickly. This course was perfect for my needs. The instructor goes over the basics of Swift, debugging with XCUITest and Xcode, basic framework architecture, some good recipes for common scenarios, and finally network mocking. Something I'd love to see added are sections on continuous integration (i.e., running the tests in a build pipeline in the cloud), better reporting (it's not exactly fast feedback to have folks opening up XCTest results in Xcode), and running automation on real devices (maybe through a device farm). Overall, good course. I will definitely recommend this as onboarding to new members of our team.”
DDDavid Davies
★★★★
“Very Thorough and to the point -last chapter shows alot of new features XCUITest offers to make tests more readable and definiteling something I would look to implement in my own line of work”
NMN M
★★★★★
“Great materials and learning contents.”
SPSorrawit Pichi
★★★★★
“Excellent Course!! I would recommend who wants to learn XCUITest Proficiently!!”
AAArul Amirtharaj
★★★★★
“I bought this course to prepare myself for the technical task of the Junior Automation Engineer position and as a result, I received a job offer immediately. Sincerely thankful for the course 💟”
OROlena Rolska
★★★★★
“This course is an excellent value! It provides a well-organized approach to learning Test Automation on the Apple platforms. The lessons are crisp and to the point, laid out in a logical order. All the information is provided with great examples and with real-time demonstration of the material. I highly recommend this course for anyone wanting to learn test automation for iOS and MacOS.”
MlMartin leon
★★★★★
“This instructor is one of the best in the sphere. Very knowledgeable and has a talent for delivering best-in-class lectures. Excellent class! It’s the most thorough material on XCTest I’ve seen anywhere. It's very detailed and covers all the steps from creating a testing framework from scratch using industry standards to mocking server responses. I highly recommend this course to anyone who wants to know the right way to build a reliable and easily scalable, and maintainable testing solution.”
Natalia Popova

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).

Every course has a channel

Engenious Discord Community

Get help, share knowledge, and grow faster with other QA engineers.

Join our Discord
Ask question