Get position of dropdown option

Hi all, hope everyone is doing well. I am trying to get position of options in a dropdown and then if the position of that option matches to a position in excel then select it. Is there an activity that will help me to get position of all options? Please advise.

Best Regards
Anived

Hi,

How about using Inject Js Script activity with the following script?

"function(e,v){ return e.selectedIndex; }"

The result will return in SctiptOutput property.

Regards,

1 Like

Hi @Yoichi, thanks for your response. I’ve got the position through get children and then putting it into a data table.