Hello,
Normal process
1.open webpage :- nseindia - https://www.nseindia.com/
2.click on market data
3.click on daily market report
4.clock derivatives
5.click Archives
6. Select date yesterday
7.download file ( F & o - Bhavcopy.(fozip)
I have done this but if the any exception occurred in this for example while opening website,File failed to download etc
Then bot should go and retry till the file download
I try with this but it won’t worked
I used do while
Assign retry=0
I tried with I have created one Boolean argument(outsuccess) in xmal direction is out
Outside the xmal one more create var outsuccess=outdownload
In condition
Outdownload= false and retry<=2
Thanks
Hi @suraj_gaikwad ,
You can achieve this in multiple ways here is one of the ways.
- Use the Retry Scope activity and inside that activity include the process 1-6 and give the max retry number.
- Once the above process is completed next to the above Retry Scope activity use one more Retry Scope and include process 7 and use the wait for download activity to make sure that file was downloaded and give the max retry number.
Okay ! Need out condition in retry !
How can passed the condition if there no element exist such type of
@Mohan_Reddy
no need to add condition in retry element
if an exception occur while downloading your file , the retry will delete the exception and retry the sequence from the beginning
i would recommend you to add navigate to your starting page of the sequence
Means navigate to browser or refresh thea page like that
@Hamza_Mesfar
navigate to url where you gonna download your using navigate to actovity