Forum Discussion
AlexeyKolosov
Staff
14 years agoHello Benoit,
The WaitProperty method waits until the property gets the specified value. That is, it will work for you only if you know the exact number of the items the list box control will have. This number should be used as the second parameter of the method.
If your list box control can have different number of items, using a loop as Charles suggested is your only option.