Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Read from Console in SWTBoT(Read from Console in SWTBoT)
Read from Console in SWTBoT [message #1007727] Thu, 07 February 2013 10:26
Mythri SG is currently offline Mythri SGFriend
Messages: 2
Registered: February 2013
Junior Member
Hi,

I am new to SWTBoT.
I am trying to read from console with follwing code;

SWTBotView view = bot.viewByTitle("Console");
Widget consoleViewComposite = view.getWidget();
StyledText console = (StyledText) bot.widget(instanceOf(StyledText.class), consoleViewComposite);
SWTBotStyledText styledText = new SWTBotStyledText(console);


and I am Getting below compilation error;

Bound mismatch: The generic method widget(Matcher<T>, Widget) of type SWTBotFactory is not applicable for the arguments (Matcher<Object>, Composite). The inferred type Object is not a valid substitute for the bounded parameter <T extends Widget>

Please help me !!
Previous Topic:Keymap for Open File
Next Topic:Cannot download any plugins at all
Goto Forum:
  


Current Time: Thu Apr 25 23:25:12 GMT 2024

Powered by FUDForum. Page generated in 0.08852 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top