12-07-2009, 12:12 PM
(This post was last modified: 12-07-2009, 12:21 PM by upadhyay40.)
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
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
Thanks
Mahesh
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