コード例 #1
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void SendFriendMail()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.SendFriendMail();
        }
コード例 #2
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void ConsultSimilarAll()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.SimilarAll();
        }
コード例 #3
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void ConsultSecundaryForm()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.SecundaryForm();
        }
コード例 #4
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void ReportPublication()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.ReportPublication();
        }
コード例 #5
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void ConsultOfferUsed()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.OfferUsed("Secondary");
        }
コード例 #6
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void PayWithUsed()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.OfferUsed("Primary");
        }
コード例 #7
0
ファイル: VipTest.cs プロジェクト: damianmartinez/Automation
        public void SendConsult()
        {
            driver.Url = Url.Deautos.Views.Vip.Sheet;
            var consult = new VipPage(driver);

            consult.PrincipalForm(FormData.ValidEmail);
        }
コード例 #8
0
    void updateActivePage(GameObject obj)
    {
        //更新箭头
        int index = StringKit.toInt(obj.name) - 1;

        if (vips == null || index > vips.Length - 1 || index < 0)
        {
            return;
        }
        ActiveShowItem = obj.GetComponent <VipPage> ();
        if (ActiveShowItem == null)
        {
            return;
        }
        ActiveShowItem.updatePage(vips [index]);
        updateVipAwardInfo();
        defaultIndex = StringKit.toInt(obj.name) - 1;
    }
コード例 #9
0
    void updatePage(GameObject obj)
    {
        //更新当前显示的ShowItem;
        ActiveShowItem = sampleContent.getCenterObj().GetComponent <VipPage> ();
        VipPage bookitem = obj.GetComponent <VipPage> ();
        int     index    = StringKit.toInt(obj.name) - 1;

        if (vips == null || index > vips.Length - 1 || index < 0)
        {
            return;
        }
        //不够3页.隐藏
        if (vips == null)
        {
            return;
        }
        if (bookitem.getVip() != vips [index])
        {
            bookitem.updatePage(vips [index]);
        }
    }