Hi, I’m new here. How do I get uipath to select the first item of the drop down box? I’m trying to get the robot to choose the first item of each drop down box which the selection dynamically changes based on the previous item selected?
use this link . you can able to get all items. and you can select the first one.
Thanks for the help. For my case, the first item is dynamic. For example, the first drop down box ask for 1 selection which will decide what item will appear in the next drop down box and so on. How do I work around this?
Use SetFocus on your box and send hotkey down and then enter. The first item should get selected each time
Use find children activity and set the filter to match first element of dropdown
The name of the item is dynamic. How do I get it match the first element in this case as the item name changes?
I will try this. Hotkey should work.
in the filter, dont specify item name. just mark to get first item.