2014-11-05 22:55:09 |
Daniel Kessel |
description |
Found this while looking at the GUI elements in preparation for automated tests:
Some GUI elements have IDs like "button4", "button5", etc.
This would make building automated tests for these unstable, because these are not intended and could even change over time. And it makes the test code harder to read.
In the best scenario, the IDs would be unique for the entire application. |
Found this while looking at the GUI elements in preparation for automated tests:
Some GUI elements have IDs like "button4", "button5", etc.
This would make building automated tests for these unstable, because these are not intended and could even change over time. And it makes the test code harder to read.
In the best scenario, the IDs would be unique for the entire application.
Only interactive elements would need an ID. Buttons, ComboBoxes, etc. |
|