public void WhenIClickOnDeleteButton() { if (!BP_Mrr_DeleteUtilities.ClickOnDeleteButton()) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenIUnCheckTheCheckboxViewDeletedReferenceRanges() { if (!BP_Mrr_DeleteUtilities.UnSelectViewDeletedReferenceRanges()) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenISelectedTheBelowMentionedRowsInTheMrrTable(Table table) { List <RowIndex> rowindex = table.CreateSet <RowIndex>().ToList(); if (!BP_Mrr_DeleteUtilities.SelectTheRecord(rowindex)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickOnIconForTheThatRecord(string actionIcon) { string refId = (string)ScenarioContext.Current["RefId"]; if (!BP_Mrr_DeleteUtilities.DeleteTheRecordUsingDeleteIcon(refId, actionIcon)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenIShouldnotSeeTheIconForTheDeletedRecords(string actionicon) { List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"]; foreach (string refId in refIDs) { if (!BP_Mrr_DeleteUtilities.VeifyTheIconsForTheDeletedRecords(refId, actionicon)) { ScenarioContext.Current["ActResult"] = "Failed"; } } }
public void ThenIShouldSeeTheRecordsInStrikethroughMode() { List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"]; foreach (string s1 in refIDs) { if (!BP_Mrr_DeleteUtilities.VeifyTheStrikeThroughRecords(s1)) { ScenarioContext.Current["ActResult"] = "Failed"; } } }
public void ThenIShouldStillSeeTheRecordInMRRTable() { List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"]; foreach (string s1 in refIDs) { if (!BP_Mrr_DeleteUtilities.RecordsVerificationForCancel(s1)) { ScenarioContext.Current["ActResult"] = "Failed"; } } }
public void WhenIClickOnIconForTheThatRecord(string actionIcon) { List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"]; foreach (string refId in refIDs) { if (!BP_Mrr_DeleteUtilities.DeleteTheRecordUsingDeleteIcon(refId, actionIcon)) { ScenarioContext.Current["ActResult"] = "Failed"; } } }
public void WhenIReadTheRefIDForTheBelowRecords(Table table) { List <RowIndex> rowindex = table.CreateSet <RowIndex>().ToList(); ScenarioContext.Current["RefIds"] = BP_Mrr_DeleteUtilities.GetTheRefIDS(rowindex); }