Micro Focus QTP (UFT) Forums
Ignore Predefined Step Faliure - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Ignore Predefined Step Faliure (/Thread-Ignore-Predefined-Step-Faliure)



Ignore Predefined Step Faliure - mnybon - 11-09-2011

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.