foreach (ITestAction tstAction in tstCase.Actions) { tstSharedStep = null; //set shared step interface object to null tstSharedStepRef = tstAction as ISharedStepReference; if (tstSharedStepRef != null) { tstSharedStep = tstSharedStepRef.FindSharedStep(); foreach (ITestAction tstSharedAction in tstSharedStep.Actions) { ITestStep tstSharedTestStep = tstSharedAction as ITestStep; ..///DO some actions ISharedStepResult tstSharedStepRslt = tstIterationRslt.CreateSharedStepResult(tstAction.Id, tstSharedTestStep.Id); tstSharedStepRslt.Outcome = PromptTextVerify ? TestOutcome.Passed : TestOutcome.Failed; tstIterationRslt.Actions.Add(tstSharedStepRslt); } } else { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)