Posted by: jsonmez | December 2, 2009

Difficult Watij Problem That Wasn’t Really A Watij Problem

I spent a large amount of time today trying to find out why I can’t find the link that I can see on the page, and see in the DOM when using the IE DevToolBar.

I was trying to write an automated acceptance test to test that a birth date could not be made null.

Pop quiz, whats wrong with this HTML?

<!-- This is a comment --!>

Turns out that IE can recognize that “–!>” is intended to be the end of a comment even though it should be:

<!-- This is a comment -->

But Watij does not.  Infact Watij treats the comment as not ending, and the rest of the page as comment.

So if you are using a WatiX framework, and can’t see a link or image on a page, check to make sure you have well formed comments.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: