示例#1
0
        public void StartPage_MyAccount_Click_NotLoginUser_Test()
        {
            // Arrange
            string expectedURL = loginPage.GetPageURL();
            string actualURL;

            // Act
            drive.NavigatePage(startPage.GetPageURL());
            drive.FindElementByXPath(startPage.ButtonMyAccount()).Click();
            actualURL = drive.GetURL();

            // Assert
            Assert.AreEqual(expectedURL, actualURL);
        }