public final class SeLionReporter extends Object
Test, WebTest and/or MobileTest| Constructor and Description |
|---|
SeLionReporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addLogAction(LogAction action) |
protected BaseLog |
createLog(boolean saveSrc)
Creates an instance of
BaseLog. |
protected void |
generateLog(boolean takeScreenshot,
boolean saveSrc)
Generate a log message and send it to the TestNG
Reporter |
static void |
init()
Provides saver with path to output information.
|
static void |
log(String message,
boolean takeScreenshot)
Generates log entry with message provided
|
static void |
log(String message,
boolean takeScreenshot,
boolean saveSrc)
Generates log entry with message provided
|
static void |
setTestNGOutputFolder(String rootFolder)
Sets string path to the output
|
public static void setTestNGOutputFolder(String rootFolder)
rootFolder - path to the output folderpublic static void init()
protected BaseLog createLog(boolean saveSrc)
protected void generateLog(boolean takeScreenshot,
boolean saveSrc)
Reporterpublic static void addLogAction(LogAction action)
action - A LogAction object that represents the custom log action to be invoked when
log(String, boolean, boolean) gets called.public static void log(String message, boolean takeScreenshot)
message - Entry descriptiontakeScreenshot - Take a screenshot true/false. Requires an active Grid session.public static void log(String message, boolean takeScreenshot, boolean saveSrc)
Copyright © 2016 PayPal Open Source. All rights reserved.