コード例 #1
0
        public void T01_Check_BusinessLeads_selectcity()
        {
            ////select leads type
            //TestUserSelectleadstype(tt2);
            browser.GoTo(targetHost + "sl360");

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

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

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

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

            //input zip code
            OrderSelectCity osc = new OrderSelectCity();
            osc.TestUserOrderSelectCity(browser);

            //select Demographic Options
            OrderSelectDemo_Business osd = new OrderSelectDemo_Business();
            osd.TestUserOrderSelectDemo1(browser);

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

            //order paymentinfo
            OrderPaymentInfo opi = new OrderPaymentInfo();
            opi.TestUserOrderPaymentInfo(browser);
        }
コード例 #2
0
        public void T01_Check_OccupantList_selectcity()
        {
            //userlogin
            Login login = new Login();
            login.userlogin(CountEmail, CountPW, browser);

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

            //select DataSource
            SelectDataSource("o");

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

            //input zip code
            OrderSelectCity osc = new OrderSelectCity();
            osc.TestUserOrderSelectCity(browser);

            //select Demographic Options
            OrderSelectDemo_Occupant osd = new OrderSelectDemo_Occupant();
            osd.TestUserOrderSelectDemo2(browser);

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

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

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

            //input zip code
            OrderSelectCity osc = new OrderSelectCity();
            osc.TestUserOrderSelectCity(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_ConsumerSelectCities" + "SavedCountTest" + Date, browser);

            browser.Link(Find.ByText("Home")).Click();
        }
コード例 #4
0
        public void T04_Check_ConsumerLeads_selectcity()
        {
            //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, op3);

            //input zip code
            OrderSelectCity osc = new OrderSelectCity();
            osc.TestUserOrderSelectCity(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("ConsumerSelectCities" + "SavedCountTest" + Date, browser);
            browser.Link(Find.ByText("Home")).Click();
        }
コード例 #5
0
        public void R03_ConsumerOrderByCities()
        {
            browser.Link("ctl00_ctl00_uxContent_ContentPlaceHolder1_BottomBtNext").Click();

            //select Order path
            Selectorderpath slp = new Selectorderpath();
            slp.TestUserSelectorderpath(browser, op3);

            //select city
            OrderSelectCity osc = new OrderSelectCity();
            osc.TestUserOrderSelectCity(browser);

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

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

            //order paymentinfo
            OrderPaymentInfo opi = new OrderPaymentInfo();
            opi.RegisterUserOrderPaymentInfo(browser);
        }
コード例 #6
0
        public void T04_Check_ConsumerLeads_selectcity()
        {
            browser.GoTo(targetHost + "sl360");
            ////select leads type
            //TestUserSelectleadstype(tt1);

            //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, op3);

            //input zip code
            OrderSelectCity osc = new OrderSelectCity();
            osc.TestUserOrderSelectCity(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_ConsumerSelectCities" + "SavedCountTest" + Date, browser);

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