so you may feel the testing framework is not fully automate or accepting this security certificate each and every time is a really headache.
you have two options to get rid of this
1.use a valid certificate (you can not do this all the time) :)
2.ask selenium to run FF with a profile.
i'm going to tell how to do the option 2
1.create a Firefox profile (if u need help refer "" written by me).
2.start Firefox from the new profile and accept the security exception.(you will need to do this only once)
3. start Selenium server
java -jar selenium-server.jar -firefoxprofileTemplate
eg.
java -jar selenium-server.jar -firefoxprofileTemplate /home/darshana/newProfile
here newProfile is the location where i saved the new profile.
4.next time when you start the Selenium server, repeat only the 3 step..
have a nice time with testing ....
No comments:
Post a Comment