Windows 8/Windows 2012 Selenium Testing

Today we have added Windows 2012 (= Windows 8) VMs to our grid.
You can now run Firefox/Chrome and IE10 tests on Windows 2012 VMs.

To run a test on a Windows 2012 VM, you need to use WIN8 as the platform desired capability, see the following example:

caps = {
  :browserName => "internet explorer",
  :version => "10",
  :screenshot => true,
  :platform => "WIN8"
}

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 "http://testingbot.com/"
puts @webdriver.title
@webdriver.quit

The full list of all browser combinations we support: 91 browser combinations

We’ve also updated the Selenium version on all VMs has been updated from 2.25.0 to 2.26.0 (most recent version), together with the most recent IEDriver and ChromeDriver versions.

Happy testing!

No Comments

Leave a Reply

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