예제 #1
0
        ///////////////////////////////////////////////////////////////////////////////

        #region HANDLING EVENTS OF STEPS

        private void sendMailStartedEventHandler(object o, StepEventArgs e)
        {
            //var failedSteps = stepList.Where(thisStep => thisStep.Status == eStatus.FAILED);

            SendEmail sendMailStep = o as SendEmail;

            sendMailStep.FailedStep = this.failedStep;
            //sendMailStep.FailedSteps = failedSteps.ToList<Step>();
            //if (sendMailStep.FailedSteps.Count > 0)
            if (this.failedStep != null)
            {
                TakeActiveWindowScreenShot();
            }
        }
예제 #2
0
 private void stepStartedEventHandler(object sender, StepEventArgs e)
 {
     //msg: can be implemented
 }
예제 #3
0
 private void onGenerateReport_StepHandler(object o, StepEventArgs e)
 {
     Properties.Internal.Default.RegressionTimeTaken = elapsedTime_Label.Text;
 }