Guest User

Untitled

a guest
Apr 17th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. How to assign the text box value to a variable
  2. var checkEmail = driver.FindElement(By.Id("Email"));
  3. string foundEmail = checkEmail.Text;
  4. string selectedEmail = "[email protected]";
  5. Assert.AreEqual(foundEmail, selectedEmail);
Advertisement
Add Comment
Please, Sign In to add comment