Selenium, secure connection failed, security certificate



I am doing some testing with Selenium, and i have a problem.

The site I am testing is a secure site with username and password. And i
have one problem. When i start Selenium tests from a ruby program then a
new browser is opened, and this browser is cleen like a freshly
installed firefox browser.

My problem is that the site I am testing gives this error:

Secure Connection Failed
xxx uses an invalid security certificate.
The certificate is not trusted because the issuer certificate is
unknown.
The certificate is only valid for xxx

(Error code: sec_error_unknown_issuer)


This stops my test and i also has to accept this every time, it wont
remember that I acceptet it earlyer because it always starts a fresh
cleen firefox browser.


Is there a way to start the regular browser insted. A browser that
remember that i have acceptet this before?

When i start the test from the Selenium IDE then it uses my regular
browser: I want it to use my regular browser when I start it from a ruby
program to. How do I do that?
--
Posted via http://www.ruby-forum.com/.

.



Relevant Pages

  • Re: recommendation for webapp testing?
    ... Selenium runs in a browser, ... It need a browser running to work. ... supported, Firefox, Safari, IE and I think others. ... "w3c.py" which implements DOM. ...
    (comp.lang.python)
  • Re: recommendation for webapp testing?
    ... Selenium runs in a browser, and uses JavaScript to perform all your ... It need a browser running to work. ... supported, Firefox, Safari, IE and I think others. ...
    (comp.lang.python)
  • Re: saving website to pdf, silently
    ... You might be able to use Selenium for this, depending on the exact client's requirements. ... It can simulate key-board and button presses in the browser ... instructions, you can generate these instructions by any ... there is a google 'Tech talk' on how ...
    (comp.text.pdf)
  • Re: Starting Safari from the command line
    ... I am working on Selenium ... the browser and the path to the browser. ... I wrote some conditional logic to check for Safari ... so I can't kill it. ...
    (comp.sys.mac.system)
  • Re: How to starthandshake with client browser??
    ... >> And then what should i do to handshake with browser? ... > getting the browser to trust your certificate. ... 1-Open an SSL server Socket ... 2-Wait for a connection (from your client web browser). ...
    (comp.lang.java.programmer)