Problem with path to function GetScreeImage
GoogleCodeExporter opened this issue · comments
Google traductor:
This function indicates that deve be a relative path.
If you save your log in a different path of execution, this capture is not
displayed in html report.
View SeleniumLibrari.Capture_Scrrenshot case where it is used as a route
rather than run, $ (log_file)
Playback method:
z: \> pybot - test "testcase" - outputdir z: \ ddmmaaa \ testsuite \
Testword which includes only the testword Capture_Scrrenshot.
Problema con la ruta de la funcion GetScreeImage
Esta funcion indica que deve de ser una ruta relativa.
En caso de guardar los log en una ruta diferente de la ejecucion, esta
captura no se muestra en el reporte html.
Ver caso de SeleniumLibrari.Capture_Scrrenshot, donde se usa como ruta en
vez de la de ejecución, ${LOG_FILE}
Metodo de reproduccion:
z:\>pybot --test "testcase" --outputdir z:\ddmmaaa\testsuit\
Donde testword incluye unicamente la testword Capture_Scrrenshot.
Original issue reported on code.google.com by jrvi...@gmail.com
on 22 Jan 2010 at 11:02
I'm not sure if I totally understand due to translation problems. If I
understand
your example above, you're setting the pybot outputdir to some absolute path.
That's
fine. You still have to specify the image file path relative to the outputdir
that
pybot was given. The code that does the image insertion into the pybot log is
as
follows:
#
# Embed the screenshot in the Robot Framework log file
#
self._html('<td></td></tr><tr><td colspan="3"><a href="%s">'
'<img src="%s" width="700px"></a></td></tr>' % \
(FilePath, FilePath))
If you can suggest a way to do this that does not require relative pathing, then
please post it here and I'll reconsider.
Original comment by c.martin...@gmail.com
on 5 Mar 2010 at 2:43
- Changed state: Invalid
Original comment by c.martin...@gmail.com
on 23 Apr 2010 at 7:59