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.
We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...
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!
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