Micro Focus QTP (UFT) Forums
Query about checkpoints - 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: Query about checkpoints (/Thread-Query-about-checkpoints)



Query about checkpoints - pkdhake - 07-08-2013

Can we create checkpoints using descriptive programming?


RE: Query about checkpoints - ravi.gajul - 07-10-2013

Though built in check points are very usefull there are few limitations:
  1. They do not support programmatic descriptions
  2. They only support one condition to pass or fail.
  3. They have limited reporting capacity.

However, we can define custom check points by checking whether or not the test object is available in application under test.This can be achieved in two ways.
  1. Using .Exist
  2. Using .ChildObjects.

.Exist returns a boolean value depending on the existence of the object
.ChildObjects ensures the existence of an object by counting the number of instances of an object.

Hope this helps


RE: Query about checkpoints - pkdhake - 07-11-2013

Thanks for reply really useful for me.


RE: Query about checkpoints - Ankur - 07-11-2013

Please mark the thread as solved by selecting the dropdown on the top left, once a query is answered.


RE: Query about checkpoints - pkdhake - 07-11-2013

Sure..but did not get that option...


RE: Query about checkpoints - vinod123 - 07-11-2013

other than the options mentioned above we cannot write code for checkpoints. It is must to click on record button in qtp and insert checkpoint statement