예제 #1
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";
            }
        }