Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Selenium Webdriver: Add difference output to all SmartClientWebDriver.verifyValue

    Currently all verify methods of SmartClientWebDriver write the expected and actual value to the error output on differences except for verifyValue for Boolean, Integer and String. Only in the verifyValue for Longs this code is present:
    Code:
    final boolean match = (expected == null) ? (value == null) : expected.equals(value);
    if (!match) {
         System.err.println("Expected: '" + expected + "', found: '" + value + "'");
    }
    Could you please add that one line of code to the methods? It would greatly help in understanding what went wrong during tests when verifyValue fails.

    #2
    This extra information should be now be provided in SmartClient 10.1p and newer branches, for the nightly builds dated 2016-06-21 and beyond.

    Comment

    Working...
    X