Completed
Last Updated: 18 Nov 2014 14:15 by ADMIN
Norbert
Created on: 18 Nov 2014 13:23
Type: Bug Report
1
onbeforeunload dialog keeps giving problems
We have a lot of test scripts where we fill in a form and then navigate to another page. What happens is that we get an OnBeforeUnload dialog asking if I want to leave the page. I'm not able to handle this dialog. I'm using the latest Test Studio build and IE10 as a browser.
When I look in to log I see that it is encountering an unexpected dialog and it says it is handling it, but the browser window stays open and showing the dialog. Putting an explicit Handle dialog step in test will not work because it is still "inside" the previous step. I think I have tried all available options like "KillBrowserProcessOnClose" and "UnexpectedDialogAction" set to "HandleAndContinue" or "DoNotHandle",  but without success.
The only workaround I have right now is to close the activebrowser and start a new one, but when the testlist finishes I still have a lot of browser windows open.

Does anyone have any tips, clues, etc.?
1 comment
ADMIN
Daniel Djambov
Posted on: 18 Nov 2014 14:14
Telerik: can you please submit a support ticket about this issue, so we can work with you eclusively and help you pass through this problem.