Skip to main content

Capture Screenshot

Description

Capture Screenshot is a step in the Utility Plugin for Process Studio Workflows. The Plugin is used to capture partial or full Screenshot of the current screen in the processing machine.

Limitations:

- The screen resolution of the processing machine (agent machine) must be same as the screen resolution of the machine on which the workflow is designed.

- This step will not work for the headless environment,

- This step will not produce the expected output if the screen is locked/inactive.

Note: MousePos.exe is a useful utility to locate coordinates of the current cursor position on a screen

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow. This field is mandatory.
Input Fields:
2Screenshot TypeHolds the default value i.e. Full Screen. Screenshot Type i.e. Full Screen or Partial Screen. This field is mandatory.
3X coordinateMinimum allowed value is 0. Maximum allowed value depends on the screen resolution of processing machine. X co-ordinate field value should be positive.
4Y coordinateMinimum allowed value is 0. Maximum allowed value depends on the screen resolution of processing machine. Y co-ordinate field value should be positive.
5WidthWidth value for the screenshot. Width field value should be positive.
6HeightHeight value for the screenshot. Height field value should be positive.
7File NameName of the image file without that will be created. This field is mandatory.
8File ExtensionHolds the extension of the image file that will be created. Currently only bmp, png, jpg and jpeg file are supported by this plugin. This field is mandatory.
9File PathHolds the absolute path of the file where the image will be saved. This field is mandatory.
10Button: BrowseOn click of this button a dialog box opens and helps to select the file path. This field is mandatory.
11Add File To ResultOutput field to hold the result of the step execution.
Output Tab:
Output Fields:
1ResultOutput field to hold the result of the step execution. This field is mandatory.

Note: If the capture screenshot step is part of a workflow also containing Start Browser step, then it is advisable that no browser instance is kept open on agent machine, before executing such a workflow.