public void ThenIShouldSeeTheDefaultValueAsInTheDropDown(string value, string fieldName) { if (!BP_Mrr_EditUtilities.VerifyTheDefaultValueInInputField(value, fieldName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickOnAddButtonInTheMRRTableGridOfManageReferenceRangesPage() { if (!BP_Mrr_EditUtilities.ClickOnAddButton()) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIClickOnIconForTheFirstRecordInTheMRRTableOfManageReferenceRangesPage(string action) { if (!BP_Mrr_EditUtilities.GetFirstRowFromTableAndClickOnAction(action)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenIShouldSeeTheBelowMentionedValuesInTheDropDown(String fieldName, Table table) { IEnumerable <DropDownInfo> dropdown = table.CreateSet <DropDownInfo>(); if (!BP_Mrr_EditUtilities.VerifyValuesInDropdown((List <DropDownInfo>)dropdown, fieldName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }