We have a dedicated windows agent for Selenium tests. We execute TestNG thru Ant. It runs fine on the server. But I am getting the below error when I run thru Bamboo. IF web browser is not getting started.
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:09'
System info: host: 'win001187', ip: '10.38.235.84', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_111'
Driver info: driver.version: InternetExplorerDriver
It seems be to permission issue. Bamboo agent runs with system account (us\system - nt authority\system). It has admin privileges. Not sure why Bamboo is unable to start browser.
As mentioned in confluence, I also verified this and it is already unchecked.
If your builds are not headless (i.e. they show/manipulate windows, like Selenium does), click here for additional instructions
You'll need to set up autologin for your Bamboo account (don’t worry, this will not let remote users in). To do this, run control userpasswords2 and uncheck User must enter a user name and password to enter this computer
Changing user account (on which user Bamboo agent is running) may help. But i think its not recommended. Is there any solution?
Looks like a Selenium issue than a Bamboo issue.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events