| How to click menu items in SWTBOT [message #1081372] |
Wed, 07 August 2013 02:32  |
Alok Dwivedi Messages: 5 Registered: June 2012 |
Junior Member |
|
|
I have a editor toolbar where there is a SWTBotToolbarDropDownButton which further drops down to two Export Options.I want to click both these options one by one.For clicking the first option I had used the code:-
SWTBotToolbarDropDownButton button = dmdEditor.bot().toolbarDropDownButton(); assertNotNull(button);
button.click().menuItem("Export to MS Visio").click();
But this reports WidgetNotFoundException.
Please check this attached image and suggest me the code for clicking these dropdown options in SWTBOT.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.20810 seconds