|Re: Validation of SWTBotTreeItem tooltip text [message #1814961 is a reply to message #1814789]
||Mon, 23 September 2019 13:28
| Patrick Tasse
Registered: July 2009
I assume your application opens a shell itself and fills it with some information widgets (Text, Label, etc.).
You could get this shell with SWTBot and examine its contents (you have to know which widgets the application is creating).
The problem, however, is to trigger the MouseHover listener. I don't see any API in SWTBot to do this. So in the meantime, you might have to send the SWT.MouseHover event yourself, by accessing the SWTBotTreeItem's widget and its Tree, in a Display.syncExec() runnable so that it is done in the UI thread.
Hope this helps,
Powered by FUDForum
. Page generated in 0.02059 seconds