Completed
Last Updated: 23 Aug 2013 14:42 by ADMIN
ADMIN
Cody
Created on: 15 Aug 2013 16:06
Type: Bug Report
0
Specific customer test yields "System.ArgumentException: An item with the same key has already been added."
If you run a specific test from this customers project the browser launches (but does not even try to navigate) and you immediately get:
'8/15/2013 11:26:26 AM' - System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at ArtOfTest.WebAii.Design.Execution.StepsTracer.RecurseBranches(LogicalBranchData bd, Int32& orderCounter)
   at ArtOfTest.WebAii.Design.Execution.StepsTracer.RecurseBranches(LogicalBranchData bd, Int32& orderCounter)
   at ArtOfTest.WebAii.Design.Execution.StepsTracer.Trace(Test test)
   at ArtOfTest.WebAii.Design.Execution.StepsTracer..ctor(Test test)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance, Boolean& stopExecution)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance, Boolean isDataDriven)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
2 comments
ADMIN
Iliyan Panchev
Posted on: 23 Aug 2013 14:42
The fix will be included in the upcoming Service Pack, expected around the beginning of September.
ADMIN
Iliyan Panchev
Posted on: 23 Aug 2013 14:36
The problem is when you copy an logical step, the copy is broken. This is now fixed. Unfortunately the already broken tests will remain that way. Easy way to repair them is to make a copy of each IF\ELSE step and to delete the old one. This will fix the tests. Sorry for the inconvenience.