ListItem.Select : Automation API

ListItem.Select

Class library usage, coding and language questions.

ListItem.Select

Postby atom » Thu Oct 01, 2009 1:13 pm

Hiya

The ListItem.Select method seems to be asynchronous
i.e.
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?
atom
 
Posts: 339
Joined: Mon Dec 08, 2008 12:14 am
Location: Dublin, Ireland

Re: ListItem.Select

Postby Support Team » Fri Oct 02, 2009 10: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,
Christian
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests