@Internal public class VisualComparer extends Object
Comparer and the associated family of classes making up the
Visual Comparison V2 API instead of this class directly.| Constructor and Description |
|---|
VisualComparer(VisualComparableClient client) |
public VisualComparer(VisualComparableClient client)
public long getWaitforJQueryTimeout()
public void setWaitforJQueryTimeout(long waitforJQueryTimeout)
public void setScreenResolutions(ScreenResolution[] resolutions)
public ScreenResolution[] getScreenResolutions()
public void setRefreshAfterResize(boolean refreshAfterResize)
public boolean getRefreshAfterResize()
public void setUIStringReplacements(Map<String,String> uiStringReplacements)
public void enableReportGeneration(String reportOutputPath)
public void disableReportGeneration()
public void setTempPath(String tempPath)
public String getTempPath()
public List<BoundingBox> getIgnoreAreas()
public boolean getIgnoreSingleLineDiffs()
public void setIgnoreSingleLineDiffs(boolean ignoreSingleLineDiffs)
public void setIgnoreAreas(List<BoundingBox> ignoreAreas)
public boolean uiMatches(String id, String baselineImagePath) throws Exception
Exceptionpublic ArrayList<Screenshot> takeScreenshots(String id) throws IOException
IOExceptionpublic ArrayList<Screenshot> loadBaselineScreenshots(String id, String baselineImagePath) throws IOException
IOExceptionpublic boolean compareScreenshots(ArrayList<Screenshot> oldScreenshots, ArrayList<Screenshot> newScreenshots) throws Exception
Exceptionpublic ScreenshotDiff getScreenshotDiff(Screenshot oldScreenshot, Screenshot newScreenshot) throws Exception
ExceptionCopyright © 2015 Atlassian. All rights reserved.