Exemple #1
0
        public override void ExtendedOneTimeSetUp()
        {
            driver.Navigate().GoToUrl("http://www.i.ua/");
            StartPage        startPage        = new StartPage(driver);
            EmailBox         emailBox         = startPage.Login();
            CreateLetterPage createLetterPage = new CreateLetterPage(driver);

            //startPage.Login();
            Assert.AreEqual("*****@*****.**", emailBox.MailOwner.Text); //Inside login check
            emailBox.createLetterButton.Click();
            Assert.AreEqual("Новий лист - I.UA ", driver.Title);
            createLetterPage.CreateLetter(topic);
        }