Take screen shot of terminal session

Hi,

Can you please advise how to take Screen shots of the Terminal Screen. I used Terminal session activity and recorded the steps.

Thank you,

Hi @viral.upadhyay ,

Try making use of the activity ‘Take Screenshot’ and ‘Save Image’

Attaching the official UiPath documentation here of both the activities below for your reference,

This should work fine.

Hope it helps.!

Thanks,
Gautham.

Thank you for replying, I used activity Take screen shot and save image however it is taking full screen snap instead of the active one. I also used Get Active Window Activity, but it is still taking full screen snapshot…

@viral.upadhyay

Did you pass that active window ui element to take screnshot

Cheers

Open the project in Studio. Open UI Explorer. Put a breakpoint on one of your terminal activities. Run the project in Debug mode. When it stops, you’ll have the terminal client visible and can use UI Explorer to get the selector for it. Now you can just manually enter the selector for the Take Screenshot activity.

Hello,

I added the toggle Breakpoint and opened Ui Explorer. clicked on Indicate Element selected the mainframe session. but due to the project is in running status it is not allowing me to select anything on the Take screen shot activity , indicate target on screen option .



Capture

Go to the Properties for the Take Screenshot activity, set Target to TargetAnchorable, and manually enter the selector.

Can you please advise what should i enter on those selection. should i enter the below highlighted selector in to that.

Put that wnd selector into the Window Selector property of the Take Screenshot.

Another way to do it would be to open a second project, add the Take Screenshot activity, and indicate the terminal window that’s open. Then you’ll see how it does the selector.

Thanks for your help. it works.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.