Page 1 of 1

Selenium configuration help

Posted: Thu Aug 07, 2014 9:39 am
by ganeshanrs1983
Team,

Could you please provide the steps to work selenium on Nagios. we have followed the below link to integrate selenium with nagios. It's seems we need to configure xvfb and firefox to work. Could you please help us how to configure xvfb and firfox to work selenium on nagios.

http://assets.nagios.com/downloads/nagi ... Nagios.pdf

we are getting below error :

Error requesting http://localhost:4444/selenium-server/driver/:
Failed to start new browser session: org.openqa.selenium.server.RemoteCommandException: Error while launching browser
# Looks like your test exited with 255 before it could output anything.

Regards
Ganeshan S

Re: Selenium configuration help

Posted: Thu Aug 07, 2014 11:03 am
by tmcdonald
Did you set this up using a remote system as per the doc? It looks like you installed a desktop system on the Nagios XI server and are trying to run this locally.

Re: Selenium configuration help

Posted: Thu Aug 07, 2014 11:09 pm
by ganeshanrs1983
Only selenium IDE i have installed on local machine to get test case. Rest of the things I have installed on remote system. Now i am stuck up with how to setup and start xvfb and firefox on linux machine. Coudl you please help me on this.

Re: Selenium configuration help

Posted: Fri Aug 08, 2014 1:50 pm
by tmcdonald
When editing the perl script, did you make sure to set the IP of the remote host? It looks like you used the localhost instead.