public void ThenISeeMinutesPerCRFLabelDisplayed(int value) { if (!BP_wf_FrameHelper.VerifyMinutesPerCRFFieldValue(value)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeIncludeInvestigatorRadioButtonSelectedYes() { if (!BP_wf_FrameHelper.CheckCheckBoxSeletedOrNot(wf_Page_Frame.radio_Yes, true)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeAllMenuFiltersDefaulSelectedAs(string item) { if (!BP_wf_FrameHelper.ValidateDefaultSelectedItemInDropDownMenu(item)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeAWindowDisplayedWithHeader(string text) { if (!BP_wf_FrameHelper.ValidateFrameHeaderText(text)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeTheSubtitleHasTheLinkFlushedRight(string PanelTitle, string LinkName) { if (!BP_wf_FrameHelper.ValidateSectionItemLink(PanelTitle, LinkName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeHTMLReportIsProducedWithTitle(string text) { if (!BP_wf_FrameHelper.ValidateTableTitle(text)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenISelectFormatAs(string radioText) { if (!BP_wf_FrameHelper.ClickRadioButton(radioText)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeViewButtonFlushedLeft() { if (!BP_wf_FrameHelper.VerifyButtonOnForms("View")) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeSiteMenuDisplayedBelowItems(Table table) { StringBuilder SiteList = new StringBuilder(); IEnumerable <FiltersList> Data = table.CreateSet <FiltersList>(); List <FiltersList> IList = (List <FiltersList>)Data; foreach (FiltersList Pat in IList) { if (!BP_wf_FrameHelper.VerifyItemsInMultiseleableList("Site", Pat.Site)) { SiteList.Append(Pat.Site + ","); } } if (SiteList.Equals(string.Empty)) { ScenarioContext.Current["Comments"] = ScenarioContext.Current["Comments"] + "Site List: " + SiteList + " is/are not displayed in table. \n"; ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeTheGridWithRowsOfDataInTheColumnsNamedBelow(Table table3) { StringBuilder FormatList = new StringBuilder(); IEnumerable <FiltersList> Data = table3.CreateSet <FiltersList>(); List <FiltersList> IList = (List <FiltersList>)Data; foreach (FiltersList FM in IList) { if (!BP_wf_FrameHelper.VerifyColumnText(FM.SelectaFormat)) { FormatList.Append(FM.SelectaFormat + ","); } } if (FormatList.Equals(string.Empty)) { ScenarioContext.Current["Comments"] = ScenarioContext.Current["Comments"] + "Formt List: " + FormatList + " is/are not displayed in table. \n"; ScenarioContext.Current["ActResult"] = "Failed"; } }
public void ThenISeeTheSelectFormatSub_TitleWithTheBelowOptions(Table table2) { StringBuilder FormatList = new StringBuilder(); IEnumerable <FiltersList> Data = table2.CreateSet <FiltersList>(); List <FiltersList> IList = (List <FiltersList>)Data; foreach (FiltersList FM in IList) { if (!BP_wf_FrameHelper.VerifyFormatAvailability(FM.SelectaFormat)) { FormatList.Append(FM.SelectaFormat + ","); } } if (FormatList.Equals(string.Empty)) { ScenarioContext.Current["Comments"] = ScenarioContext.Current["Comments"] + "Formt List: " + FormatList + " is/are not displayed in table. \n"; ScenarioContext.Current["ActResult"] = "Failed"; } }