Skip to content

A demo project illustrating how to write UI driven functional tests for iOS apps using the UIAutomation framework.

Notifications You must be signed in to change notification settings

MattMcComb/MyTasks-UIAutomation-Demo

Repository files navigation

MyTasks UIAutomation Demo Project

A simple task list application used to demo the use of UIAutomation for automated functional testing of iOS apps.

This application accompanies the blog post entitiled 'iOS Functional Testing with UIAutomation' available here.

ScreenShot

Project Structure

  • /MyTasks contains the app source code.
  • /Functional Tests contains the UIAutomation test suite.
  • /Functional Tests/TaskList tests.js - the UIAutomation test suite containing the functiontal tests for the app.

Executing the Tests

  • Clone the repository to your local machine.
  • Open the MyTasks sample project in XCode
  • Run the app with profiling enabled by selecting Product –> Profile from the menu bar
  • In the new Instruments window pick the Automation tool
  • Load the test script by selecting Add –> Import… from the left hand pane (Scripts section). In the new finder window navigate to the project directory, open the Functional Tests folder and select the TaskList Tests.js script.
  • Switch the active pane from Trace Log to Script and hit the play button to begin execution of the tests.

Useful Resources

About

A demo project illustrating how to write UI driven functional tests for iOS apps using the UIAutomation framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published