public void WhenEnterTheBelowLabData(Table labList) { IEnumerable <ReferenceRangesData> rowdata = labList.CreateSet <ReferenceRangesData>(); if (!BP_ReferenceRangesUtilities.SetValidDataForCreation((List <ReferenceRangesData>)rowdata)) { ScenarioContext.Current["ActResult"] = "Failed"; } }