Skip to main content

Take Screenshot

Description

Takes a screenshot of the entire screen and saves the image in a file

Properties

Input

  • Image File Path - Specify the file path, including the name of the image to be saved

  • Image Format - Select the image format from the drop-down list

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, the variables and argument values will no longer be logged at the Verbose level.

Optional

  • Timeout – Specifies the maximum duration the activity will wait for a response to perform the requested operation. A timeout error occurs if no response is received within the specified time. The default timeout is 30 seconds.
  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.
note

If this activity is inside the Try-Catch block, and the value of this property is True, no error would be caught.

Output

  • Screenshot - Returns the screenshot as an Image

Example

Download Example