Selenium configuration help

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ganeshanrs1983
Posts: 55
Joined: Wed Jun 18, 2014 10:16 am

Selenium configuration help

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Selenium configuration help

Post 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.
Former Nagios employee
ganeshanrs1983
Posts: 55
Joined: Wed Jun 18, 2014 10:16 am

Re: Selenium configuration help

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Selenium configuration help

Post 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.
Former Nagios employee
Locked