We need to run Selenium test on a windows 7 / 8 machine on different browsers.
How can i do it using Bamboo OnDemand?
It seems like there is no relevant elastic instance for us and i can't install Bamboo agent on my own instance.
What is the trick here then?
Thanks
You can do it (if Amazon provides you Windows 7/8 AMIs) but we'll not be able to provide you the necessary support for this setup.
- https://confluence.atlassian.com/display/BAMBOO/Creating+a+custom+elastic+image
- https://confluence.atlassian.com/pages/viewpage.action?pageId=253231639
Cheers,
Lucas Lima
cant you use selenium grid? your grid nodes have all configurations of OS/browser combinations. you specify where you want to run your tests using some json config like this.
SELENIUM_GRID_BROWSER_SPECS=FF_21_Linux_BrowserSpec.json,FF_WINDOWS_BrowserSpec_dacenter.json,IE_WINDOWS_BrowserSpec.json,CHROME_WINDOWS_BrowserSpec.json
Here I am specifying that my test can run on linux_FF, Windows_FF, Windows_IE, Windows_chrome. You can specify one or more browser specs for your tests and your tests automatically run on the selenium grid and logs are copied to your CI system(in my case its jenkins) I am using here an inhouse automation tool. You can develop your code to run tests on grid in similar way.
One sample json file content looks as below.
{
"browserSpec":
[
{
"ignoreProtectedModeSettings":true,
"browserName": "ie",
"platform": "VISTA",
"maxInstances": 1
}
]
}
Here is a sample node spec.
{ "capabilities":
[
{
"browserName": "firefox",
"platform": "LINUX",
"version": "21.0",
"maxInstances": 10,
"firefox_binary": "/usr/bin/firefox_21/firefox"
}
],
"configuration":
{
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"maxSession": 5,
"port": 8888,
"host": "adcd-017.adx.pool.corp.xxxxxx.com",
"register": true,
"registerCycle": 5000,
"hubPort": 4444,
"hubHost": ip
}
}
Hope it helps you to move in proper direction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.