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

data driven test error with more than 1 entry in the data table

1 Answer 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael Flynn
Top achievements
Rank 1
Michael Flynn asked on 15 Dec 2010, 08:27 PM
I have created a data driven test that works fine with one entry in the data table.  However, when I try to add a second entry to the data table, the test fails with the following error:

'12/15/2010 1:10:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'12/15/2010 1:10:54 PM' - System.Exception: Unexpected dialog: Internet Explorer
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)

What happens in the test is a link is clicked that pops up a new browser instance that contains a pdf file.  I close that browser instance and return to the original page.

It works fine on the first pass but on the second data table entry, it closes the original web page instead of the pop up and throws an error that an unexpected error has occurred in internet explorer with the option to send the error to microsoft.  I also get the same error if I try to use the base url functionality instead of including the url in my script.

If you need any more information to help me resolve this issue, please let me know.

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 20 Dec 2010, 03:58 PM
Hi Michael,
        thank you for your feedback. 750 Telerik Points added to your account.

I've managed to reproduce the issue. I've filed it under:
Bug 102853:PDF handled as pop-up hard crashes during playback in Internet Explorer when using Data Binding
We'll notify you immediately when a solution becomes available in an Internal Build.
I noticed the issue only appears under Internet Explorer - could you refrain from executing this particular test under IE until we develop a suitable solution? Is this an acceptable workaround for the time being? Let me know.

I hope you find this helpful - hope to hear from you soon!

All the best,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
Michael Flynn
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or