Not showing screenshot in the extend report | Selenium C# Forum
V
Victoria Siberry Posted on 13/07/2020

 

Hi,

 

I have stored the screen shot in the parent directory of the project file. It is working  fine in my local machine but when I email the report to other members of the team the screen shot is not visible to them as it uses the absolute path. I have no idea how to use relative path of the screen shot image

 

any advice please suggest

 

Thanks

Deepa


A
Ashish Replied on 02/08/2020

in that case you can store the screenshots with a relative path to the project

Or save them in same directory as index.html and just name the jpg file in the code