
Announcements
Hello. I am posting this message because I encountered a problem while writing a UI test automation script using Power Automate.
I have created a simple script to retrieve UI details from a web page. When I write and execute the script, it successfully retrieves the UI details. However, if I close the web browser and reopen it to execute the script again, I encounter cases where the UI elements cannot be found.
I would greatly appreciate it if you could provide a solution to this issue.
Additionally, if anyone is familiar with how to retrieve UI element information using the Power Automate program, I would be grateful for your guidance.
This happens when the elements in question have some sort of property values that are related to the current browser/user session. You need to inspect your selectors and remove any possible property values that change when you recapture the same element in a new browser session. See here for more reference on modifying selectors: https://learn.microsoft.com/en-us/power-automate/desktop-flows/build-custom-selectors
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution.
If you like my response, please give it a Thumbs Up.
If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/