public class PixelComparison extends Object
| Constructor and Description |
|---|
PixelComparison() |
PixelComparison(Screenshot screenshot,
IResponse response) |
PixelComparison(String screenshotName,
IResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
compare() |
String |
getBaseline(String screenshotName) |
org.opencv.core.Mat |
getCombinedDiff() |
int |
getTotalPixels() |
void |
setHighlightColor(String color) |
public PixelComparison()
public PixelComparison(String screenshotName, IResponse response) throws ResultException
ResultExceptionpublic PixelComparison(Screenshot screenshot, IResponse response) throws IOException, ResultException
IOExceptionResultExceptionpublic int getTotalPixels()
public void compare()
throws ResultException
ResultExceptionpublic org.opencv.core.Mat getCombinedDiff()
@Step(value="Changed highlight color to {0}")
public void setHighlightColor(String color)
Copyright © 2017. All rights reserved.