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 Name | Description |
---|---|---|
1 | Step Name | Name of the step. This name has to be unique in a single workflow. This field is mandatory. |
Input Fields: | ||
2 | Screenshot Type | Holds the default value i.e. Full Screen. Screenshot Type i.e. Full Screen or Partial Screen. This field is mandatory. |
3 | X coordinate | Minimum allowed value is 0. Maximum allowed value depends on the screen resolution of processing machine. X co-ordinate field value should be positive. |
4 | Y coordinate | Minimum allowed value is 0. Maximum allowed value depends on the screen resolution of processing machine. Y co-ordinate field value should be positive. |
5 | Width | Width value for the screenshot. Width field value should be positive. |
6 | Height | Height value for the screenshot. Height field value should be positive. |
7 | File Name | Name of the image file without that will be created. This field is mandatory. |
8 | File Extension | Holds 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. |
9 | File Path | Holds the absolute path of the file where the image will be saved. This field is mandatory. |
10 | Button: Browse | On click of this button a dialog box opens and helps to select the file path. This field is mandatory. |
11 | Add File To Result | Output field to hold the result of the step execution. |
Output Tab: | ||
Output Fields: | ||
1 | Result | Output 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.