Пример #1
0
        public void Cleanup()
        {
            exit.LogOut();
            exit.AddAccount();

            autorisation.SetLogin(user2.Login);
            autorisation.SetPassword(user2.Password);
            // sett.OpenSettings();
            settings.OpenLinkSettings();
            settings.ChooseForwardPage();

            settings.ClearSettings();
            Thread.Sleep(1000);
            WebDriver.CloseWebDriver();
        }
Пример #2
0
        public void SettingSignature()
        {
            autorisation.SetLogin(user2.Login);
            autorisation.SetPassword(user2.Password);
            // sett.OpenSettings();
            settings.OpenLinkSettings();
            settings.SetSignature(user2.Login);
            Thread.Sleep(1000);
            //sendingMess.CreateMessage(user3.Login, "hello");

            Assert.IsTrue(settings.IsSignature(user2.Login));
        }