Micro Focus QTP (UFT) Forums
Saving Check point return value in a variable - 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: Saving Check point return value in a variable (/Thread-Saving-Check-point-return-value-in-a-variable)



Saving Check point return value in a variable - anbarasu - 11-10-2009

Hi,

Is it possible to save the return value (true or false/ 1 or 0) of check point in to variable.

I tried with the statements
Code:
Dim status
status = Browser("Google").Page("Google").WebEdit("q").Check Checkpoint("q")



RE: Saving Check point return value in a variable - Ankur - 11-10-2009

Try this:

Code:
Dim status
status = Browser("Google").Page("Google").WebEdit("q").Check (Checkpoint("q"))



RE: Saving Check point return value in a variable - anbarasu - 11-11-2009

Thanks it is working perfectly