Iam extracting a table from a remote site computer and there are multiple pages i want to extract but cv screen table extract data dont have option to indicate next button to scrape more data
what is other approach i can use to scrape?
@sangeethaneelavannan1 but in this scenerio iam extracting the table data from remote computer so there is no option available in cv screen table extract data
There is no option to indicate on next button by CV Extract Table activity. Make a loop by using while. Inside while insert CV Extract Table activity and after that use cv click activity to indicate on next button.
Follow the below process for better understanding,
→ Take CV Screen scope activity and indicate the browser.
→ Inside CV Screen scope insert the assign activity and create a boolean datatype variable called bool_flag and assign value as True.
- Assign -> bool_flag = True
→ Take while activity to loop, write condition in while activity as below,
- while condition -> bool_flag = True
→ Inside while loop insert the CV Extract Table activity to extract the table and store in a datatable called dt.
→ Insert Append Range workbook activity to write the dt to the excel.
→ After Append Range workbook activity insert CV Element exist activity and indicate on Next button and pass the output variable bool_flag.
→ Take a If condition to check the condition,
- If condition -> bool_flag = True
→ In then block insert CV Click activity and indicate on Next button
The above process, while loop work until the next button disappears.
Check the below workflow for better understanding, but I have done this by using Modern UI activities change the activities according to CV… @Priyesh_Shetty1