コード例 #1
0
        public void Conversation()
        {
            var auth   = new AuthPage(driver);
            var dialog = new MyAccountPage(driver);

            driver.Navigate().GoToUrl(Url.Deautos.Views.Login.Auth);
            auth.SecondaryLogin(OfficialUser, OfficialUserPassword);
            dialog.Consult("Answer");
            auth.LogOut();
            driver.Navigate().GoToUrl(Url.Deautos.Views.Login.Auth);
            auth.SecondaryLogin(MultibrandUser, MultibrandUserPassword);
            dialog.Consult("Reply");
        }
コード例 #2
0
ファイル: AuthTest.cs プロジェクト: damianmartinez/Automation
        public void SecondaryLogin()
        {
            var auth = new AuthPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin(EndUser, EndUserPassword);
        }
コード例 #3
0
        public void ConversationOportunitie()
        {
            var auth         = new AuthPage(driver);
            var conversation = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin(OfficialUser, OfficialUserPassword);
            conversation.Consult("Oportunitie");
        }
コード例 #4
0
        public void YChangePasswordContactData()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin();
            myAccount.ChangePasswordData();
        }
コード例 #5
0
        public void DataContact()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin();
            myAccount.ModifyContactData();
        }
コード例 #6
0
        public void Company()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin();
            myAccount.ModifyClientUser();
        }
コード例 #7
0
        public void CopyItemClientUser()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new PublishPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin(OfficialUser, OfficialUserPassword);
            if (myAccount.CopyItem().Equals(false))
            {
                if (myAccount.RepublishClientUser("Oficial").Equals(false))
                {
                    myAccount.PublishAgencyUser("Oficial", "Plan");
                }
                IsTrue(myAccount.CopyItem());
            }
        }
コード例 #8
0
        public void FinalizeItemClientUser()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);
            var republish = new PublishPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin(OfficialUser, OfficialUserPassword);
            if (myAccount.EndPublication().Equals(false))
            {
                if (republish.RepublishClientUser("Oficial").Equals(false))
                {
                    republish.PublishAgencyUser("Oficial", "Plan");
                }
                IsTrue(myAccount.EndPublication());
            }
        }