Examples of captureScreen()


Examples of net.sourceforge.marathon.action.AssertionFailedError.captureScreen()

    public void assertEquals(String message, Object expected, Object actual) {
        if(failMessage != null)
            failX(failMessage);
        if (!AbstractMarathonAction.objectEquals(expected, actual)) {
            AssertionFailedError e = new AssertionFailedError(message, expected, actual, scriptModel, windowMonitor);
            e.captureScreen();
            throw e;
        }
    }

    public void assertTrue(String message, boolean actual) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.