public static void PopulateLogData(this StepInfo stepInfo) { TestLogData.DefaultStepValues(); TestLogData.stepNumber++; TestLogData.controlName = stepInfo.controlName; TestLogData.actionName = stepInfo.action; TestLogData.keywordName = stepInfo.keyword; TestLogData.stepParameters = stepInfo.parameters; TestLogData.flags = stepInfo.flags; }