How to capture the Check point Value into a variable?

Answer Posted / rajkumar

checkpoints have values like true/pass(bo0lean)
if your insert one checkpoint it's "pass" it will return
True otherwise it's return false
s=Browser("Google").page("Google").check check("orkut")
if s=True Then
msgbox "it's as per expected"
else
msgbox "it's not as per expected"

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is fragmentation and paging?

1594


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1438


Explain building blocks of the bpt framework ?

561


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1615


What is method name to compare two XML files.

1541






Explain hybrid framework with advantages and disadvantages?

546


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

1680


what is clean sweep?

1889


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1430


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1409


What are the views available in quicktest professional?

563


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2427


Is it possible to call win runner script in qtp?

628


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2257


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1463