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

How to create scenario selector

1477


How will you test a stapler?

592


How would you directly trigger javascript in a test?

1470


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1539


Does QTP run in any environment?

609






Explain how qtp identifies objects?

564


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

568


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

985


How can I change object description or check point values in qtp?

552


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1519


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2176


What is fragmentation and paging?

1589


Explain different recording modes?

579


What is the difference between call to existing action and copy of an action?

601


What is the Command used to start the QTP

1529