|View Menu of part and SWTBot [message #1701790]
||Wed, 15 July 2015 15:32
| Loic Faure
Registered: December 2014
I'm facing a problem with SWTBot, I don't know if I need to post it on the SWTBot forum or here.
When I get a SWTBotView for a part and this part have a View Menu, I cannot access the content of this menu.
I tried the following (which I found in a bug) :
That does'nt work. More precisely, there isn't toolbar in my part.
So I tried to get the menu via application model but then, the menu is not yet rendered so the call :
viewBot.getPart().getMenus().get(0).getWidget return null.
So is there a method for getting this type of elements ?
Powered by FUDForum
. Page generated in 0.02150 seconds