Hi,

I want to make sure that a particular link is in a <div> element with a particular class. Is this possible?

For example, I want to assert that the linkl foo is in a <div> with class bar. Hence this will pass:

<div class="bar"><a id="foo" href="#"></a></div>

And this will fail

<div class="foobar"><a id="foo" href="#"></a></div>

How can I test this condition?

L


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Jwebunit-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to