public interface IAddsMedia<T>
| Modifier and Type | Method and Description |
|---|---|
T |
addScreenCaptureFromBase64String(java.lang.String base64String)
Adds a snapshot to the test or log using a base64 string
|
T |
addScreenCaptureFromBase64String(java.lang.String base64String,
java.lang.String title)
Adds a snapshot to the test or log with title using a base64 string
|
T |
addScreenCaptureFromPath(java.lang.String imagePath)
Adds a snapshot to test or log
|
T |
addScreenCaptureFromPath(java.lang.String imagePath,
java.lang.String title)
Adds a snapshot to the test or log with title
|
T |
addScreencastFromPath(java.lang.String screencastPath)
Adds a screencast to test or log
|
T addScreenCaptureFromPath(java.lang.String imagePath, java.lang.String title) throws java.io.IOException
imagePath - Image pathtitle - Image titleExtentTest or Logjava.io.IOException - thrown if the imagePath of image is not foundT addScreenCaptureFromPath(java.lang.String imagePath) throws java.io.IOException
imagePath - Image pathExtentTest or Logjava.io.IOException - thrown if the imagePath of image is not foundT addScreencastFromPath(java.lang.String screencastPath) throws java.io.IOException
screencastPath - Screencast pathExtentTest or Logjava.io.IOException - thrown if the screencastPath of image is not foundT addScreenCaptureFromBase64String(java.lang.String base64String, java.lang.String title)
base64String - Base64 image stringtitle - Image titleExtentTest or LogT addScreenCaptureFromBase64String(java.lang.String base64String)
base64String - Base64 image stringExtentTest or Log