net.thucydides.core.model
Class ErrorMessageFormatter
java.lang.Object
net.thucydides.core.model.ErrorMessageFormatter
public class ErrorMessageFormatter
- extends Object
Converts a full WebDriver message into a shorter, more web-friendly format.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorMessageFormatter
public ErrorMessageFormatter(String originalMessage)
getShortErrorMessage
public String getShortErrorMessage()
- Returns the first line only of the error message.
This avoids polluting the UI with unnecessary details such as browser versions and so forth.
- Returns:
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.