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 use of Debug Viewer?
Explain the concept of how quicktest professional (qtp) identifies object?
How you will rate urself in QTP in the range of 0 to 5
Explain the difference between check point and output value?
Explain the concept of how quicktest professional identifies object?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
assume i have few url link how will i dynamically call then using descriptive programming?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
Hi How to retrieve data from web element line by line?
What is action? How many types of actions are there in qtp?
How to capture a window in QTP?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
Hi, how can we check or avoid the memory leakage in QTP9.2?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.