Support > Forums > OpenBots Studio > UI AUTOMATION

UI AUTOMATION

AKESH KOSHY

  • Reporter
  • Calender Icon March 13,2021 at 3:18 PM

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 172 topics, 459 replies, and was last updated 1 hours ago by Poornima Malv

Nataly Alvarado

  • Participant
  • Calender Icon March 16,2021 at 6:18 PM

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.