Help Needed to Improve Pharmacy Search Automation – Selecting Correct Search Result and Handling Dynamic Elements

Hey @Karla_Cristina_Santos_Cam
1- For selecting product number–
Instead of blindly clicking the first result, build logic to iterate through all results and evaluate their text content before clicking.Use Find Children.Loop through each result with For Each UI Element.Use Get Text (or Get Attribute) to extract the product name.

2-Handling Popups and Dynamic Ads
Use Element Exists or check app estate activity to handle popup .

3-For Selector Scalability
Use Wildcard, Fuzzy selector,Prefer stable attributes like aaname, title, innertext, etc.

4- General Suggestion
Would be use retry scope Add Delays Activity , Use simulate option,Add try catch to handle Exception and try to create your process in reframework.

cheers