SWTBot support for TableCombo? [message #1755834] |
Wed, 08 March 2017 14:04  |
Eclipse User |
|
|
|
Hi,
We have started using the Nebula TableCombo in our RCP application.
As we extensively write Unit tests also for our visual components, we also tried to write a SWTBot test for the TableCombo.
However, we have not been successful for instances on programmatically making the TableCombo opening the table drop down (as SWTBot does not seem to be able to find the button next to the combo box).
Is there some special SWTBot class for the TableCombo available? Or sample code how to do this?
Best,
MP
|
|
|
|
Re: SWTBot support for TableCombo? [message #1755858 is a reply to message #1755847] |
Wed, 08 March 2017 16:48   |
Eclipse User |
|
|
|
Hi,
I've uploaded an SWTBot test which simply instantiates a TableCombo in a shell and tries to find the combo box with an SWTBot.
It fails as SWTBot cannot find the combo box (also alternatively searching for a text or a button sub widget does not work). Hence, the workaround you proposed does not work also. 
When using a plain JFace ComboBox instead of TableCombo, the test works.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04160 seconds