We have integrated selenium with Nagios XI using the below link :
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
1. We will record the testcase using selenium IDE in firefox ( windows machine ) and export the testcase to perl format. Will copy the perl format testcase into Linux machine and run the test case using the command .. for eg : perl simpletest.
2. Testcase is working for http urls but for https urls testcase getting failed. for eg : we are getting below error for https://www.google.com test case. Please find the attachment of google_testcase
-bash-4.1$ perl google_testcase
ok 1 - set_timeout, 120000
# Error requesting http://localhost:4444/selenium-server/driver/:
# Timed out after 120000ms
not ok 2 - open, /?gws_rd=ssl\#q=news
# Failed test 'open, /?gws_rd=ssl\#q=news'
# at google_testcase line 19.
Location: http://localhost:4444/selenium-server/c ... start=true
1..2
# Looks like you failed 1 test of 2.
Regards
Ganeshan S
Selenium testcase getting failed for https URLs
-
ganeshanrs1983
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Selenium testcase getting failed for https URLs
You do not have the required permissions to view the files attached to this post.
Re: Selenium testcase getting failed for https URLs
We'll be happy to help out as much as we can, but this isn't exactly a Nagios question. Have you tried asking on the Selenium forum?
http://seleniumforum.forumotion.net/
It looks like Selenium might not be liking the # in the URL. Can you show us the output of the successful run?
http://seleniumforum.forumotion.net/
It looks like Selenium might not be liking the # in the URL. Can you show us the output of the successful run?
Former Nagios employee