Completed
Last Updated: 31 Dec 2013 08:47 by ADMIN
ADMIN
Velin Koychev
Created on: 22 Oct 2013 10:47
Type: Bug Report
0
TestResult.ExecutionType is always 'QuickExecution' in OnAfterTestCompleted
No matter how we run the test (run-to-here, from-here, selected-steps, testlist etc.) the ExecutionType seems to be always the same => 'QuickExecution'

According to the the API it can have the following values:

ArtOfTest.Common.Design.ExecutionType.ManualExecution
ArtOfTest.Common.Design.ExecutionType.QuickExecution
ArtOfTest.Common.Design.ExecutionType.Recapture
ArtOfTest.Common.Design.ExecutionType.RunFromStepExecution
ArtOfTest.Common.Design.ExecutionType.RunSelectedExecution
ArtOfTest.Common.Design.ExecutionType.RunToStepExecution
ArtOfTest.Common.Design.ExecutionType.SchedulingExecution
ArtOfTest.Common.Design.ExecutionType.VisualStudioExecution

In order to reproduce, you need to override OnAfterTestCompleted method and try to execute the test differently:

public override void OnAfterTestCompleted(TestResult result)

{  

    Log.WriteLine(result.ExeType.ToString());

}
1 comment
ADMIN
Daniel Djambov
Posted on: 31 Dec 2013 08:46
Telerik: the issue is fixed and solution is available in latest internal product release from Dec 2013.