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

Unable to connect to modal popup window in firefox

11 Answers 204 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Krishna kiran
Top achievements
Rank 1
Krishna kiran asked on 20 Nov 2012, 02:05 PM
Hi

I am using Telerik Free testing framework 2012.2 920.

I am unable to connect to modal up in firefox.
I am using the below code snippet. The same line of code works for chrome and safari.

WaitForNewBrowserConnect("/signoff.aspx", true, 5000);


My application scenario

1. Submit the form.
2. Modal popup appears with password field with OK and cancel button.
3. Now I tried using 
WaitForNewBrowserConnect("/signoff.aspx", true, 5000);
 to connect to that modal popup window.

Actual Result
1) When the code in step 3 starts executed, the modal pop is auto closed. I tried inserting sleep time before this line of code, but even while executing sleep time, the modal pop is auto closed.  
2) The problem is 'the modal pop is closed automatically' while trying to connecting to it.

Note:
When I insert VSTS breakpoint on the line of code in step 3 and debugging, I am able to connect to the modal up in firefox.


I have attached the screen shot of the modal popup window and the fiddlercap recorded file. you can find the log for signoff modal pop (signoff.aspx)

Firefox version used :  '8 +'

We are unable to proceed further with your framework. We were using VSTS coded ui test. Since codeduitest is not supporting multi browsers we are switching to your framework, but this issue is stopping us to use it. 

 
Thanks,
Kiran

11 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 20 Nov 2012, 05:49 PM
Hi Krishna,

I am afraid I can't access the site in order to reproduce the issue. Can you please provide us some access to it? Also you can read more about Firefox dialogs here and here.

Thank you for your cooperation.

Regards,
Boyan Boev
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Krishna kiran
Top achievements
Rank 1
answered on 27 Nov 2012, 07:30 AM
Hi. 

We should be able to provide access to our application via web-ex desktop sharing. Please let us know whether this would be helpful for you to resolve this issue. please let us know asap how can we proceed on this.

Thanks & Regards
Kiran

0
Boyan Boev
Telerik team
answered on 27 Nov 2012, 10:36 AM
Hi Krishna,

Unfortunately we cannot reproduce your issue with exactly the same code provided to us. I recorded a short video to show you.

Let me know what time zone you are in and your availability and we will setup the meeting. I'm in Sofia, Bulgaria which is EEST (GMT +2).

Kind regards,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Krishna kiran
Top achievements
Rank 1
answered on 28 Nov 2012, 01:14 PM
Hi

Our Time Zone is : Chennai, India GMT +5:30
You can set up meeting between IST (India Standard Time) (2 PM to 8 PM).

Please contact me if you need more info.
Mobile: +91 8056081488
you can send the webex request to kirankfull@gmail.com

Thanks and Regards,


0
Boyan Boev
Telerik team
answered on 28 Nov 2012, 02:58 PM
Hello Krishna,

Before we setup the meeting, please upgrade your studio version to our latest internal build (2012.2.1022) and try it out. We had some issues with Firefox in the 2012.2.920, that were fixed in 2012.2.1022. Please download it by logging in to your Telerik.com account and go to the Latest Internal Builds section.

If the issue persists we will setup the meeting.

Thank you for your cooperation.

Greetings,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Krishna kiran
Top achievements
Rank 1
answered on 28 Nov 2012, 03:19 PM
Hi Boyan ,

I have tried with the latest internal build also.

In your video you showed connecting to the firefox popup using the test studio tool. For me also it's working fine If i record and replay with the test studio.

But the issue exists with the manual coding using the free telerik automation framework. While executing the statement waitfornewbrowserconnect it is closing the popup instead of connecting to it.

Can you try connecting to that firefox popup window using the manaully coded test and let me know ?

If you are unable to reproduce with the manual coding also please arrange webex meeting.


Thanks 
0
Accepted
Boyan Boev
Telerik team
answered on 29 Nov 2012, 11:53 AM
Hi Krishna,

It seems our Unexpected Dialog Handler is causing this issue. In the Telerik Framework it is turn on by default. Try to turn it off by inserting this line of code in your project:

this.Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;

If this does not help, we will setup the meeting.

Greetings,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Krishna kiran
Top achievements
Rank 1
answered on 29 Nov 2012, 02:11 PM
Hi Boyan

Thank you very much !!!

It's working now with this single line of code: 
this.Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;

Telerik support team(You) is really good. 


0
Boyan Boev
Telerik team
answered on 29 Nov 2012, 04:18 PM
Hi Krishna,

I am very happy you have solved the problem.

Let me know if you need further assistance.

Regards,

Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Chintan
Top achievements
Rank 1
answered on 19 Apr 2013, 10:42 AM
Hi there,

I am having an issue related to HTML popups.

I have created a Web test for application having popup! It has recorded well...But When i'm executing that Web Test , it is failing when try to connect with pop-up window!! And this issue occuring only in Internet Explorer (ver 9.0.8).

Help me out!!!

Thanks in advance..!
0
Boyan Boev
Telerik team
answered on 23 Apr 2013, 03:22 PM
Hello Chintan,

In order to help you best please provide more detailed information:

1. If you haven't done so already, please calibrate your browser as seen in this article.

2. Send us the trace log.

3. Please record a Jing video demonstrating the entire process, so we can better understand what is happening. 

4. Provide us with a copy of your test and access to your application so we can reproduce the issue on our end and give you a solution.

5. Alternatively you can take a Fiddler trace using FiddlerCap and send it to us in a zip file. Basically with that trace I'll try to "simulate" your app in order to reproduce the issue.

Please check out this articlespecifically the section: "Popups with Dynamic Queries" at the bottom.
Hope to hear from you soon.
 

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
Krishna kiran
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Krishna kiran
Top achievements
Rank 1
Chintan
Top achievements
Rank 1
Share this question
or