Problem with SWTBotEclipseEdittor [message #33070] |
Wed, 22 April 2009 09:57  |
Eclipse User |
|
|
|
Hi ,
After changing the perspective to that of my plug-in, I am creating a
project and then i am trying to write some code in the file.
For this i am using the following code
SWTBotEclipseEditor fileEditor=bot.editor("Filename");
fileEditor.setText("This is test Text");
but the test is failing at the line bot.editor("Filename"); throwing
exception
" org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundExcep tion : Could
not find any control inside view Filename."
I tried this with the java project. In that case it is working fine.But in
the case of my plug-in it is throwing this exception.
I didn't understand what could be the reason for this.
Any pointers for this will be higly helpful to me.
thanks in advance.
Santhosh
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11780 seconds