qspin / qtaste

[NEW RELEASE VERSION 3.0.0] The QTaste is an open-source functional and non-functional test environment offering services to developers and testers. It has been implemented following a data driven testing philosophy.
http://www.qtaste.org
GNU Lesser General Public License v3.0
6 stars 11 forks source link

Some JavaGUI methods on combobox, list and tables are not reliable #232

Open dergo opened 5 years ago

dergo commented 5 years ago

Some JavaGUI methods on combobox, list and tables are not reliable because they call methods which have to be called from the AWT event thread, outside of it.

At least the following methods are concerned: getListContent(), getSelectedValue(), selectValue() and selectInTable(). They are calling renderer.getListCellRendererComponent() or renderer.getTableCellRendererComponent() outside of AWT event thread making the return value unreliable.

E.g. selectValue() sometimes selects a value in a combobox different from the specified one.

This makes the usage of such methods unusable in validation tests.