Save screenshot with adhoc names

Hi All

Is there a way where we can save screenshots in a common path with different names where we should use a specific Number taken from excel for naming for example if there is a component named “ID” and we need to save the screen shot with “Image+ID.png” so that we will be able to differentiate.


Yes, you should have your Take Screenshot activity in a loop with a Int32 counter (let’s say you declare it as “i”) and at the end of the loop you have an assign with i=i+1. In the filepath of the Take Screenshot you can use your path as “C/Documents/CommonFolder/ScreenshotNumber”+i.tostring+".png"


1 Like

Hi thank you so much it worked, I was using for each loop for recording used the same output in the save image also. Thanks again. :slight_smile: