|Problem with bot.viewByTitle() [message #485278]
||Fri, 11 September 2009 03:45
| Michelle Davidson
Registered: August 2009
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();
Powered by FUDForum
. Page generated in 0.12776 seconds