This problem has flummoxed many people over time of why their checkpoint doesn’t pass when they use Regular Expression in standard checkpoints.

When one use regular expression in a checkpoint, (s)he expects that it should pass when property being verified changes.This is a correct assumption. After all that’s what regular expressions are there for!
But care should be taken to distinguish between identification vs execution of checkpoint. If you are using regular expressions for a varying property and your QTP is generating error message then the most probable reason would be that QTP is not able to identify the object for which you have created checkpoint. [Remember when checkpoint fails QTP won’t throw error message it will only pass the “fail” status to results]

Just make sure that you handle the properties used to IDENTIFY that object properly.

If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS Feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.

Please use QTP forum for posting QTP questions.

If you want to keep track of further articles on UFT (QTP). I recommend you to subscribe by Email and have new UFT articles sent directly to your inbox.

Subscribe to get free updates on UFT!

LearnQTP is the most popular site on UFT (formerly QTP).

Enter your first name and email address below to instantly subscribe and download an eBook on Optimizing UFT Scripts. In future, we will make sure you get new tips & tricks on UFT delivered direct to your email box.

Please check your email and confirm free subscription!