In my scripts I use a generic procedure to select an item in a combo box.
Here is an extract of it:
Procedure selectItemInCombo (String comboName, String itemToSelect)
set variable comboName=$(attribute)
Mouse click [GenericComboBox => $(client)]
Mouse click [GenericList%(?s).*$( itemToSelect).* => $(client)]
The GenericList has no name attribute since it is the dynamic list displayed with the combo.
90% of the time the replay of this procedure succeed but sometimes the item in the list is not found and an exception is thrown.
Anyone have an idea about the origin of the problem? How could I force QFT to use the list used by the ComboBox?