Hi,
I am using WebAii. 2010.1 version for silverlight 3 automation.
I have to get all the ComboBoxItmes from a combobox. But i am getting empty list.
I am using WebAii. 2010.1 version for silverlight 3 automation.
I have to get all the ComboBoxItmes from a combobox. But i am getting empty list.
ComboBox cmbBox = app.Find.ByType<ComboBox>();
IList<TextBlock> blocks = cmbBox.Find.AllByType<TextBlock>();
IList<ComboBoxItem> items= cmbBox.Items;
IList<ComboBoxItem> cmbItems = cmbBox.Find.AllByType<ComboBoxItem>();
IList<FrameworkElement> cmbFrameworkItems = cmbBox.Find.AllByType("ComboBoxItem");
Thanks
Kiran