Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Problem with bot.viewByTitle()
Problem with bot.viewByTitle() [message #485278] Fri, 11 September 2009 07:45
Michelle Davidson is currently offline Michelle Davidson
Messages: 41
Registered: August 2009
Member
Hello,

I have a problem during running my tests with swtbot.

I'm looking for a view with the name "test.pdf".
When I write

SWTBotView view = bot.viewByTitle("test.pdf");


then I get a widgetNotfound exception. But when i write
List<SWTBotView>  views = bot.views();


and look into the list, then I see, that one of this views is the view, there are looking for (with the title:test.pdf).

What is the reason, that I find the view with bot.views() but not with bot.viewbytitle();
Previous Topic:SWTBotText.typeText(final String text) is not working when you lock computer
Next Topic:Main arguments for plugins tests
Goto Forum:
  


Current Time: Wed Oct 01 16:15:41 GMT 2014

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

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