I got one issue on using WebAii 2.0 for testing Silverlight.
Environment: WIn7 x86 + VS 2010 RC. Silverlgiht 3.0 was build in VS2010 too.
Test case do :
Launch browser
Find the Silverlgiht in page and find its combobox inside, then select the combobox item.
After combobox item was select, the product Silverlgith will grab new items to a listbox and filled the listbox.
All above steps work fine. And after the listbox items were filled, I can get find list box control, but from listbox control, I cannot find the listboxitem which were dynamic created!
ListBox listbox = app.FindName<ListBox>("lboxMetaDimensions");
IList
<ListBoxItem> listBoxItems = listbox.Find.AllByType<ListBoxItem>();
The listBoxItems == null.
I try to look into the all children items in all deepth levels recursively, and the result shows it does not contain listboxitem at all. Actually, when I use other Silverlight tool to inspect the v-tree, I can see the listboxitem.
Is any step I need to do after combox selection done and new item were filled in order to get new listboxitem?
Thanks.