Window("Account Groups1").Listbox("listbox3").Select("Samoa") But the tool starts at the first name in the list and starts searching by activating the Rt Hand slider. This takes hours to locate, and I'm not sure it will ever find it. The way it operates is once the selected country is highlighted then you activate the search button to get all relevant data for that country. It's driving me looney!
Success is the ability to go from one failure to another with no loss of enthusiasm.
~ Winston Churchill ~
I had the same problem, and contacted Seapine Support who gave me the following response:
It is possible to force QA Wizard Pro to type one or more keystrokes into the selection list control before running the Select statement. This can reduce the amount of time it takes for QA Wizard Pro to locate the object, by having the browser 'jump' down to the desired item (or at least, to a part of the list near that item) before the Select statement.
To do this, you would select the first item in the list (so that the focus gets set to that list control). Then, you would have one or more keypress statements to type the characters which will cause the list to jump down to the item:
Would cause the list to jump down to the first item which begins with M. You can put additional KeyPresses to further specify the item. In fact, by doing this, you could skip doing the Select() altogether if you so chose.
I hope the above helps!
I'm going to ask the support representative if a request can be made for the record to include the "KeyPress" command if a user uses it on a drop down list. I had used it during record which is my reason for the request.