Get Value of a dropdown menu

Hi,

have simple dropdown. I want to find out the telephone (value) of EngineerB, for example, how to use uipath to get the value of EngineerB?

Sorry the dropdown is this:

1 Like

Hi @kelvinyeo24,
Use Get Attribute activity to fetch the value

Kindly have a view on this thread

Cheers @kelvinyeo24

Hi,

You can get it using Get Attribute Activity with the following settings.

Attribute : “value”

Target- Selector:
<html title='*' />
<webctrl name='ctrl00$ddIFE' tag='SELECT' />
<webctrl aaname='EngineerB' tag='OPTION' />

Regards,

Hi Yoichi,

Thanks, I got it to work. But how do I turn aaname=‘EngineerB’ into a variables. Because it can be any engineer…

Hi @kelvinyeo24
In the Selector itself of aaname give it as Engineer*

Thanks
Ashwin S

Hi,
In Selector Editor, you can set it as the following.

"<webctrl aaname='{{strEngineerVar}}' tag='OPTION' />"

You can also use right click to dragged text to put variable.

Regards,

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.