I need to select a drop-down on a website that may be in different positions each time. The drop could in positions where 1001 - Roofing is to where the drop down is currently. Any ideas on how to do this? My only thought so far is to create an action for each position and go to the next if it fails.
The "Set dropdown list value on webpage" action also has an option to select the value in the dropdown by its name value. Can you use that to pass 1001 - Roofing.
If any difficulty then right click, inspect the element and see the html code for the dropdown. That might give some hints as to how to use it.
If that is still not working, then you can use Sendkeys into the dropdown and type 1001 - Roofing and then press TAB or ENTER depending on how your application works.
I am able to enter the information once the menu is selected. What I can't do is select the drop-down because it's position changes based on how many other cost codes are entered. Is there a way to search for the drop-down versus a specific position of a drop-down.
The screenshot that I have shared above is for selecting based on the text (and not by position). Have you tried that?
Also if that does not work have you tried the second option of sendkeys also which I have mentioned in the post.
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!