
Learn to automate iOS UI testing with Swift and XCUITest in Xcode, from zero to an end-to-end test, and build a maintainable framework with the page object pattern.
Open Xcode and create a new blank playground. Run it to verify the output on the right side and master the basics of using the playground.
Master how to declare variables and constants in Swift using var and let, explore mutable versus constant data, and see examples with integers and strings.
Explore Swift data types, including character, string, integer, double, float, and boolean, and learn string interpolation with print to display values in the console.
Discover Swift collections by defining an empty array, adding dog, cat, tiger, using isEmpty and count, and using dictionaries to map countries to capitals with Germany Berlin and Italy Rome.
Explore core operators in Swift: plus, minus, times, and quotient, including integer division quirks. Learn to compare numbers and strings with greater than, less than, equal, and not equal.
Explore control flow in Swift by building if statements to compare values, use equality and else if conditions, and handle boiling, normal, and frozen water temperature scenarios.
Explore how functions reuse code, accept inputs, and return outputs in Swift. Learn to declare, call, and annotate return types with examples like wake up David.
Explore how Swift classes model objects as blueprints with properties, init, and methods. Create a person instance to access name and age and call the talk method.
Unzip the course archive, open the Xcode project, and load the iOS test automation setup. Switch to iOS 15.5 on the simulator, build, and run the app to verify readiness.
Explore automating iOS ui testing of a to-do list app, including creating tasks with keyboard input, editing in edit mode, marking completed or not, and deleting tasks with minus button.
Create a UI testing target in Xcode, add a UI testing bundle, configure deployment to iOS 15.5, and run a sample test in the simulator to achieve a passing test.
Learn how to use the test recorder in Xcode to record UI interactions in the simulator, generate test code, and refine taps and locators for reliability.
Explore the console and element tree to debug iOS UI tests, set breakpoints, and print the app's elements to identify visible elements like navigation bars and buttons.
Explain how to write an automated test case by detailing every user interface interaction—from opening the app and tapping edit to typing new text and verifying the updated value.
Launch the app, navigate the elements tree with the console to tap edit and the forward arrow, then type text into the field, delete and retype, and verify the change.
Add accessibility identifiers to user interface elements to enable automated testing with ids like create_new_task_text_field and edit_button. These identifiers, added by the app developer, simplify querying elements for test automation.
Code and execute UI test steps for the Go Shopping task, edit the task to make dinner, delete and retype text, and prepare for an assertion in the next video.
Use assertions in XCUITest to verify outcomes by checking if a task exists on the list, then assert true or false to validate changes.
Refactor test setup and teardown into a base UI test class to reduce maintenance, enable centralized app launch and termination, and safeguard against changes in accessibility identifiers.
Learn the page object pattern for iOS UI testing with Swift and XCUITest, creating screen classes, centralized identifiers, and reusable tap actions to refactor tests.
Refactor iOS UI tests into readable, maintainable code by building screen objects, tapping controls, and chaining methods; verify tasks on the list with a reusable check.
From learning Swift in a playground to automating a UI test in a scalable, maintainable framework, update once and add more tests as practice.
Are you ready to speed up your iOS app development by automating UI tests? Imagine freeing up countless hours spent on manual testing - I've been there, and I know how to maximize efficiency. In just 90 minutes, I'll guide you through automating iOS UI tests with XCUITest, ensuring you gain a rare and valuable skill.
We'll start with the basics of the Swift programming language. Next, we'll explore Apple's default IDE - Xcode - and its built-in features. Finally, we'll dive into automating your first UI test case using XCUITest. By the end, you'll have built a maintainable testing framework that enables your test suite to scale seamlessly.
This course is packed with practical knowledge and real-life examples that you can apply immediately to your projects. Respecting your time, every lesson is concise and focused, making sure you get the most out of every minute.
All resources, including source code and additional reading materials, are attached to the corresponding lectures, so you have everything you need at your fingertips.
Whether you're a beginner or an experienced developer looking to enhance your skills, this course is designed to be accessible and informative. Join me and become proficient in iOS test automation with XCUITest - efficiently and effectively!