Interview Questions

My test fails due to checkpoint failing, Can I validate a checkpoint without my test failing due to checpoint failure?

QuickTest Professional (QTP) Questions and Answers


(Continued from previous question...)

My test fails due to checkpoint failing, Can I validate a checkpoint without my test failing due to checpoint failure?

code:
Reporter.Filter = rfDisableAll 'Disables all the reporting stuff
chk_PassFail = Browser(...).Page(...).WebEdit(...).Check (Checkpoint("Check1"))
Reporter.Filter = rfEnableAll 'Enable all the reporting stuff
if chk_PassFail then
MsgBox "Check Point passed"
else
MsgBox "Check Point failed"
end if

(Continued on next question...)

Other Interview Questions