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");
        }
Example #2
0
        public void SecondaryLogin()
        {
            var auth = new AuthPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin(EndUser, EndUserPassword);
        }
        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");
        }
        public void YChangePasswordContactData()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin();
            myAccount.ChangePasswordData();
        }
        public void DataContact()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin();
            myAccount.ModifyContactData();
        }
        public void Company()
        {
            var auth      = new AuthPage(driver);
            var myAccount = new MyAccountPage(driver);

            driver.Url = Url.Deautos.Views.Login.Auth;
            auth.SecondaryLogin();
            myAccount.ModifyClientUser();
        }
Example #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());
            }
        }
        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());
            }
        }