I need to download file from the web page but number of download is not static. The key to identify is i will have as many number of download icon. So we need to click all (one after other) download icon (we know the scope on screen) and save the files into respctive folder.
You can give a try of below workflow.
- Use the structured DataScrapping Activity to get all Url’s of download icons.You will get data in a DataTable.
- Loop through table for each row
a. Open browser
b. Type into download link
c. Add a delay to complete download process.
d. Close browser - Repeat the step 2 till end of DataTable.
Please refer to : Work with UI Elements for UI Automation with Studio