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.
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.