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());
}