Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
checkpoint
#1
Not Solved
Hi,
I would like to know if it's possible to use checkpoints if i don't use object repository but only D.P.
Otherwise, in which way can I do some check (always without object repository)?
If I recover values with getroproperty and then I put If-conditions, how can I obtain in the Results the equivalent of check passed/failed?

Thanks a lot
Reply
#2
Not Solved
If you are not using OR. You can use If statements.
Example:
Code:
If Browser("name:=something").Page("title:=something").webedit("name:=something").Exist(0.1) Then ...

And to send the results to the report whether the above statement passed or failed, you can Reporter object.
Example:
Code:
Reporter.ReportEvent micPass, "this webedit", "Exists"
Please check in QTP help for more info on Reporter Object.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Wink standard checkpoint and text checkpoint kiran10_rm 1 5,355 11-18-2010, 05:16 AM
Last Post: nandu
  fullscreen and bitmap checkpoint error "Cannot create bitmap checkpoint" meuline 2 4,714 12-10-2009, 09:17 PM
Last Post: meuline
  Checkpoint problems: Checkpoint starts before web page is loaded & therefore fails! IdontGetIt 1 3,917 11-20-2009, 11:45 AM
Last Post: basanth27
  Not able to add any other Checkpoint apart from Standard Checkpoint Rachna 7 8,644 04-02-2009, 11:05 AM
Last Post: nandu
  Not able to add any other Checkpoint apart from Standard Checkpoint Rachna 0 1,710 03-26-2009, 03:14 PM
Last Post: Rachna

Forum Jump:


Users browsing this thread: 2 Guest(s)