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

I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?

4 Answers  


How to export quicktest professional (qtp) results to an .xls file?

0 Answers  


How to connect QTP to Testdirector

4 Answers   BirlaSoft, Polaris,


What is the difference between low level recording and analog recording mode when it will be enabled.

5 Answers   Ordain Solutions,


What is Expert view?

4 Answers  






What is object spy in quicktest professional?

0 Answers  


what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?

1 Answers   Wipro,


How can you delete the results file (XML)

2 Answers  


Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT

1 Answers  


How you can make an action as re-usable action?

0 Answers  


How to make Non reusable actions into reusable action? is that feature available in QTP

2 Answers   Ordain Solutions,


Categories