Пример #1
0
 public void RegisterPossibleGoogle()
 {
     result = createUser.CreateNewWillTypeGoogle(driver);
     Assert.IsTrue(result.Contains("https://accounts.google.com/signin"));
     Assert.IsFalse(result.Contains("error"));
     result = Socialnetwork.selecgooglecount(driver);
     Assert.IsTrue(result.Contains("https://accounts.google.com/signin"));
     Assert.IsFalse(result.Contains("error"));
     count = createUser.ValidateBeginbuttonStart(driver);
     Assert.AreEqual(count, 6, "All step are not in begin state");
     result = createUser.ValidateOwnerpage(driver);
     Assert.AreEqual(result, "http://" + Environment + "kwil.co.uk/Steps/AccountProperties/AccountProperties", "Page displayed is incorrect");
 }