Result.Failure<O>, Result.Success<O>, Result.Warning<O>
BREAK_SCENARIO, callback, CONTINUE_SCENARIO, message, nid, takeScreenshot
Constructor and Description |
---|
Failure(O error,
String message,
boolean takeScreenshot,
Callbacks.Callback callback) |
Failure(O error,
String message,
boolean takeScreenshot,
int nid,
Callbacks.Callback callback) |
public Failure(O error, String message, boolean takeScreenshot, int nid, Callbacks.Callback callback) throws FailureException
error
- bonus information.message
- failure message.takeScreenshot
- (true or false).nid
- nora-ui technical id (1 or more).callback
- is noraui.exception.Callbacks.Callback of page.FailureException
- if the scenario encounters a functional error.public Failure(O error, String message, boolean takeScreenshot, Callbacks.Callback callback) throws FailureException
error
- bonus information.message
- failure message.takeScreenshot
- (true or false).callback
- is noraui.exception.Callbacks.Callback of page.FailureException
- if the scenario encounters a functional error.public O failure()
public void fail()
Copyright © 2023 NoraUi. All rights reserved.