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.
Identification of QTP checkpoint vs Execution of QTP checkpoint
Labels: Checkpoints properties, QTP, Regular Expression
Subscribe to:
Post Comments (Atom)

3 comments:
my front end application is Oracle 10g Forms.
Report is Oracle 10g report.
Back end database is oracle 10g.
H\What are add in need to test oracle10g front end application?
please send Qtp + oracle10g Forms sample qtp script coding.
My application is web based and 3 tier arch.
Plase send mail byzoor@gmail.com
Hi Ankur, qtp text area checkpoints are co-ordinate specific on changing the system's resolution usually the checkpoints fail... if there are ny other ways of getting text plz let me know, the object is .net control - swfobject which is used in the application to display an image.. here i aslo need to get the laoding time of the image.. any information on these two will be greately appreciated.. thanks in advance, prashant
Hey Ankur Hi.Hey you identified the problem very well but then how to remove the error message that QTP shows when it cannot identify the dynamic object-should the user run the script again or what should he do?
Post a Comment