Forum Discussion

mahi's avatar
mahi
Occasional Visitor
10 years ago

XpathContains assertion failed for path error

Hi,

 

after executed the test steps using datadriven testing with Excel sheet , in TestcaseLog : I am getting XpathContains assertion failed for path [declare namespace tns='http://services.ntst.com/clinicianService'://tns:getClinicianRS[1]/tns:ErrorDescription[1]]:Exception: Missing content for xpath [declare namespace tns='http://servicesservices.ntst.com/clinicianService'://tns:getClinicianRS[1]/tns:ErrorDescription[1]] in Response.

 

Can someone please suggest how to solve this error message.

 

Thanks.

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    Looks like the assertion is being failed. May be an application defect. Check with your team.