Run Selenium tests on remote windows machine

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

2 answers

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.

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,086 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot