Scenario
instead.@Deprecated public interface Scenario
Modifier and Type | Method and Description |
---|---|
void |
embed(byte[] data,
String mimeType)
Deprecated.
Embeds data into the report(s).
|
String |
getId()
Deprecated.
|
List<Integer> |
getLines()
Deprecated.
|
String |
getName()
Deprecated.
|
Collection<String> |
getSourceTagNames()
Deprecated.
|
Result.Type |
getStatus()
Deprecated.
|
String |
getUri()
Deprecated.
|
boolean |
isFailed()
Deprecated.
|
void |
write(String text)
Deprecated.
Outputs some text into the report.
|
Collection<String> getSourceTagNames()
Result.Type 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()
String getId()
String getUri()
Copyright © 2019. All rights reserved.