How to handle firefox pop up dialog?

4 posts, 1 answers
  1. Jet
    Jet avatar
    10 posts
    Member since:
    Oct 2012

    Posted 22 Nov 2012 Link to this post

    When using webaii for automating my test cases,I have stumped across a case where in a security pop up appears, I am unable to override using either code/ Firefox browser settings.
    How can I handle this firefox dialog?

    Attached is the screenshot, but it's Chinese not english, below is the dialog content in english

    Dialog Caption: Security Warning

    Dialog Text:  "Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure you want to continue sending this information?"
    Buttons:  One is "Continue", another one is "Cancel"

    Thanks in advance.
    Jet

  2. Answer
    Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 22 Nov 2012 Link to this post

    Hello Jet,

    Please follow this article in order to get more information how to handle most types of pop up.

    Is this issue appears only in Firefox? Firefox dialogs require special attention because some of them are not standard Win32 dialogs. Check this to learn more about Firefox dialogs.

    Another option is to GenericDialog Class. Using the it you can create your own custom dialog handler that can handle most any simple standard Win32 dialog.

    If the issue persists, please give us an access to the application for further investigations.
     
    Kind regards,

    Boyan Boev
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Jet
    Jet avatar
    10 posts
    Member since:
    Oct 2012

    Posted 27 Nov 2012 Link to this post

    Thanks Boyan Boev.
    Following the artcle you recoomened, I created a FireFoxSecurityWarningDialog to hande the dialog, and resolved this issue. 
    Thanks a lot. 
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 27 Nov 2012 Link to this post

    Hello,

    I am happy to hear that. 

    Let me know if you need further assistance.

    Kind regards,
    Boyan Boev
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top