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

Automation running error

1 Answer 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cherry
Top achievements
Rank 1
Cherry asked on 08 Jun 2011, 04:11 AM
Hello All,

When i run the automation test case with VS2010, It threw the exception saying as below:

'6/8/2011 10:56:36 AM' - Starting execution....
'6/8/2011 10:56:36 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'6/8/2011 10:56:43 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'6/8/2011 10:56:43 AM' - System.Exception: Unexpected dialog: Set Up Windows Internet Explorer 8
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance, Boolean& stopExecution)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'6/8/2011 10:56:44 AM' - Test completed!



Could anyone help with this?


Best,
Cherry

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 09 Jun 2011, 04:33 PM
Hi Cherry,
    how are you running this test? Through Quick Execution or as part of a TestList? If you're running it as a part of a TestList then your TestList settings might be the issue as seen here:
http://www.telerik.com/automated-testing-tools/support/kb/avoiding-dialog-handling-problems-with-the-unexpecteddialogaction-feature.aspx

Also make please make sure is configured like this:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/configure-your-browser/internet-explorer.aspx

Let me know whether you're able to resolve the issue.

Regards,
Stoich
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Cherry
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or