I have this task where I have to click on multiple links and get information from it. This the the flow i need to do
open website - Open browser activity
select one of the links which will take me to a different page with more links - click activity
click on the table of contents parts (refer to picture1). this will take me to the subparts section (picture2) -
click on each and every subpart link that there is(refer to picture2) -
read text from the page that it takes me - read text activity
put it all in an excel sheet
My question is, how can i make a generalize flow for parts 3 and 4? I read through some of the other forums and I kind of have an idea with using data scraping but i am not sure i understand how i go back tot the links after i scraped the data. It would be wonderful if anyone can help me figure this out.
Hi,
You can achieve this using dynamic selector, check the selector of 2 or 3 links and see the common difference usually only the table row attribute will vary.
Create a int type variable and initialize it to the table first value and then each time you go and get the values try incrementingthe selector for next case and loop back.
Okay so i have extracted the data and I have which elements to click in a data table. Now i am using a for each row, I need to find the element based on the row of the data table and click on it. For this i am using “Find Element” and this is the selector I have: