private void TestStep_OnExecutionBegin(TestStep testStep, TestStepBeginExecutionArgs args)
 {
     if (this.InvokeRequired)
     {
         OnTestScriptObjectExecutionBeginDelegate d = new OnTestScriptObjectExecutionBeginDelegate(onBeginningTestScriptObjectExecution);
         BeginInvoke(d, new object[] { testStep, args });
     }
     else
     {
         onBeginningTestScriptObjectExecution(testStep, args);
     }
 }
 private void TestCase_OnExecutionBegin(TestCase testCase)
 {
     if (this.InvokeRequired)
     {
         OnTestScriptObjectExecutionBeginDelegate d = new OnTestScriptObjectExecutionBeginDelegate(onBeginningTestScriptObjectExecution);
         BeginInvoke(d, new object[] { testCase });
     }
     else
     {
         onBeginningTestScriptObjectExecution(testCase);
     }
 }
        private void TestStep_OnExecutionBegin(TestStep testStep)
        {
            Debug.WriteLine("TestStep_OnExecutionBegin");

            if (this.InvokeRequired)
            {
                OnTestScriptObjectExecutionBeginDelegate d = new OnTestScriptObjectExecutionBeginDelegate(onBeginningTestScriptObjectExecution);
                BeginInvoke(d, new object[] { testStep });
            }
            else
            {
                onBeginningTestScriptObjectExecution(testStep);
            }
        }