This project is read-only.

TabPage.GetMultiple() ends with NullReferenceException

Feb 18, 2010 at 1:39 PM

I tried getting all Labels within a (WPF) TabPage by calling GetMultiple on it but that ended in a NullReferenceException.

code: window.Get<TabPage>("tabSearch").GetMultiple(SearchCriteria.ByControlType(ControlType.Text));

When debugging into the white-code i see that it throws the exception because the container that is created expects the automationElement field of TabPage not to be null. Why is it null? The AutomationElement of the TabPageProxy is not null. Am i doing something wrong/not supported or am i missing something?


With kind regards,


Feb 19, 2010 at 6:20 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.