How to capture the Check point Value into a variable?
Answers were Sorted based on User's Feedback
Answer / jay prakash
Every checkpoint will return a value.
You can capture that as below:
Dim strRtnVal
strRtnVal=Window("Flight Reservation").WinObject("Insert
Done").Check (CheckPoint("Insert Done"))
msgbox strRtnVal
The catch here is put "CheckPoint("Insert Done")" in
brackets as (CheckPoint("Insert Done"))
Please let me know if it helps.
Is This Answer Correct ? | 5 Yes | 3 No |
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 |
Hi Can u plz suggest who is the Best Faculty for Advanced QTP Scripting in Hyderabad ,plz suggest me..... or send me a replay to satheesh.goli@gmail.com, r make me a call 9866335752
what is object and child object.. explain ..if possible give some example for better understanding ..
Is any limitation to xml checkpoints?
How do you configure QTP AND Test director?
how to invoke the web application through script in qtp
what is the difference between Automation object model(AOM) and test object model(TOM)
How do we retrieve the content from a text box in a web page
How to add multiple values in rows, under a single column of a run time datatable?
What are the different types of functions available in qtp and explain ?
How to open a new test using quicktest professional?
what is keyword driven framework in qtp.
How to use transactions in qtp?