How to capture the Check point Value into a variable?
Answer Posted / 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 |
Post New Answer View All Answers
How often were they executed?
Is it possible to switch between recording modes during a test creation?
can u please explain what is the exact difference between qtp8.2 and 9.0
What is the quicktest professional testing process?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
What is a programmatic description?
Output values? i want a practical example
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
Explain the features and benefits of quick test pro(qtp)?
what is defenetion of kiran can u tell me plz CVS, SVN
What is the short cut keys for the following?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
how many maximum number of virtual users we can create?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
What are the trigger events in qtp?