Hi,

I user hamcreast matchers to preform my asserts and add a string as the
first parameter in the method e.g :


*assertThat* ("The result should be" + expected + " but I recieved " +
returnedResult, findElement(By.id("ID")), *equalTo*(*true*));

This will print out in the report e.g.

[image: Inline image 2]

I'm not sure if this is what you are looking for but I find it very helpful.

Cheers,
Mary

<<image.png>>

Reply via email to