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
What is the script for database check point, bitmapchek point, regular expression ?
How can i check items sorted or not in a weblist ? Give me the script for this...
Explain qtp(quick test professional)?
How is a Step generator used in UFT?
How do you open adobe acrobat file in QTP and do some testing on that file ?
what is output value in QTP and how it can be used in automation testing
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
whare exactly we have to use functions and sub routain
What are the five challenges you faced in QTP?
Which functionalities of QTP used in banking project?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
What is the XML file architecture ?
Can we record an application running on a remote machine using qtp?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
what is ODC and GDC?