Features
< Back to Blog Overview

iPhone and iPad Selenium Testing with Webdriver

2012-03-29
iPhone and iPad Selenium Testing with Webdriver
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews

Since our last post announcing Mac OS X Selenium support, we now have added iPhone and iPad to the mix.


You can now run your Selenium WebDriver tests on iPad and iPhone (iOS 5.1) inside our grid. Testing on iPad and iPhone happens with the official iOS Simulator from Apple and comes with a video and screenshots of the test.


At TestingBot we understand that mobile testing is becoming increasingly important, so that's why we are dedicated to provide you with the best solutions for mobile Selenium testing.


A simple example of how to run your first test on TestingBot:

require "rubygems"
require 'testingbot'
gem "selenium-client"
gem "selenium-webdriver"
require "selenium-webdriver"
require "selenium/client"

caps = {
  :browserName => "iphone", # or ipad
  :platform => "MAC"
}
urlhub = "http://key:secret@hub.testingbot.com:4444/wd/hub"
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 120

webdriver = Selenium::WebDriver.for :remote,:url => urlhub , :desired_capabilities => caps, :http_client => client
webdriver.navigate.to "https://www.google.com/"
puts webdriver.title
webdriver.quit

You can find more info about our iOS and Android support in our mobile support area.


We look forward to your comments and suggestions.

TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

Mac OS X Selenium testing. Webdriver and Selenium RC testing with Apple.

We will make a lot of people happy with this announcement: today we start providing our customers with Mac OS X testing on-demand. Next to tes...

Read more
Samsung Galaxy Tab Testing with Selenium Webdriver

We are pleased to announce that we have added Samsung Galaxy Tab testing to our Selenium grid.

Read more
Selenium Testing on Linux Ubuntu

We are pleased to announce we now support Linux (Ubuntu 11.10) on our Selenium grid.

Read more