pranitha63
(Pranitha63)
February 21, 2023, 5:53am
1
Hi Everyone,
Just wanted to know is my above question achievable
Thank you
Pranitha
1 Like
arivu96
(Arivazhagan A)
February 21, 2023, 5:53am
2
Hi @pranitha63 ,
yes its possible. use Take screenshot activity
refer below link to save screenshot image
How to take a screenshot of the selected region on the screen and how to take a screenshot of the entire screen?
UiPath has an inbuilt Take Screenshot activity in UiPath.UIAutomation.Activities package. This activity can be used to take a screenshot of a specified UI element or a region.
Steps mentioned below (for Classic Take Screenshot activity):
Create a sample process and ensure to install UiPath.UIAutomation.Activities from the Manage packages.
From the Activities pane, search for 'Take…
Regards,
Arivu
1 Like
Hi @pranitha63
Welcome to community
Kindly check out “Take screenshot” activity
Take screenshot activity can work in both attended and unattended mode
It will work for sure even if you haven’t indicated any screen
In that case it just take the screenshot of the screen present at that moment
And have it as a img object
1 Like
Gokul001
(Gokul Balaji)
February 21, 2023, 5:56am
4
Hi @pranitha63
Yes its possible to take screenshot in unattended mode.
Check out the XAML file for Take ScreenShot
TakeScreenshot.xaml (8.0 KB)
Regards
Gokul
1 Like
pranitha63
(Pranitha63)
February 21, 2023, 5:56am
5
So this activity would help to take and save to which folder
Hi @pranitha63
Welcome to Community!
As suggested it is possible what you need is like the studio installion must be in the Service mode when its come to unattended
Thanks a lot @seanrockvz13 for explaining to me about many things. After checking the whole system setting again . I have come to know that the path is installed with the Robot type as User Mode in the non-working VM . After the reinstallation is done with the robot type as Service Mode the VM is working fine.
[image]
If anyone faces the same issue you need to check this first in task manager->Details
[image]
There should be a Service. host available in the running state for unattended and…
1 Like
For that kindly use save image activity
pranitha63
(Pranitha63)
February 21, 2023, 5:57am
8
Just found it @nikhil.girish
Thanks
Take screenshot & save image activity
arivu96
(Arivazhagan A)
February 21, 2023, 5:58am
9
you can give your own path
Regards,
Arivu
1 Like
After taking the screenshot you will receive a image varaible in the take screenshot activity @pranitha63
Use that variable in the Image field above and gve your folder path and filename it will be saved in the required folder
pranitha63
(Pranitha63)
February 21, 2023, 5:59am
11
Thanks @nikhil.girish @arivu96 u made my task easier
system
(system)
Closed
February 24, 2023, 6:00am
13
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.