Cannot view image file in Eclipse

232 Views Asked by At

I'm not sure why I cannot view the image file that I've screenshot using Selenium in Eclipse workspace. But if I copy and paste the link in the PC File Explorer, the file do exist. My problem now is i cannot view the image directly in the Eclipse apps. It appear as "Cross" icon only, no images shown. Is there any configuration i need to setup? Thanks.

image file directory in package explorer

Cannot view image

exact image viewed in pc app (photos)

1

There are 1 best solutions below

1
On

I'm not sure about your exact setup, but I suspect that you are somehow not closing the file when you write the screenshot to the folder. Of course that assumes that you are generating a screenshot with your program.