Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve the status of a checkpoint ?
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
Hello All,

I have a checkpoint, so how would i check that this checkpoint returns passes or fail either true or false
i write a code

Code:
Dim a
   a = Browser("abc").Page("abc").Check CheckPoint("InvalidUserName")
   msgBox(a)
IF a then
...
Else
...
End If

But it shows warning at second line where i assign checkpoint to 'a'

can anybody help me out

Thanks

Mahesh
Hello All,

I solve my problem,we have used parenthesis before and after ‘CheckPoint(”Y”)’, this is required when we want to capture the value returned from Check method. If the return value is not to be capture and only the Checkpoint needs to executed we can use
Code:
‘Browser(”X”).Page(”X”).WebEdit(”X”).Check CheckPoint(”Y”)
a = Browser("Retail Activity Management").Page("Task Manager").Check (CheckPoint("InvalidUserName"))

Thanks
Mahesh
Reply


Messages In This Thread
How to retrieve the status of a checkpoint ? - by upadhyay40 - 12-07-2009, 12:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to close/restart UFT in "Not responding" status with AOM script CharlieMadrid 0 1,234 05-21-2020, 08:46 PM
Last Post: CharlieMadrid
Question Is Reporter ignoring the status of steps? dlaureano 3 3,649 06-05-2014, 01:38 PM
Last Post: Jay
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,417 11-14-2013, 07:51 PM
Last Post: spannerj
  How to retrieve ArrayList saved in Environment Variable Gautam26 8 4,758 11-07-2013, 08:26 PM
Last Post: ssvali
Exclamation Retrieve the complete height and width of a browser beyond the visible part as wel learnQtptips 0 2,114 05-22-2013, 09:36 AM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 1 Guest(s)