Mobile Testing with Selenium and Android Ice Cream Sandwich

Today we’ve added Android to our Selenium grid, which means you can now use our grid for mobile testing as well.
We’ve hooked up an Android Ice Cream Sandwich emulator to the grid, which speaks Webdriver protocol.

You can now test how your website behaves and how a page looks like on an Android cellphone by using webdriver.
An example in ruby code:

#!/usr/bin/env ruby
require "rubygems"
gem "selenium-client"
gem "selenium-webdriver"
require "selenium-webdriver"
require "selenium/client"

caps =
driver = Selenium::WebDriver.for(
  :url => "",
  :desired_capabilities => caps) ""
element = driver.find_element(:name, 'q')
element.send_keys "Hello WebDriver!"
puts driver.title

Starting from today this functionality is available to all our customers.

Let us know what you think. Enjoy!

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *