Hi,
I have a website with an HTML table. The first column in each row contains a link.
When clicking this link another tab opens and I have some other clicks that I run there. Once completed, I want to close that tab and click on the next link in the table.
I can't extract the links since they are JS actions and only work in the context of the page.
How do I loop through each row on the page?
Thanks
Sam
Are you able to get the entire Html table with the contents present in it? This will be into a Datatable. Then loop through the datatable and use "Go to webpage" to navigate to any of those links.
In theory yes, I can get the whole datatable. The issue is that the links aren't static links, they are JS actions which will do nothing if used as external links. I need a way of actually clicking each on of them on the page itself.
Does the recorder give anything when you manually click the links while recording?
Is there some public website that you can point to with the Js actions.
Have you tried to use keyboard actions to click the links?
The location and selectors are not saved with the table, so you have to create a UI element to use in combination with a loop. The UI element should have a custom selector containing a loop variable that dynamically changes. If that variable is a %LoopIndex% or a %CurrentItem% depends on how your table is set up, and what your desired data outcome is.
Any solution of exporting or recreating the links doesnt work since the application doesn't allow us to open them as standalone links. They must be opened from the main page with the table. The table is a standard HTML table and the links are in a fixed column. The table looks as follows:
We need a way of looping through each 'tr' element in the table and then selecting the third 'td' element for each record. We then need to click on the link of that selected record. How can we create this loop for the table records in the HTML?
Example of the table: (We need to click the values in the 3rd column under 'Process Name')
Thanks
Sam
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.