Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 06, 2009 04:01 AM by mcowan
Apr 02, 2009 12:07 AM|LINK
RootElement isn't working correctly for me. Check out the two lines of code below, I would think they should return the same data .. but they do not.
// Does not return the element I am looking for (although I know its there)
var containerElements = AutomationHelpers.FindAllHtmlElementsByClass(_adapter.Page.RootElement, RelatedItemContainerWrapperId,
// This works, returns the element that the call above fails to find.
var containerElements = AutomationHelpers.FindAllHtmlElementsByClass(_adapter.Page.Elements.Find("html", 0),RelatedItemContainerWrapperId,
Apr 05, 2009 11:58 PM|LINK
Yeah, this is a bug on RootElement. Sorry that you had to struggle with it. For next releases I'll make sure to put a list of "known issues", which are active bugs that we haven't had the time to look into.
Apr 06, 2009 04:01 AM|LINK
Hey , half the fun is figuring stuff out :)
But thanks, a known issues list would be cool.