Amazing~ With your example, I have two additional questions:
List findControls = finder.findControls(shell.widget, new
DecoratingAndMatcher(ClassMatcher(Button.class), new
RegexTextMatcher("^Choice 2.*")), true);
#1: How do I get this instance of "finder".
#2: How can I create a button instance from that? You have
SWTBotRadio(Button), SWTBotCheckBox(Button) but no new SWTBotButton((Button)
controls.get(0)). In looking at your javadocs, the SWTBotButton requires an
instance of a finder -- and I go back to question #1.
I saw that you had mentioned that you were considering making SWTBotButton
"easier" to use -- hopefully like SWTBotRadio et. al. Also, don't forget
sending keystrokes or sending mnemonics =p Thanks for the quick replies
Ketan!
--
View this message in context:
http://www.nabble.com/Finding-controls--like--tp19891032p19892494.html
Sent from the SWTBot Users List mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse