Interview Questions

How can I check if a checkpoint passes or not?

QuickTest Professional (QTP) Questions and Answers


(Continued from previous question...)

How can I check if a checkpoint passes or not?

code:
chk_PassFail = Browser(...).Page(...).WebEdit(...).Check (Checkpoint("Check1"))
if chk_PassFail then
MsgBox "Check Point passed"
else
MsgBox "Check Point failed"
end if

(Continued on next question...)

Other Interview Questions