|
|
|
|
Re: How to click on toolbar dropdown menu item using SWTBOT [message #1758811 is a reply to message #1758801] |
Mon, 03 April 2017 08:37  |
Eclipse User |
|
|
|
Aparna Argade wrote on Mon, 03 April 2017 10:42Have you tried sending ESC on the toolbarbutton itself?
The following code works for me.
SWTBotToolbarDropDownButton b = bot.toolbarDropDownButtonWithTooltip("tooltip");
b.menuItem("menu").click();
b.pressShortcut(Keystrokes.ESC);
That's what I am doing currently but the drop down does not close. It's still open and stays open (Oxygen using SWTBot snapshots). I've opened https://bugs.eclipse.org/514687 with a reproducible test for further investigation.
[Updated on: Tue, 04 April 2017 07:32] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04370 seconds