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

ActiveBrowser.Refresh(); Resend Information Dialog appears

1 Answer 114 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 2
Scott asked on 12 Mar 2012, 07:02 PM
My test recently started displaying the Windows Internet Explorer dialog with the message below and see attached... How can I handle this in a coded step if it appears... keep in mind sometimes it doesn't appear.... geez...

Also, the webpage I am refreshing has nothing to do with purchases or buying anything... it's not a shopping site at all....


Message is:

To display the webpage again, the web browser needs to resend the information you've previously submitted.

If you were making a purchase, you should click Cancel to avoid duplicate transaction. Otherwise, click Retry to display the webpage again.

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 13 Mar 2012, 05:02 PM
Hello Scott,

This dialog appears because it seems you are filling out form and then refresh the browser, this is normal behavior and our generic dialog handler can easily work with the dialog. The tough part here is the moment when the dialog doesn't appear. Unfortunately I am not sure if there is a workaround even with coded step. The best part will be to completely avoid the dialog (if ActiveBrowser.Refresh(); is removed) or to make sure this dialog will always appear. Can you see if you can detect some pattern for example in what circumstances the dialog doesn't appear?


"the webpage I am refreshing has nothing to do with purchases or buying anything"

The dialog may mention that, but it's shown during a specific condition that may or may not be a shopping cart. Can you provide us with the webpage you are trying to test or with the test project itself so we can try to find the best possible solution for you.

Looking forward to hear from you.
All the best,
Ivaylo
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Scott
Top achievements
Rank 2
Answers by
Ivaylo
Telerik team
Share this question
or