manykarim / robotframework-doctestlibrary

Robot Framework DocTest library. Simple Automated Visual Document Testing.
Apache License 2.0
46 stars 20 forks source link

I don´t see img in output #20

Closed 12jakubpavel closed 2 years ago

12jakubpavel commented 2 years ago

Hi. I am not sure why, but I don´t see any img from doctestlibrary. Have you any idea whats wrong? I'm not sure if any folder with screenshot names existed.

obrazek obrazek obrazek

manykarim commented 2 years ago

Hi Jakub, Looking at the code in VisualTest.py, it seems like Screenshots are stored in the screenshots/ subfolder of the current working directory. Could you please try to create the 'screenshots' folder in the 'output' directory and give it another try? Will investigate a bit further tomorrow.

BR, Many

12jakubpavel @.***> schrieb am Di., 20. Juli 2021, 22:05:

Hi. I am not sure why, but I don´t see any img from doctestlibrary. Have you any idea whats wrong? I'm not sure if any folder with screenshot names existed.

[image: obrazek] https://user-images.githubusercontent.com/37021143/126387773-f63a9af6-5f14-445c-8fa4-6414678de93d.png [image: obrazek] https://user-images.githubusercontent.com/37021143/126387841-64e4d5e3-0a25-45a2-ab1e-0fc657916882.png [image: obrazek] https://user-images.githubusercontent.com/37021143/126388289-d3eb7d7a-cbd7-44cb-9b1b-bb53e1c90085.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/manykarim/robotframework-doctestlibrary/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTUE3HEHTTTGICV2JKQDVLTYXJIZANCNFSM5AWP7NZQ .

12jakubpavel commented 2 years ago

Hi Manykarim.

I tried that too. The folder remained, but there was nothing in it. Oh, I can see it now. Screenshots are stored in the project, but I'm creating output one folder up.

manykarim commented 2 years ago

The screenshots folder will always be created in the outputdir used by Robot Framework. By default the outputdir is the current path from which Robot Framework was executed. But it can be adjusted via the --outputdir command line parameter.