public interface Scenario
Collection<String> getSourceTagNames()
String getStatus()
boolean isFailed()
getStatus()
returns "failed"void embed(byte[] data, String mimeType)
// Embed a screenshot. See your UI automation tool's docs for
// details about how to take a screenshot.
scenario.embed(pngBytes, "image/png");
data
- what to embed, for example an image.mimeType
- what is the data?void write(String text)
text
- what to put in the report.String getName()
Copyright © 2014. All Rights Reserved.