示例#1
0
        public void Verify_MakeCode_PageDisplayed()
        {
            // HtmlTable_DCN.Displayed
            Assert.AreEqual(true, HtmlTable_DCN.Displayed, "DC_DCN page is displayed successfully");

            string pageno = PageNumber.GetText();

            try
            {
                if (pageno == "3")
                {
                    pagedisplayed = true;
                }
                else
                {
                    Console.WriteLine("Apply Make Code Page is not displayed");
                }
            }
            catch { Exception e; }
            Assert.AreEqual(true, pagedisplayed, "Apply Make code Page is displayed");
        }
        public void Verify_feedConfigrationPage_Loaded()
        {
            //Dropdown.Wait_ElmToBeDisplayed();
            Assert.AreEqual(true, Dropdown.Displayed, "Set Provider Page is displayed");

            //enable below two line
            System.Threading.Thread.Sleep(10000);
            Dropdown.WebClick();
            string pageno = PageNumber.GetText();

            try {
                if (pageno == "2")
                {
                    pagedisplayed = true;
                }
                else
                {
                    Console.WriteLine("Apply DC/DCN Page is not displayed");
                }
            }
            catch { Exception e; }
            Assert.AreEqual(true, pagedisplayed, "Apply DC/DCN Page is displayed");
        }