I am currently facing the following problem in an automation using the browser and an excel file.
The steps of the automation are the following:
name within in an excel file is copied
copied value is pasted into google
Select enter (for search)
click (select) the first google result
Copy the URL of this first result
paste copied URL into the excel
This happens for several excel entries (for each excel row).
What does not work is step 4. as the automation always is looking for the name of the first automated result. So what I would need would be that UiPath always selects the first google result without checking for the name of the result.
Can you make dynamic selector for (4. click (select) the first google result )while selecting the link
if selectors for Click activity is not optimized it may results into error.
To address the issue in step 4 of your automation using UiPath, you can modify the process to use a different method for selecting the first Google result. Instead of relying on the name of the result, you can use a selector or element attribute that consistently identifies the first result. This way, UiPath will select the first result regardless of its name.
Use the click activity and indicate the first search element when indicating the first element give the anchor to the element which is stable and for the target in the target options in selector options window check the fuzzy selector and select the Ignore Text in the dropdown.
@mkankatala do you know if there is a similar solution for the browser?
So after the BOT clicked on the first result (successfully) it will copy the URL of the result and paste it into excel.
Problem is that UiPath is now always working with the website of the first result