public class Reporter
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
log(java.lang.String msg) |
static void |
log(java.lang.String msg,
MessageTypes type)
You can specify the message type with message.
|
static void |
logWithScreenShot(java.lang.String msg)
Capture screen shot and attach with message in report.
|
static void |
logWithScreenShot(java.lang.String msg,
MessageTypes type)
Capture screen shot and attach with message in report.
|
public static void log(java.lang.String msg,
MessageTypes type)
MessageTypes.Fail the test case will get fail. When you want to
create step within test case you can use MessageTypes.TestStepmsg - type - public static void log(java.lang.String msg)
public static void logWithScreenShot(java.lang.String msg,
MessageTypes type)
msg - type - public static void logWithScreenShot(java.lang.String msg)
msg - Copyright © 2000 Infostretch Corp.