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
Approach for Installation,comaptibility,system testing
Where we can use the analog mode and where we can use the low – level mode?
Explain actions in qtp ?
How we can import data from database?
Explain xml checkpoints.
What are the different types of recording modes?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
How to break the object spy ?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
HOw to add the recovery file at runtime to the test file .
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
What are the key elements available in test result window?
How many types of Automation frameworks are there in UFT? Describe them.
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.