checkpoint - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: checkpoint (/Thread-checkpoint) |
checkpoint - stevol - 06-16-2008 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 RE: checkpoint - niranjan - 06-16-2008 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" |