Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Please suggest me, how to open the SSL urls using selenium-rc? I face trouble while opening any https website through selenium RC in IE and FF browser both, as they prompt for accept the SSL certificate first.

share|improve this question
    
smriti, it would be helpful for you to describe what you have attempted so far, and what went wrong with those attempts. –  user246 Jul 28 '11 at 15:11
    
When I open selenium.open("https//xyz.com"); Its opens a popup for the accept security certificate. –  smriti Jul 29 '11 at 3:34
2  
smriti, I assume you are here because you are a tester or a software developer. If that is true, you must have some experience logging bugs in a bug tracking system. I suspect you have found it useful, when you log bugs or when you read others' bug reports, to include details about the bug's circumstances, e.g. the version of the software and the type and version of the browser, so that the bug can be reproduced. Similarly, when you post questions like the one above to this forum, please try to include the same kind of details, because it will encourage people to help you. –  user246 Jul 29 '11 at 12:44
1  
This is a legitimate question, and a frequently asked question among Selenium users. Nonetheless, I am downvoting it because I do not believe the OP put sufficient effort into researching it. A Google search of "Selenium SSL" will reveal many articles about ways to deal with this issue. –  user246 Jul 29 '11 at 12:58
    
Thanks a lot for your suggestion. I will take this suggestion in logging my query in future. I have edited my query. Thanks again!+1 –  smriti Jul 31 '11 at 13:26

1 Answer 1

up vote 4 down vote accepted

I suspect your browser asks you to accept xyz.com's certificate because the certificate is self-signed. There are ways to work around the problem, but they are browser-specific, and you did not mention which browser you used.

Some options for Firefox include:

share|improve this answer
    
Many Thanks for this help. The xyz.com is a just a example. I have trouble on opening any https website through selenium RC in IE and FF browser both, as they prompt for accept the SSL certificate. This article helped me a lot … –  smriti Jul 31 '11 at 13:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.