How to use custom checkpoints in QuickTest Professional?



How to use custom checkpoints in QuickTest Professional?..

Answer / anupam mishra

Custom check points ara user specifice Check points,if we
want to check particular object/or its any property then we
make custome check points

Example
Function VerifyObjectExists(AppObject )
If AppObject.Exist Then
'Print "Object Exist"
VerifyObjectExists= "True"
Else
;Print "Object does not exist"
VerifyObjectExists="False"
End If
End Function
set Obj=dialog("Login").WinButton("OK")
VerifyObjectExists(Obj)

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More QTP Interview Questions

what are the mandatory and assistive properties of objects in QTP?What is attached text?Plz assist me with proper answer.

7 Answers   MBT,


A question was asked in a company-suppose, I am testing a website on QTP, all the time a new title bar is appeared on next page. Trying to use regular expression under key word driven testing but expert view is also appearing unchanged and error is also generating, do you have any best resolution for that kindly explain in detail. please dont give example of yahoomail, that is unable to clear my doubt.

2 Answers  


what is output value in QTP and how it can be used in automation testing

0 Answers  


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

0 Answers  


we have 10 actions in out test how can we convert 9th action is main action ? how ?

5 Answers  






hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script

4 Answers  


i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?

4 Answers  


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

0 Answers   Yahoo,


What is the use of environment variables?

1 Answers  


hi, Can any body tell me whats the difference between the QTP and the Rational Robat ad the Silk Test and LOad Runner and are they used in any Company On the Major scale bcas I finnf Many comapny Using the Manual Testing Only Hence Askin the Question Hope I will get the Assitence .

1 Answers   First Europa,


I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot

5 Answers  


In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3

4 Answers   Broadridge,


Categories