Forum Discussion

lea_chch's avatar
lea_chch
New Contributor
9 years ago
Solved

how to show attribute details for each assertion in the Test Case logging

My test check if a list of attributes are present in the returned result:   Product ID: 123 Product Name; Glare Screen Product Color: black   When an assertion fails, the logging doesn't displa...
  • nmrao's avatar
    9 years ago
    What kind of assertion are you using currently?
    If it needs to be done, I would use script assertion something like below:

    assert expected==actual, "Your customized message"