Пример #1
0
        public void num_suc()
        {
            //LogoutActions.LogoutAction(_session);
            NavigationActions.OpenMyIvi(_session);

            _session.FindElementByClassName("TextBox").Clear();
            _session.FindElementByClassName("TextBlock").SendKeys("79998660609");
            _session.FindElementByClassName("Button").Click();
            _session.FindElementByName("OK").Click();

            Phone_MailCatcherActions.OpenMailcatcher(_session);
        }
Пример #2
0
        public void Reg_by_num_suc()

        {
            NavigationActions.OpenMyIvi(_session);

            _session.FindElementByClassName("TextBlock").SendKeys("79999999999");
            _session.FindElementByName("Регистрация").Click();
            _session.FindElementByClassName("Button").Click();
            _session.FindElementByClassName("Button").SendKeys(Keys.Enter);
            Phone_MailCatcherActions.OpenMailcatcher(_session);
            var maintheme = _session.FindElementByClassName("ListView");

            Assert.IsNotNull(maintheme);
        }