Example #1
0
        //[Ignore ("not complited")]
        public void Profile_FillPersonalInfo()
        {
            VuePopup vue = new VuePopup();
            Random   rnd = new Random();

            vue.Registration(false);
            vue.CloseWizzardPopup.Click();
            Driver.Browser.Url = TestDataResource.MainPageURL + "/profile/account/";

            Profile_AccountPage account = new Profile_AccountPage();

            account.ChooseCountry();
            account.CityTextBox.SendKeys("Kyiv");
            account.AddressListBox.SendKeys("23007 Ukraine, Kyiv, Hreschatic 25/12");
            account.SavePersonalInfoButton.Click();

            Assert.IsTrue(account.SuccessSaveMessage.Displayed);
        }
Example #2
0
        //      [Test]
        public void Profile_FillPersonalInfo()
        {
            RegistrationPage registr = new RegistrationPage();
            Random           rnd     = new Random();

            registr.Registration(rnd.Next().ToString() + "@mail.ru", false);
            Thread.Sleep(5000);
            Driver.Browser.Url = TestDataResource.MainPageURL + "/profile/account/";

            Profile_AccountPage account = new Profile_AccountPage();

            account.ChooseCountry();
            account.CityTextBox.SendKeys("Kyiv");
            account.AddressListBox.SendKeys("23007 Ukraine, Kyiv, Hreschatic 25/12");
            account.SavePersonalInfoButton.Click();

            Assert.IsTrue(account.SuccessSaveMessage.Displayed);
        }