Let me explain the problem I am having with my script. We are using Table Checkpoints in our script. But the Table we are creating the checkpoint does not have any unique properties. There are whole bunch of tables in one page and all the tables have the same name and HTML tag. And they do not have HTML IDs. currently I am indexing to identify the table. But whenever a new build is turned over, the checkpoints are failing.
Any help regarding this.
You may find, as I have, thta checkpoints lack the flexibility and durability of writing your own points of evaluation in your scripts.
Me, I haven't used a checkpoint since QTP 8.0. I simply grab the data I need off the screen, almost always using GetROProperty, though with tables there are other methods, then I compare that with data I usually keep in the datatable and then use Reporter.ReportEvent to send specific and meaningful pass/fail messages to the test log. I also count the passes and fails and I also output a detailed .txt file with the pass/fail messages, so I have something simple to send all the interested parties.
Sure, it takes a little more time to set up each of these points of evaluation. There is no "checkpoint wizard" to point and click through the process. But once you've done it a few times it becomes second nature, and the final script is so much easier to maintain that it's all worth it.
Best part is, when you run into something like you have described here, it won't even slow you down since you won't spend any time trying to get dynamic values into your check points.