|
Re: SWTBotEclipseEditor title and tooltip text [message #911214 is a reply to message #909420] |
Tue, 11 September 2012 07:32 |
|
Hi,
I would suggest .getTitle and .getTooltipText. If they don't return the
correct value, then it may be a bug, you should report it on Bugzilla.
As a workaround, you can try editor.getReference().getTitle() or
editor.getReference().getTitleToolTip().
HTH
On 09/07/2012 07:46 AM, vishesh singhal wrote:
> how to find the title and tooltip text of
SWTBotEclipseEditor.getText() method gives the text inside
SWTBotEclipseEditor.
>
>
>
>
>
> SWTBotEclipseEditor editor =
bot.editorByTitle("testFoo.txt").toTextEditor();
> String title = editor.??? //I want title which is testFoo.txt
> String toolTip = editor.getToolTipText(); //not giving 'tooltip
text'
>
>
> please help
>
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
|
|
|
|
Powered by
FUDForum. Page generated in 0.02816 seconds