Screenshot and email automation

Hi All,

I have below requirement, please help to advise.

1.open 2 browsers
2.Take screenshot of 2 browser
3.Save screenshots
4.Embed screenshots in email
5.Send email
6.close 2 opened browsers
7.On next run, the screenshots should overwrite

Reagrds,
Chlavarara

1 Like

Are you trying to open two browsers parallel or in sequence?

If you are trying to open two browsers in sequence.
then you can follow this.
-First Use open browser.
-Take a screenshot using “Take screenshot” activity .,
-Save the image in particular folder and specify name to the screenshot .
-Close the browser.
-Open Second browser.
-Take a screenshot using “Take screenshot” activity .
-Save the image in particular folder and specify name to the screenshot for the second screenshot.

  • using send email activity you can attach both the images and send an email.
    -Close the browser.
    When you are executing for the second time it will override the existing images.

Hi Hemanth,

Thanks for your valuable advice, i am totally new to UIpath.

Are there any similar examples or guide to achieve the requirement.

Any example file, will help a lot

Regards,
Vamsi

Refer to this file.
Main.xaml (16.7 KB)

1 Like

Hi Hemanth,

Thanks for the example.
I have tried to change the URL in the open browser activity, but when it comes to the take screenshot activity i get the error attached.

Kindly advice.

1 Like

@chlavarara
The file which I have sent to you is a reference file. Since you have changed the URL, selector which I have used to take screenshot will not work.

So please refer to the work flow and design you own flow with dynamic selector to take screenshot of the webpage.

Thank you!!

2 Likes

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