I want my bot to automatically select each player’s profile one by one. How can I do it? I try to do it but it’s opening new tab of first player on the list. i.e Sachin Tendulkar
Welcome to the community
Use for each ui element activity and it is for the same use case
Welcome to UiPath community
Would recommend to have a view on this thread where a discussion happened on a similar note
Welcome to forums
Another way of doing
You can use Table Extraction wizard to capture the text either URLs, In our case that will be URLs
Above will give a Datatable of URLs
Now use For Each Row Activitity and Open Appliction / Browser activity and pass the CurrentRow(“URL”).Tostring
Hope this may help you
Can you give a try on this below followings
- Attach an existing browser using “Attach browser” activity.
- Send Hotkey
Ctrl + tto open a new tab.
- Attach the newly opened tab using “Attach browser” activity in the same browser.
- Use the Navigate To activity to search the URL.
Thanks for your input. I have used each ui element activity. It’s hovering on each element but it’s not opening new tab/page. It’s just moving down.
Welcome to the Forum.
There are two ways you can Achieve this.
First: You can Use “For Each” Activity for Clicking Each Profile and inside it use “Attach Browser” Activity for opening the Each Profile link.
Second: Use “Data Scrapping” method for Extracting that Data table which contains Links for all players profile and save to Bot Internal Data Table. Then Using “For Each” Activity for Clicking Each Profile and inside it use “Attach Browser” Activity for opening the Each Profile link.
In for eqch ui element use a click activity to click on the required area