TestingBot Blog

TestingBot provides a cloud of browsers to run Automated, Live and Visual browser testing.

< Back to Blog Overview

Samsung Galaxy Tab Testing with Selenium Webdriver

2012-03-19

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


Starting today our paying customers can run their tests on Samsung Galaxy Tab emulators running on a Linux node. These nodes are optimised to run the emulator with enough RAM and CPU.


As always, you will have access to all test results together with screenshots and a video of the test.


In the following example you will see a simple Ruby script using Webdriver to test on a Galaxy Tab in our cloud:

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

caps = {
  :browserName => "galaxytab",
  :platform => "ANDROID"
}

client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 480

driver = Selenium::WebDriver.for(
  :remote,
  :url => "http://key:[email protected]:4444/wd/hub",
  :http_client => client,
  :desired_capabilities => caps)
driver.navigate.to "http://www.google.com"
element = driver.find_element(:name, 'q')
element.send_keys "Hello WebDriver!"
element.submit
puts driver.title
driver.quit

By modifying the browserName in the example above to "android", you can also run your test on our Android Ice Cream Sandwich Phone emulator. More information is available in our support area.


In the meantime we are working on supporting more mobile devices in our cloud, so stay tuned for further updates. To see a full list of browsers/devices/OS versions we support, please consult our browser page.


< Back to Blog Overview

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required