Hello community,
I have a table on a webpage, each row has a button that I need to click, which opens another page. On that other page, I have to perform additional tasks, and then return to the first page to repeat the process with the next row. It is essential that all this is done with Studio Web. What activities should I use?
First off you would indicate the page in a Use Application/Browser activity to indicate the page you want to automate.
Then use a Extract Table Data activity to scrape the table you want to click through and save the output as Datatable.
Next use a For Each Row in Data Table to iterate the table, and save the index under properties.
Create a new variable to save the index+2 to hit the correct item in the user interface.
Inside your For Each you would place a new variable to save the index+2 (to hit the correct item in the user interface) and a Click activity that clicks the pencil icon, where you replace the value for “tablerow” in your selector with the one saved (index+2).
Hello @SorenB, yes, it has been very helpful since I have the “general” knowledge of Studio Desktop. I suspected it was heading in that direction, but I couldn’t find the activities and couldn’t form the overall idea. I believe you have provided me with what I needed.
One thing to consider in most cases we can get the url if so you can avoid clicks and use go to url activity to navigate to each item from the extracted table