Micro Focus QTP (UFT) Forums
how to handle login failure in QTP - 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 handle login failure in QTP (/Thread-how-to-handle-login-failure-in-QTP)

Pages: 1 2


RE: how to handle login failure in QTP - basanth27 - 04-06-2011

Okay. With the same code but replace the checkpoint line with the below and let me know what msgbox returns?
Code:
oCheckValue = Browser("Browser").Page("Page_2").Link("Overview").Check CheckPoint("welcome")
Msgbox oCheckValue