This is a migrated thread and some comments may be shown as answers.

How to handle firefox pop up dialog?

3 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jet
Top achievements
Rank 1
Jet asked on 22 Nov 2012, 06:02 AM

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

3 Answers, 1 is accepted

Sort by
0
Accepted
Boyan Boev
Telerik team
answered on 22 Nov 2012, 12:02 PM
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
0
Jet
Top achievements
Rank 1
answered on 27 Nov 2012, 08:34 AM
Thanks Boyan Boev.
Following the artcle you recoomened, I created a FireFoxSecurityWarningDialog to hande the dialog, and resolved this issue. 
Thanks a lot. 
0
Boyan Boev
Telerik team
answered on 27 Nov 2012, 09:52 AM
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
Tags
General Discussions
Asked by
Jet
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Jet
Top achievements
Rank 1
Share this question
or