Features
< Back to Blog Overview

iPad and iPhone 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:

Copy code
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 testin...

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
Website Monitoring and PageLoad Testing with Selenium

Next to running automated browser tests, Selenium and TestingBot can be used for other tasks like monitoring a website, or verifying that the pagel...

Read more
Run your Selenium tests in parallel with PHPUnit

One of the advantages of running your Selenium tests on the TestingBot grid is that we scale depending on your needs. If you need to run 100 Sele...

Read more
TestingBot Jenkins Plugin

We're happy to release our first TestingBot plugin for Jenkins. Jenkins is a CI (continuous integration) system which runs your tests, with lots of...

Read more