Note: The SWTEclipeBot should be used if testing an eclipse based product/plug-in.
@author Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com> @version $Id: SWTBot.java 848 2008-07-21 14:26:11Z kpadegaonkar $SWTBot bot = new SWTBot(); // // find a button within the currently active shell: // SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher)); // or SWTBotButton button = new SWTBotButton((Button)bot.widget(aMatcher, 3)); // for the 4th widget // // to find a button within a particular parent composite: // SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, parentComposite)); //or SWTBotButton button = new SWTBotButton((Button) bot.widget(aMatcher, parentComposite, 3)); //for the 4th widget@version $Id$
|
|