Micro Focus QTP (UFT) Forums

Full Version: Ignore Predefined Step Faliure
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a problem that i cant quite get my head around here.
I am testing error situations on a webserver, the objective being to make sure the correct error message is returned when a certain condition is in place.

I can get the soap error xml from the response and validate it, but my test still fails because the WebService call itself reports an error when it recieves an error message.

This means that even when my validation is a succes, the test fails overall, because a built-in function in qtp (WebService) reports an error when recieving an error via soap.

How do i get around this? I need to either delete the failed step or change it to passed, or make sure it never fails in the first place.