Capture Screen

I am using CaptureScreen command for capture the SUT screen.
I am able to save the the image in one location,but next time if run the script the image is replaced with old image.
I want to create with increment value like Image1,Image2…
Here I am pasting my code
CaptureScreen (Name: “C:\EggPlant_Automation\Testing.suite\Results\Image”, Rectangle:(0,21,1151,803))

Please give me valuable suggestion.

To achieve that you will want to set the Increment property to YES.

Increment: A value of yes or true appends an automatically incremented number to the image. (The default value is no.)

For more information about the CaptureScreen command please refer to our online documentation.