コード例 #1
0
        public void T01_Check_NewHomeownerList_selectcounty()
        {
            //userlogin
            Login login = new Login();
            login.userlogin(CountEmail, CountPW, browser);

            ////select leads type
            //TestUserSelectleadstype(tt4);

            //select DataSource
            SelectDataSource("nh");

            //select order path
            Selectorderpath op = new Selectorderpath();
            op.TestUserSelectorderpath(browser, op4);

            //input zip code
            OrderSelectGeoType osgt = new OrderSelectGeoType();
            osgt.TestUserOrderSelectGeoType(browser);

            //select Demographic Options
            OrderSelectDemo_NewHomeowner osd = new OrderSelectDemo_NewHomeowner();
            osd.TestUserOrderSelectDemo3(browser);

            //select ordersearch result
            OrderSearchResults osr = new OrderSearchResults();
            osr.TestUserOrderSearchResults(browser);

            //order paymentinfo
            OrderPaymentInfo opi = new OrderPaymentInfo();
            opi.RegisterUserOrderPaymentInfo(browser);
        }
コード例 #2
0
        public void T01_Check_NewHomeownerList_selectcounty()
        {
            ////select leads type
            //TestUserSelectleadstype(tt4);
            browser.GoTo(targetHost + "sl360");
               // browser.Link("aMainMenu0").Click();

            //select DataSource
            //SelectDataSource("b");

            browser.TableCell("tab_bg_4").Click();
            browser.Link(Find.ByTitle("Start using our new homeowner leads mailing list now!")).ClickNoWait();

            //select order path
            Selectorderpath op = new Selectorderpath();
            op.TestUserSelectorderpath(browser, op4);

            //input zip code
            OrderSelectGeoType osgt = new OrderSelectGeoType();
            osgt.TestUserOrderSelectGeoType(browser);

            //select Demographic Options
            OrderSelectDemo_NewHomeowner osd = new OrderSelectDemo_NewHomeowner();
            osd.TestUserOrderSelectDemo3(browser);

            //select ordersearch result
            OrderSearchResults osr = new OrderSearchResults();
            osr.TestUserOrderSearchResults(browser);

            //order paymentinfo
            OrderPaymentInfo opi = new OrderPaymentInfo();
            opi.TestUserOrderPaymentInfo(browser);
        }
コード例 #3
0
        public void T05_Check_ConsumerLeads_selectcounty()
        {
            //select leads type
            TestUserSelectleadstype(tt1);

            //select order path
            Selectorderpath op = new Selectorderpath();
            op.TestUserSelectorderpath(browser, op4);

            //input zip code
            OrderSelectGeoType osgt = new OrderSelectGeoType();
            osgt.TestUserOrderSelectGeoType(browser);

            //select Demographic Options
            OrderSelectDemo_Consumer osd = new OrderSelectDemo_Consumer();
            osd.TestUserOrderSelectDemo(browser);

            //Save Count
            SaveCount sc = new SaveCount();
            sc.SetDesiredCount(100, browser);
            sc.SavedCount("Unreg_ConsumerSelectCounties" + "SavedCountTest" + Date, browser);

            browser.Link(Find.ByText("Home")).Click();
        }
コード例 #4
0
        public void T05_Check_ConsumerLeads_selectcounty()
        {
            //userlogin
            Login login = new Login();
            login.userlogin(CountEmail, CountPW, browser);

            ////select leads type
            //TestUserSelectleadstype(tt1);

            //select DataSource
            SelectDataSource("c");

            //select order path
            Selectorderpath op = new Selectorderpath();
            op.TestUserSelectorderpath(browser, op4);

            //input zip code
            OrderSelectGeoType osgt = new OrderSelectGeoType();
            osgt.TestUserOrderSelectGeoType(browser);

            //select Demographic Options
            OrderSelectDemo_Consumer osd = new OrderSelectDemo_Consumer();
            osd.TestUserOrderSelectDemo(browser);

            //Save Count
            SaveCount sc = new SaveCount();
            sc.SetDesiredCount(100, browser);
            sc.SavedCount("ConsumerSelectCounties" + "SavedCountTest" + Date, browser);
            browser.Link(Find.ByText("Home")).Click();
        }
コード例 #5
0
        public void T05_Check_ConsumerLeads_selectcounty()
        {
            ////select leads type
            //TestUserSelectleadstype(tt1);
            browser.GoTo(targetHost + "sl360");

            //browser.Link("aMainMenu0").Click();

            //select DataSource
            //SelectDataSource("c");

            browser.TableCell("tab_bg_1").Click();
            browser.Link(Find.ByTitle("Start using our consumer leads mailing list now!")).ClickNoWait();

            //select order path
            Selectorderpath op = new Selectorderpath();
            op.TestUserSelectorderpath(browser, op4);

            //input zip code
            OrderSelectGeoType osgt = new OrderSelectGeoType();
            osgt.TestUserOrderSelectGeoType(browser);

            //select Demographic Options
            OrderSelectDemo_Consumer osd = new OrderSelectDemo_Consumer();
            osd.TestUserOrderSelectDemo(browser);

            //Save Count
            SaveCount sc = new SaveCount();
            sc.SetDesiredCount(100, browser);
            sc.SavedCount("Unreg_ConsumerSelectCounties" + "SavedCountTest" + Date, browser);

            browser.Link(Find.ByText("Home")).Click();
        }