Friday, February 19, 2010

Security certificates while using selenium

Most of the problems that users are facing is handling security certificate alert boxes that browsers normally throw while transition from HTTP to HTTPS protocol.

Although starting your browser with different run modes (ex *chorme for firfox and *iehta for IE) this is not solving the problem. Even if this is solved, next question is how to change something in system while the script is executing like Registry etc.

I am planning to write a server componet using AutoIt, so that users can call some special functions to handle these boxes and other conditions. Please ask if you need any special requirements so that I can design a better framework before starting the code.

6 comments:

  1. Hi Bhima,

    This is really good idea. Could you please let me know, if you can implement the below query or if you have any other solution.

    Issue: Firefox Authentication Popup window which requires employee email address and pwd to be entered to browse further.As of now, Selenium IDE is not able to identify the pop up window and enter values.

    Thanks in advance.

    ReplyDelete
  2. Hi Priya,

    Looks like you have a very common problem.

    Could you confirm if you have tried the below solution?

    http://seleniumhq.org/docs/05_selenium_rc.html#handling-browser-popup-windows

    Thank you,
    Bhima

    ReplyDelete
  3. Hi Bhima,

    I am trying to use below code for highlight light 'Save as' window and select the directory to save a file from my application.

    driver.switchTo().window("saveAS").getWindowHandle()driver.getClass().getFields();

    But it is not Working.

    Can you give any solution? or can i use AutoIt in this case?

    ReplyDelete
    Replies
    1. Hi Sree,

      I hope you are using selenium 2.0.

      I have not tried it, but let me check if there is anyway we can automate this requirement.

      Thank you.

      Delete
  4. How to make money in virtual reality from home - Work
    The งานออนไลน์ game is a simple game 메리트 카지노 주소 to play and you can learn how 바카라 사이트 to play, what to play in VR, how to become successful,

    ReplyDelete
  5. Grand Victoria Casino Resort - MapYRO
    Welcome to Grand Victoria Casino 경주 출장마사지 Resort, home to the best in entertainment! This charming five-star hotel is 문경 출장마사지 perfect for 이천 출장마사지 a 서귀포 출장안마 staycation 서울특별 출장안마 or business

    ReplyDelete