Support > Forums > OpenBots Studio > UI AUTOMATION
I am not able to capture Combo Boxes and select the items depending on the index or value. Please suggest a workaround for this if there is no inbuilt functionality.
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hello Akesh,
If you are trying to interact with combo boxes on a website, you can use the Element Action Command. The "Select Option" action allows you to select a combo box value depending on index or text. However, it only works on HTML elements of type select. A workaround would be to first open the combo box list by clicking the combo box element, and then use another click to select the wanted item. By referencing the element's text value on the xpath, you can make the selector dynamic. If you are trying to interact with combo boxes on an application, you need to use the UI Automation command. Similarly to the web automation approach, you can interact with the element by clicking on the combo box twice. One click to open the combo box list and another click to select the wanted item.
Hope this helps!
You are not authorized to reply, please click here to login and add your reply to this topic.