Articles → UiPath → Take Screenshot Activity In Uipath
Take Screenshot Activity In Uipath
Purpose
Example
- Take a screenshot of the UIElement using the "Take Screenshot" activity.
- Save the screenshot using the "Save Image" activity.
Screenshot Of The Uielement
- Drag and drop the "Take Screenshot" activity.
- Select the UIElement by clicking the "Indicate on screen" link.
Click to Enlarge
- Create a variable of type "UiPath.Core.Image".
Click to Enlarge
- Set the value of the "Screenshotimage"variable.
Click to Enlarge
Save The Screenshot
- Drag and drop the "Save Image" activity.
- Specify the image and the output path.
Click to Enlarge
Output
Click to Enlarge