Forum Discussion
Stephane,
The properties to be checked depend on the task your test accomplishes. For example:
If the test should check the controls' data, you check the properties that return the data (e.g. Text).
If the test should check the font name and size, you verify values of the font-related properties.
If the test should check the controls' lay-out on a form, you can check the properties that specify the control's position and size (Left, Height, Top, Width).
A possible approach is to capture an image of the tested form and compare it against a base-line image. You can do this with region checkpoints. Differences between the images will indicate that something changed in the form. You can use masks to exclude variable parts from the image comparison. For instance, if you are not interested in the control's text, you can "mask" the text areas.
Related Content
- 2 years ago
- 9 years ago
Recent Discussions
- 14 hours ago