Micro Focus QTP (UFT) Forums
How to exclude conditional checkpoint statement as part of test result? - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to exclude conditional checkpoint statement as part of test result? (/Thread-How-to-exclude-conditional-checkpoint-statement-as-part-of-test-result)



How to exclude conditional checkpoint statement as part of test result? - riteshgpt - 04-29-2010

Like I have conditional checkpoint statement
Code:
CheckPoint=Window("OW").WinObject("#32770").Check (CheckPoint("NVerification"))
If CheckPointThen
'to do task        ' Ready Mode for Accept  Call
End If

I want to exclde this checkpoint statement as part of test result.
as this is conditional statement for performing test task. This does not have any impact on test case.
i want to exclude as test result .. as result its should not say fail test result.

Please suggest me any alternate way ?
is there any way I can map Action with my excel sheet test case? so that result can directly be part fo my excel sheet.

thanks for suggestion in advance.


RE: How to exclude conditional checkpoint statement as part of test result? - guin.anirban - 04-29-2010

You can use Reporter.Filter event before the verification point.