Last post Apr 06, 2009 12:01 AM by mcowan
Apr 01, 2009 08:07 PM|mcowan|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 07:58 PM|farmas|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 12:01 AM|mcowan|LINK
Hey , half the fun is figuring stuff out :)
But thanks, a known issues list would be cool.