ForEach: How do I use this?


I would like to upload 50 files using Ui vision. All the files are numerated (1.png, 2.png, 3.png etc).
I would like the script to upload one file (for example 1.png) then click on submit and then upload the second file (2.png) and so on until the 50 files have been uploaded.

What would be the best way to do this?
I was thinking of using the foreach loop however I am not really sure… Please me out :smiley:
Thank you in advance

I would use a simple times loop. The {!times} variable will then have the values 1…50