Page 1 of 1

Dropdown menu

Posted: Thu Jun 14, 2012 10:20 pm
by Teedium
Hello,
I have a situation where I need to perform a search and change the search type from "starting with" to "exact". on the webpage this is done with a drop down menu. How can helium select a drop down and change the value? is there a better way?

Thanks!

Re: Dropdown menu

Posted: Sat Jun 16, 2012 1:35 am
by webmaster
Here is a premade you can use. Is actually based on the online premade Select each item from a list, except that this only selects one item. All you need to do is import it into your current project and then add an Execute Actions Tree -> Select Option action and select a kind that selects the drop down menu and then set the option you need selected.

Note that this will only work if this is an actual SELECT element, not a javascript menu. If it is a javascript menu, these menu items are most likely links that you can simulate click on. You'd need to create a kind to select the item you need to click, but since the menu hides when the mouse is not on top, you'd need to select the top item and then use the Select parent/sibling/child button in the selection panel until the required item is selected.