I'm trying to iterate through a combo box to get the values in it. I can usually do this with no problem using the following code:
Code: Select all
foreach(Ranorex.Row row in cbxMarket.FindChildren<Ranorex.Row>())
{
foreach(Ranorex.Cell cell in row.FindChildren<Ranorex.Cell>())
{
Report.Info(cell.Text);
}
}
Code: Select all
Report.Info(cbxMarket.Children.Count.ToString());
I've checked with the developer of the program and found out that the combo boxes are regular winform comboboxs. Any suggestions on where I could be going wrong, or some sample code that would work?