Book Image

Learning Selenium Testing Tools - Third Edition

Book Image

Learning Selenium Testing Tools - Third Edition

Overview of this book

Table of Contents (22 chapters)
Learning Selenium Testing Tools Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Working with iOS


iPhones and iPod Touches are such commonplace these days. A lot of companies are working hard to offer a really good experience for these users. This means that users are starting to become accustomed to using web applications with their phones.

We can run our tests against the simulator or against the real device. Compared to Android, the simulator is really quick. This is because it is not trying to emulate the hardware of actual Apple devices.

Setting up the simulator

In this section, we will be making sure that we have the simulator or device ready. To do this, we will need to do the following steps:

  1. If you haven't checked the Selenium code out, follow the steps at http://code.google.com/p/selenium/source/checkout.

  2. Refer to the following link for a complete iOS simulation guide: https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/iOS_Simulator_Guide/

  3. Open selenium/iphone/iWebDriver.xcodeproj in XCode.

  4. If you want to build it for the simulator, set your build...