According to the API, I am supposed to report this issue.
I am getting a Parser Exception when trying to use an HTMLAnchorTester object.
Also, the W3C validator accepts the page but I cannot test the html code.
My NUnit ASP code is as follows:
string link = "the link being tested";
HtmlAnchorTester check;
HtmlInputTextTester user;
HtmlInputTextTester password;
Test]
public void NUnitTest()
{
Browser.GetPage(link);
check = new HtmlAnchorTester("fluffer!");
user = new HtmlInputTextTester("txtUser");
password = new HtmlInputTextTester("txtPassword");
WebAssert.Visible(check); <- fails here.
WebAssert.Visible(user);
WebAssert.Visible(password);
}
The error also makes no sense. It says:
'--' is an unexpected token. The expected token is '>'. Line 31, position 3.
'--' doesn't exist in the HTML code. And line 31 position three is a table constructor.