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.
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:
- Configuring the browser to accept all certificates. I do not recommend doing this unless your computer is only used for testing and is insulated from other machines in your network.
- Creating a custom profile for Firefox and instructing Selenium to launch Firefox with that profile. A Google search will reveal many web pages about this approach, e.g. http://jktechtrip.wordpress.com/2011/04/14/selenium-and-self-signed-ssl-certificates-in-firefox-java-linux/.