Class library usage, coding and language questions.
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland


Post by atom » Thu Oct 01, 2009 12:13 pm


The ListItem.Select method seems to be asynchronous
I call ListItem.Select, and then the next line is a Button.Click
The Button.Click line causes the wrong item to be selected in the list box
It seems I have to add a Wait for the list item to be properly selected and the ComboLBox to close?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: ListItem.Select

Post by Support Team » Fri Oct 02, 2009 9:59 am

Hi atom,
it "should" be a synch call in all cases (because it`s depending on the used Flavor Element).
I couldn`t reproduce such a behavior (selection of a wrong item) so using a Ranorex.Delay between the actions should handle your issue.

Best regards,
Ranorex Support Team