KevinDEX - 2005-10-12

I have a web-site I'm testing that creates a dynamic menu of links from database information.  I want to be able to access each of the links from httpunit by their 'id' attribute.  The id's for each of these links are assigned by a javascript function that is called at window.onload.

using the firefox DOM inspector, these id's are all being set correctly.  From httpunit, if I use:

WebResponse resp = getDialog().getResponse();
Document docEls = resp.getDOM();
Element el = docEls.getElementById("<jsAssignedId>");

I get back a null value.

So it seems like the DOM returned by resp is not being updated by the javascript.  Anyone know if a Dynamic DOM is supported in http unit?  Is there a different way that I can access the links by their new id's?

-Kevin