This method returns a boolean:

org.jbehave.web.selenium.DelegatingWebDriverProvider.saveScreenshotTo(String)

What if it would return a File instead if it succeeds and null if it does
not succeed?

Then the return value would contain more information and thus it would open
up more possibilities. I then could more easily upload all these
screenshots to a HP Quality test run. Currently it is hard to do this
because all file names are like
failed-scenario-1ab3b70f-f6d8-4dc8-a257-87a8c6a26276.png, I don't know
which one belongs to which story or execution.

But if saveScreenshotTo(String) would return a File I could remember them
and upload it after execution finished.

Well, its more nice to have, I know.

Reply via email to