Any ideas(via code) how to scroll when combobox has been clicked and result set is not entirely visible?
Example.
I have a combobox that has 30 items and only the first 10 show without scrolling. In my coded test I have a loop that clicks on the combo box and checks if the item exists via find.byText. When looping through, it looks for items that are visible and keeps moving, If it cant find the item it hits the catch via timeout and I get my predefined error. Problem is it cant find items in the combobox that show only when the combobox is scrolled down. ANy ideas?
Code for example:
foreach
(PressImposition checkProd in Products)
{
try
{
//Select Product Dropdown
Pages.MMSPlugins_0.SilverlightApp.Item0Combobox.User.HoverOver();
Pages.MMSPlugins_0.SilverlightApp.Item0Combobox.User.Click();
TextBlock select = Pages.MMSPlugins_0.SilverlightApp.Item0Combobox.Find.ByText(checkProd.OfferingDisplayName);
select.User.HoverOver();
select.User.Click();
}
catch
{
Assert.Fail("Test Failed to Find Imposition Product");
}
}