Unable to launch IE browser for Selenium in Bamboo

elac16 April 18, 2017

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? 

1 answer

0 votes
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2017

Looks like a Selenium issue than a Bamboo issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events