Forum Discussion

mchelikani's avatar
mchelikani
Contributor
11 years ago

[Res] JUnitReport How to Show Xpath Assertion

I have XPath Assertion for the Responses for all my TestCases. The issue is I am facing is , the JUnitReport is not showing the complete assertion. Is there any setting that I can use to show the entire xpath assertion also( like //*:OTA_HotelAvailRS/*:RoomStays/*:RoomStay/@AvailabilityStatus)

XPath Match Assertions:

//*:OTA_HotelAvailRS/*:RoomStays/*:RoomStay/@AvailabilityStatus

exists(//*:OTA_HotelAvailRS/*:Services/*:Service)



RateRange Failed

[Amadeus_RateRange_Assertion_1] XPathContains comparison failed, expecting [AvailableForSale1], actual was [AvailableForSale]

HotelAvailSearch Failed

[Amadeus_HotelAvailSearch_Assertion_1] XPathContains comparison failed, expecting [true], actual was [false]

11 Replies