***Settings***| Library | Selenium2Library | run_on_failure=Capture Screenshot
***Keywords***| Capture Screenshot| | Capture Page Screenshot | | error_screenshots/error.png1) If you install S2L from source, it has commit [1] to add index in the filename with Capture Page Screenshot keyword. Please see the keyword documentation for better details.
2) I usually do it with a script. Create required folder in the scrip and use the folder as input to the --outputdir option.
-Tatu
Send from my mobile
[1] https://github.com/robotframework/Selenium2Library/commit/918e9d3a52c5fdb990703bd279260e0c47e87670
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.