| Package | Description |
|---|---|
| de.ppi.selenium.junit |
Contains some helper classes for tests with JUnit.
|
| de.ppi.selenium.logevent.api |
The api to create logevents.
|
| de.ppi.selenium.logevent.report |
Create Reports of testruns.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EventLoggerRule.willScreenshotLogged(Priority priority) |
EventLogger |
EventLoggerRule.withScreenshot(Priority prio,
org.openqa.selenium.WebDriver webDriver) |
| Modifier and Type | Method and Description |
|---|---|
Priority |
EventData.getPriority() |
static Priority |
Priority.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
Priority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Priority.isMoreImportantThan(Priority other)
Checks if this priority is more important or equal than the other.
|
EventLogger |
EventLoggerFactory.on(Priority priority,
java.lang.String group,
java.lang.String item)
Creates an
EventLogger with given priority. |
static void |
EventLoggerFactory.setDefaultPriority(Priority priority)
Define the default priority.
|
static void |
EventLoggerFactory.setDefaultScreenPriority(Priority priority)
Define the default priority for screenshots.
|
void |
EventData.setPriority(Priority priority) |
static void |
EventLoggerFactory.setPriority(Priority priority,
EventSource eventSource,
java.lang.String group,
java.lang.String item)
Define the normal priority and if no other value exist for the
screenshot-priority.
|
static void |
EventLoggerFactory.setScreenshotPriority(Priority priority,
EventSource eventSource,
java.lang.String group,
java.lang.String item)
Define the normal priority and if no other value exist for the
screenshot-priority.
|
boolean |
EventLoggerImpl.willScreenshotLogged(Priority priority)
Return if a screenshot will created.
|
boolean |
EventLogger.willScreenshotLogged(Priority priority)
Return if a screenshot will created.
|
boolean |
EmptyLogger.willScreenshotLogged(Priority priority)
Return if a screenshot will created.
|
EventLogger |
EventLoggerImpl.withScreenshot(Priority prio,
org.openqa.selenium.WebDriver webDriver)
Define that the log should be done with screenshot if priority higher
then the threshold.
|
EventLogger |
EventLogger.withScreenshot(Priority prio,
org.openqa.selenium.WebDriver webDriver)
Define that the log should be done with screenshot if priority higher
then the threshold.
|
EventLogger |
EmptyLogger.withScreenshot(Priority prio,
org.openqa.selenium.WebDriver webDriver)
Define that the log should be done with screenshot if priority higher
then the threshold.
|
| Constructor and Description |
|---|
EventLoggerImpl(EventStorage eventStorage,
java.lang.String testrunId,
Priority priority,
Priority screenshotPriorityLevel,
EventSource source,
java.lang.String group,
java.lang.String item)
Initiates an object of type EventLoggerImpl.
|
| Constructor and Description |
|---|
MarkdownReporter(java.lang.String reportDestination,
boolean logOnlyOnError,
Priority priority)
Initiates an object of type MarkdownReporter.
|
Copyright © 2017 PPI AG. All rights reserved.