Selenium script issue.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
njain213

Re: Selenium script issue.

Post by njain213 »

Hi Team,

Is the document ready now?

Also I have gone in pre-release version and you have mentioned to use centos 7. Is it mandatory to use Centos 7? If yes could you please provide all installation steps of centos 7.

Currently I am using centos 6.5.

Thanks
Naman
njain213

Re: Selenium script issue.

Post by njain213 »

Hi Team,

Could you please provide an update on document?

Thanks
Naman
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Selenium script issue.

Post by tmcdonald »

The steps should be just about the same for CentOS 6 or 7, though we have only tested it against 7. Instructions for CentOS 7 server installation can be found here:

http://www.2daygeek.com/centos-7-deskto ... reenshots/

Make sure to install a GUI when running through the installation.

I am in the process of doing the final testing of the document before it is updated publicly.
Former Nagios employee
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Selenium script issue.

Post by lmiltchev »

The "Integrating Selenium with Nagios XI" document has been updated. You can access it here: https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
njain213

Re: Selenium script issue.

Post by njain213 »

Thanks for the documents.
njain213

Re: Selenium script issue.

Post by njain213 »

Hi Team,

I still facing issue after following new document.

Thanks
Naman
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Selenium script issue.

Post by mcapra »

Were you able to successfully create and use the test case (named "simpletest") provided in the documentation?

Depending on the nature of the servlet you are attempting to access (/worksitemp/index.jsp), wait_for_page_to_load and other event-based waits can have some unexpected behavior with the Selenium web driver where servlets are concerned (in my personal experience). You may need to revise your test case if that is the situation.
Former Nagios employee
https://www.mcapra.com/
njain213

Re: Selenium script issue.

Post by njain213 »

Yes, I am able to use simpletest script successfully but facing issue with above script only.

I have revised my test case and facing same issue again.Could you please help me out in solving this issue?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Selenium script issue.

Post by mcapra »

As long as you are able to run the simpletest script successfully, then the issue is not within the realm of anything Nagios is doing. The issue is with your particular Selenium test case.

The IDE we recommend in the documentation is certainly not perfect and does not cover every web page on every platform. There is, quite frankly, a lot more to Selenium itself than what is covered in our documentation.

I would suggest asking around the Selenium forums: http://seleniumforum.forumotion.net/
Former Nagios employee
https://www.mcapra.com/
njain213

Re: Selenium script issue.

Post by njain213 »

Hi Team,

As per your last statement you will only support nagios related issues? If we buy Nagios Xi and will face any selenium issue then according to you we have to get selenium subscription also?

Thanks
Naman
Locked