Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkpoint result affecting the script result
#1
Not Solved
Hi All,

I have created a cehckpoint and put a business logic,saying if it passes do this,else do something else. When the checkpoint fails,the script continues exectuion, but still the script end result is fail. Please let me know how to avoid this end result being fail.

Thanks,
Sheetal
Reply
#2
Not Solved
Try like below code

Code:
bFlag = window("windowname").winobject("somename").Check(checkPoint("Checkpoint1"))

Code:
If bFlag Then
'True steps are here
Else
  'False steps are here
End If
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Attaching QTP result to Quality Center vikas_dhir 5 20,075 01-06-2017, 11:55 AM
Last Post: Swetha_Bayya
  How to Export run result viewer with CAPTURED DATA and save it in PDF,or Doc,or HTML akhandesh 0 2,951 07-16-2015, 06:03 PM
Last Post: akhandesh
  Need help in capturing the Calculator result using QTP 11 vishruth143 0 2,103 01-20-2015, 11:08 AM
Last Post: vishruth143
  Test Result Analysis Ramanji143 1 2,132 02-27-2014, 04:34 PM
Last Post: supputuri
  Test Result analyze Ramanjaneyulu 1 2,062 01-28-2014, 10:40 PM
Last Post: jacosta

Forum Jump:


Users browsing this thread: 1 Guest(s)