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 |
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...?
How to export quicktest professional (qtp) results to an .xls file?
How to connect QTP to Testdirector
What is the difference between low level recording and analog recording mode when it will be enabled.
What is Expert view?
What is object spy in quicktest professional?
what is the difference btn risks & Therads in the Test plan documentation?
Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?
How can you delete the results file (XML)
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
How you can make an action as re-usable action?
How to make Non reusable actions into reusable action? is that feature available in QTP