Screenshot jpg file not created properly using Reporter for UIPath activity

Hello,

For some steps , screenshot jpg file is created

For some steps it is not creating jpg file for certain steps

While opening the link from html report it gives

Screenshot (255)

for some steps the screenshot is available

also while zipping the folder created by reporter
on unzipping , no screenshots are opened using html file

Using Reporter For UiPath Activities to create html report and screenshots

@parmila_lama, could you tell about this?

Hi @nikhil.chandre
From what I can see on the path file where it was created, the ‘object reference not set to an instance of an object’ message means one of the variables is null or not initialized with value property or some of the arguments are not passed in the invoke workflow. I assume you are concatenating variables into the path. please check that.

Cheers!

the object reference is the exception which the script catches and logs. had put the option Take screenshot checked for the exception caught.

this is actually the name of the screenshot file which is created