How To use take screenshot for a web UI element via different clipping region?

Hi Dears,

I’m trying to take screenshot of a web ui element,a lotdiv in a form,but I can’t pass a variable to Clipping Region,is there any way to sovle this problem.

Hi @yu_duanmu,
Can you try the “Take screenshot” Activity. It will return it as image.

Regards
Balamruugan

Pass the selector to the UI element as input of the Find Element activity, and receive a UIElement object as output. This step can be skipped if you use the selector directly in the Take Screenshot activity.
Then, pass this UIElement to the Take Screenshot activity and receive a Image object (which is the screenshot).
Finally, use the Save Image activity to save it to disk.
Sample: ScreenshotFromUIElement.zip (5.4 KB)

Hi Mateus,thanks for your suggestion,for the question I mean for example,there is 3 divs or other ui elements in a form,I want to take screenshot of 2 divs in the form,but one of the div is a table which could have diffrent hight,is there any way to take screenshot of the 2 divs or uielements?

Hi balupad,thanks for your suggestion,for the question I mean for example,there is 3 divs or other ui elements in a form,I want to take screenshot of 2 divs in the form,but one of the div is a table which could have diffrent hight,is there any way to take screenshot of the 2 divs or uielements?

Do you have any sample? Or can you make a quick one using something like https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_div_test?

Hey Mateus,
I have attached a sample files for your reference. herein i am trying to take screen shots of the review posted on site. So the reviews are dynamic is size. can you suggest a way wherein i can capture them.

Also, there is some issue in the loop, for each row. As i am new to uipath and rpa, i am not able to figure out the solution. please help in correcting the issues.Test.xlsx (10.2 KB) test1.xaml (17.2 KB)

Hi any one, who is following this thread, this video may help: