I want take an screenshot and then i need to mail that screenshot as an attachment through mail

i want take an screenshot on a web page and then i need to mail that screenshot as an attachment through mail

Hi @manoj2500
Please use Take Screenshot activity
After that, use Save Image activity to save the screenshot

Hi @manoj2500,

Please follow this link.

Regards,
Tharusha

i that activity the output is image so i can save that as variable and then pass in the email or how it works

Once you saved the screenshot using the Save Image activity, you can attach it in the email :slight_smile:

If you want it in the body, please refer to this post:

use take screen shot activity and save image activity file , later you can attach it in the mail
fyi Reusable componentTakeScreenshot.xaml (8.6 KB)

So here are the steps:

  1. Use Take Screenshot activity to capture the web page. The output is an Image variable. Let’s say the variable name is imgTrial
  2. Use Save Image activity. Supply the FileName (e.g. screenshot.jpg) then the Image property should be imgTrial.
  3. Once done saving, attach it to the email. If you want the image to be in the body, you can use HTML. I posted the post above:

Then make sure that the isBodyHtml option is checked
image

Hope this helps.
Thanks and regards :slight_smile: