web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : RFiI9QqbF38hCHPpLqKbgh
Power Automate - Power Automate Desktop
Unanswered

How to set value in dropdown list filed

Like (0) ShareShare
ReportReport
Posted on 1 Nov 2023 06:26:55 by 92

Hi All,

 

I have a requirement that need publish job information on China recruiting website. 

When I tried to set value in dropdown list field, it failed to select the item, I tried both "Run JavaScript function on web page" and "Set drop-down list value on web page” activities in PAD and both are failed.

zxky18_3-1698819978563.png

 

 

zxky18_0-1698819697433.png

zxky18_1-1698819797970.png

 

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on 02 Nov 2023 at 04:35:07
    Re: How to set value in dropdown list filed

    If it is not a <select> type element, it's not a real drop-down list that Power Automate Desktop can work with. So, the only real option is by clicking via Click element in web page or Press button in web page. You need to click once to expand the drop-down and then once again on the option you want to select. If the option is dynamic, you might also need to include an action called Extract data from web page to retrieve the available options on the list, then find the index of the one you need, and use that index in the selector for the second click.

     

    You will need to modify a web selector to include a variable (index) in it. If you don't know how to do that, please refer to this article: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors

    And this video: https://www.youtube.com/watch?v=2PcyBa22Jj8&ab_channel=Thomas%22Shaky%22Petersen

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • UshaJyothiKasibhotla Profile Picture
    73 Moderator on 02 Nov 2023 at 02:06:18
    Re: How to set value in dropdown list filed

    Take wait time between two click activities and then check the selectors are stable 

    I think this may work 

    Hope this helps

    Usha

  • CU14110159-0 Profile Picture
    92 on 02 Nov 2023 at 01:21:20
    Re: How to set value in dropdown list filed

    Hi @UshaJyothi20,

    thanks for your reply, I tried this solution but a little worry about its stability.

  • CU14110159-0 Profile Picture
    92 on 02 Nov 2023 at 01:19:10
    Re: How to set value in dropdown list filed

    Hi @Srini007, thanks for your reply, I tried name and index, both of them are failed.

  • UshaJyothiKasibhotla Profile Picture
    73 Moderator on 01 Nov 2023 at 07:44:28
    Re: How to set value in dropdown list filed

    please try with the 

    click on dropdown by using click activity 

    and then again focus on the text

    then use click activity

     

  • Srini007 Profile Picture
    3,263 Super User 2025 Season 2 on 01 Nov 2023 at 07:32:32
    Re: How to set value in dropdown list filed

    Hi @zxky18 

     

    If the Set Drop-down is not worked with the Name, can you check with the Index? Try using the index and check

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Regards,

    Srini

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2