Selenium testcase getting failed for https URLs
Posted: Thu Sep 04, 2014 7:01 am
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
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