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
Explain advantages and disadvantages of ddf?
Tell me about your project? please help me how to tell about insurance project
how do i know how to use tools
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
Why to use descriptive programming?
How do you delete unwanted results in qtp?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
what type of run time errors you get while you ar edoing rpg program?
Explain data driven framework?
How to call a test from another test?
How is UFT 11.5 version different from UFT 12.0?
What are the types of object repositories? Which one is you are using?
What are main panes available in qtp test browser?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
Can we create a qtp test from qc?