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

Failure detected during execution

1 Answer 153 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
nastia
Top achievements
Rank 1
nastia asked on 17 Feb 2011, 09:39 PM
Please HELP!!! The test script was ready for execution. I run this script for a several times today and I didn't receive any errors. But the last 5 times when I was trying to execute it I got this error:
------------------------------------------------------------
'2/17/2011 3:33:56 PM' - Starting execution....
'2/17/2011 3:34:49 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'2/17/2011 3:34:49 PM' - System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetHostState(IAutomationHost host)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   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.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'2/17/2011 3:34:49 PM' - Test completed!


Note1: the status of the test is "Fail - 0 passed out of total 0 executed" but I could see the progress of this test during execution and all steps were passed.

Note2: I get this error only when I add "Close IE window" step in the end of the test

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 17 Feb 2011, 09:45 PM
Hello nastia,

That is a strange one. It looks like something is interfering with the test starting up IE.

Does IE launch when you try to start the test?

A couple of fairly obvious things to try:
- Completely close and restart WebUI Test Studio
- Close all instances of IE
- Restart the computer

Let me know if you still have trouble after trying the above suggestions.

All the best,
Cody
the Telerik team
Tags
General Discussions
Asked by
nastia
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or