04-10-19 02:26 PM
09-10-19 06:47 PM
19-11-20 10:07 AM
19-11-20 05:50 PM
Hi Priya,
I have used a code stage wherein I have written a VB Script to capture the image and store it as a ".jpeg " file.
I am sending that path as attachment in Send email action.
After sending email I am deleting that file as the file location and name is used each time process enters that flow.
Also one more option is to use navigate stage and pass "PrtSc"--> {print screen} as Global send keys and copy it in a clipboard and paste it in a word file and store it and send it as an attachment.
Please let me know if any other optimised solution exists.
--------------------------
Best Regards,
Ved Sengupta
RPA Developer
Tata Consultancy Services
--------------------------
19-11-20 05:54 PM
HI Harsh,
You are correct I was using relative path as a result images were overlapping and not being saved in a correct order and hence each time the code tried replacing the same image this error was coming.
I split down my actions into the following order.
1.Check if any file exists.
If yes, Delete.
Else, Proceed in happy path.
End Check.
2.Take screenshot as per dimension in VB Script.
3.Save it in pre-defined path .
4.Send this image as attachment in "Send Email action of VBO"
5.Delete the image.
6. Start from step 1 when Bot enters this flow.
--------------------------
Best Regards,
Ved Sengupta
RPA Developer
Tata Consultancy Services
--------------------------
20-11-20 01:44 PM