mikev
13 years agoContributor
Toolbars, Menu's and Checkpoints
Finally starting
to look at the possibility of using checkpoints. In Winrunner, we used
them a whole bunch, they were great. In QTP, we never used them, they
were horrible.
I want to be able to check toolbar buttons
(exists, visible, enabled, etc.) as well as menu objects and their children.
The two checkpoints that I'm pretty sure that will fit the bill are
Object Checkpoints and Property Checkpoints. I think I understand those
fairly well, but I'm not so sure they can do what I'd like to do.
For
example, I have a File menu, and under the file menu I have Open,
Print, and Close. I want ONE checkpoint that will verify that I have a
File menu and it's enabled, verify that under the File menu I have Open,
Print and Close. Same kind of thing for the toolbar. I don't think I
can do this, I think I need a checkpoint for every menu and menu item,
and I think I need a checkpoint for every toolbar button. If that's the
case, then checkpoints (at least in this context) are not for me, as
I'd need so many checkpoints, that I might as well write the code to
verify what I want.
Thoughts?
to look at the possibility of using checkpoints. In Winrunner, we used
them a whole bunch, they were great. In QTP, we never used them, they
were horrible.
I want to be able to check toolbar buttons
(exists, visible, enabled, etc.) as well as menu objects and their children.
The two checkpoints that I'm pretty sure that will fit the bill are
Object Checkpoints and Property Checkpoints. I think I understand those
fairly well, but I'm not so sure they can do what I'd like to do.
For
example, I have a File menu, and under the file menu I have Open,
Print, and Close. I want ONE checkpoint that will verify that I have a
File menu and it's enabled, verify that under the File menu I have Open,
Print and Close. Same kind of thing for the toolbar. I don't think I
can do this, I think I need a checkpoint for every menu and menu item,
and I think I need a checkpoint for every toolbar button. If that's the
case, then checkpoints (at least in this context) are not for me, as
I'd need so many checkpoints, that I might as well write the code to
verify what I want.
Thoughts?