Watin; Get element by id not working
- by Afnan
I am trying to place data into text area that is inside hiden input but watin dose not find it.why?
but when i search for inputs my program shows this.
var ie = new WatiN.Core.IE("http://facebook.com", true);
ie.ClearCookies(); ie.TextField(WatiN.Core.Find.ById("email")).TypeText(textBoxUsername.Text); ie.TextField(WatiN.Core.Find.ById("pass")).TypeText(textBoxPassword.Text);
ie.Button(WatiN.Core.Find.ByValue("Login")).Click();
ie.Link(WatiN.Core.Find.ByText("Status")).Click();
ie.TextField(WatiN.Core.Find.ById("u362110_11")).TypeText(textBoxPassword.Text);
Exception
Could not find INPUT (hidden) or INPUT (password) or INPUT (text) or INPUT (textarea) or TEXTAREA element tag matching criteria: Attribute 'id' equals 'u493403_13' at http://www.facebook.com/home.php