Chapter 1UI Automation Overview
Every time we add new features to our apps and fire up the simulator to make sure we didn’t break anything, we’re testing. Every time we tap on the same button over and over to see if we have a memory leak, we’re testing. Testing software involves a lot of repetitive work, and repetitive work is excellent work for a computer to do.
Instead of manually tapping and swiping while looking for problems, we can build scripts that do these things for us. Automating our testing process is a long journey with a lot of opportunities and challenges, so we’ll break it down into manageable chunks.
In this chapter, we’ll start the journey by using Apple’s built-in UI Automation tool to capture and play back a very simple ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access