Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Suggested answer

UI Element selection

(1) ShareShare
ReportReport
Posted on by
I am using a web application of Employee Management.
I have designed a PAD flow where an employee id is selected from an excel ( I have excel with ID and Name).
By using "Click link on web page" flow inputs employee id to search employee and corresponding employee name is displayed. This displayed employee name has hyperlink and with a click on employee name it open a specific employee page. I used capture UI element(its Anchor) for employee name and it worked for a first run (as excel has 100 rows), when the second run happens it stops at employee name selection as the Id is not found. Any help to run the flow continiously.
Categories:
  • Suggested answer
    Nived_Nambiar Profile Picture
    17,585 Super User 2025 Season 1 on at
    UI Element selection
     
    I think id attribute would be different for different employee data.
     
    SO solution would be to make the id attribute dynamic so that it works in general. Also try to see whether you can use any other attribute apart from ID, like employee name in hyperlink text, so that you can use a variable in selectors which holds the employee name 
     
    something like this : a[Text()="%EmployeeName%"]
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 18 Super User 2025 Season 1

#2
Nived_Nambiar Profile Picture

Nived_Nambiar 14 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 6

Overall leaderboard