コード例 #1
0
        public void SignOutFromAccount_IsSignOut()
        {
            this.accountPopUp = inboxGmailPage.OpenAccountManager();

            SigninChooserPage signinChooserPage = accountPopUp.SignOutFromAccount();

            Assert.AreEqual(signinChooserPage.GetCurrentUrl(), this.driver.Url);
        }
コード例 #2
0
        //-------------------------------------------------------------------

        #region Methods for manipulation the inbox gmail page
        /// <summary>Quit from current account</summary>
        public void QuitFromAccount()
        {
            GoogleAccount.Click();

            GoogleAccountPopUp accountPopUp = new GoogleAccountPopUp(this.driver);

            accountPopUp.SignOutFromAccount();
        }
コード例 #3
0
        public void StartGmail_isLogin()
        {
            this.accountPopUp = inboxGmailPage.OpenAccountManager();

            IWebElement currentAccountMail = accountPopUp.CurrentAccountMail;

            Assert.AreEqual(controller.GetFirstMail(), currentAccountMail.Text);
        }
コード例 #4
0
        public void StartGmail_isLogin()
        {
            this.accountPopUp = inboxGmailPage.OpenAccountManager();

            IWebElement currentAccountMail = accountPopUp.CurrentAccountMail;

            string actualMailOnPage = currentAccountMail.Text;
            string expectedMail     = controller.GetFirstMail();

            Assert.AreEqual(expectedMail, actualMailOnPage);
        }