Automate an iOS Tic Tac Toe app with Appium 2 (XCUITest) Part 1: Player vs Player

How to use Appium 2 to automate playing Tic Tac Toe

Zhimin Zhan

--

A repost of my daughter’s article, I added a few notes. This is also included in the “Courtney’s Appium Series”.

In this article, I’ll show you how to automate Nathan Fallet and Group MINASTE’s Tic Tac Toe iOS app with Appium 2.

Table of Contents:
· Setup
Install Appium 2 and the XCUITest Driver
Build the Tic Tac Toe app
·
Get Started
How to Play Tic Tac Toe
·
Play Tic Tac Toe with Appium
Execution Video
Test Design
Refactoring
·
Complete Test Scripts
·
Zhimin’s notes

Setup

Install Appium 2 and the XCUITest Driver

Follow the steps in my other article to install the Appium 2 server, the XCUITest Driver and your desired Appium Client library (I prefer Ruby).

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.