Beispiel #1
0
        public void StartPage_AddressBook_Click_NotLoginUser_Test()
        {
            // Arrange
            string expectedURL = loginPage.GetPageURL();
            string actualURL;

            // Act
            drive.NavigatePage(startPage.GetPageURL());
            drive.FindElementByXPath(startPage.ButtonAddressBook()).Click();
            actualURL = drive.GetURL();
            // Assert
            Assert.AreEqual(expectedURL, actualURL);
        }