Пример #1
0
        //[Test]
        public async Task RunLoginTest()
        {
            IESession session = new IESession(this);

            Assert.False(session.LoggedIn, "State of LoggedIn on IESession was not the expected value");

            bool result = await session.Login("we should be together", "twenty1%fat");

            Assert.True(result, "Result result of login was not the expected value");
            Assert.True(session.LoggedIn, "State of LoggedIn on IESession was not the expected value");


            var searchResults = await session.MatchFinder(true, 20, 99, "33,50");

            result = await session.Logout();

            Assert.False(session.LoggedIn, "State of LoggedIn on IESession was not the expected value");

            LogInfo("Found " + searchResults.Count + " results");

            return;
        }