This question is locked. New answers and comments are not allowed.
I recently upgraded to WebUI Dev 2010_3_1213 release. When I try to execute a test which has a 'Test as Step' within the steps the test doesn't execute.
Test Log:
------------------------------------------------------------
'1/7/2011 12:23:11 PM' - Starting execution....
'1/7/2011 12:23:12 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'1/7/2011 12:23:12 PM' - System.InvalidOperationException: Type 'ArtOfTest.WebAii.Core.FrameInfo' cannot be added to list of known types since another type 'ArtOfTest.WebAii.Core.FrameInfo' with the same data contract name 'http://schemas.datacontract.org/2004/07/ArtOfTest.WebAii.Core:FrameInfo' is already present. If there are different collections of a particular type - for example, List<Test> and Test[], they cannot both be added as known types. Consider specifying only one of these types for addition to the known types list.
at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadTest(String filePath)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.TestRequiresSilverlight(Test test, String deploymentFolder, ExecutionType exeType)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'1/7/2011 12:23:12 PM' - Test completed!
NOTE: If I toggle the 'test as step' off, the test executes fine.
I would like to include other test as steps. Is there a solution for this?
Thanks,
Tyson
Test Log:
------------------------------------------------------------
'1/7/2011 12:23:11 PM' - Starting execution....
'1/7/2011 12:23:12 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'1/7/2011 12:23:12 PM' - System.InvalidOperationException: Type 'ArtOfTest.WebAii.Core.FrameInfo' cannot be added to list of known types since another type 'ArtOfTest.WebAii.Core.FrameInfo' with the same data contract name 'http://schemas.datacontract.org/2004/07/ArtOfTest.WebAii.Core:FrameInfo' is already present. If there are different collections of a particular type - for example, List<Test> and Test[], they cannot both be added as known types. Consider specifying only one of these types for addition to the known types list.
at ArtOfTest.WebAii.Design.ProjectModel.Project.LoadTest(String filePath)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.TestRequiresSilverlight(Test test, String deploymentFolder, ExecutionType exeType)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'1/7/2011 12:23:12 PM' - Test completed!
NOTE: If I toggle the 'test as step' off, the test executes fine.
I would like to include other test as steps. Is there a solution for this?
Thanks,
Tyson