Exemplo n.º 1
0
 public void ThenISeeMinutesPerCRFLabelDisplayed(int value)
 {
     if (!BP_wf_FrameHelper.VerifyMinutesPerCRFFieldValue(value))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 2
0
 public void ThenISeeIncludeInvestigatorRadioButtonSelectedYes()
 {
     if (!BP_wf_FrameHelper.CheckCheckBoxSeletedOrNot(wf_Page_Frame.radio_Yes, true))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 3
0
 public void ThenISeeAllMenuFiltersDefaulSelectedAs(string item)
 {
     if (!BP_wf_FrameHelper.ValidateDefaultSelectedItemInDropDownMenu(item))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 4
0
 public void ThenISeeAWindowDisplayedWithHeader(string text)
 {
     if (!BP_wf_FrameHelper.ValidateFrameHeaderText(text))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 5
0
 public void ThenISeeTheSubtitleHasTheLinkFlushedRight(string PanelTitle, string LinkName)
 {
     if (!BP_wf_FrameHelper.ValidateSectionItemLink(PanelTitle, LinkName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 6
0
 public void ThenISeeHTMLReportIsProducedWithTitle(string text)
 {
     if (!BP_wf_FrameHelper.ValidateTableTitle(text))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 7
0
 public void WhenISelectFormatAs(string radioText)
 {
     if (!BP_wf_FrameHelper.ClickRadioButton(radioText))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 8
0
 public void ThenISeeViewButtonFlushedLeft()
 {
     if (!BP_wf_FrameHelper.VerifyButtonOnForms("View"))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Exemplo n.º 9
0
        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";
            }
        }
Exemplo n.º 10
0
        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";
            }
        }
Exemplo n.º 11
0
        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";
            }
        }