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.
'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.