Hi Robert,
Thank you very much for your response. I was wondering if i could ask you for another advice. There is a web page where i need to select products (total 8 of them) and then proceed to the next page and select dates (4 of them) based on which i can export a file (*.csv) and save it on a hard disk. Currently i have my script broken down into 8 subs. Each sub executes steps per product. If there a way to create a loop for this flow and then exit somehow once last product routine is done? Could you please suggest which loop i need to use?
Please see the example below:
Webpage1 "Pick a product" and proceed to Webpage2"
P1
P2
P3
Webpage2 "Pick a date" - 4 dropdowns. Dates are always consistent (30, 45, 60, 75)
run the query and export the file
Thank you very much for your help.