/////////////////////////////////////////////////////////////////////////////// #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(); } }
private void stepStartedEventHandler(object sender, StepEventArgs e) { //msg: can be implemented }
private void onGenerateReport_StepHandler(object o, StepEventArgs e) { Properties.Internal.Default.RegressionTimeTaken = elapsedTime_Label.Text; }