Mickael Istria Messages: 611 Registered: July 2009 Location: Grenoble, France
Senior Member
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
>