TestProject Forum
Powered by leading experts in the test automation community

Found element in XML document with recorder fails in actual test

Hi,

I’m trying to verify if a certain value is set in an xml node. The recorder renders the xml document differently then the actual browser test. So while my test works in the recorder, it fails when it’s run in a browser.

Below a screenshot of the recorder and xpath:

Actual page content:

Test result:

How should I handle this test?

Regards,
Peter

Thanks for the suggestion, we now use an HTTP GET request to check for status 200 which is a much simpler way validating if the server is up and running.