Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to show an Eclipse view that hasn't been shown previously?
How to show an Eclipse view that hasn't been shown previously? [message #13062] Fri, 09 January 2009 20:37 Go to next message
Joe Luebker is currently offline Joe LuebkerFriend
Messages: 36
Registered: July 2009
Member
Hello,

I am creating a test where I want to manipulate Eclipse's Breakpoints
view. I discovered that there is a problem getting the view using
SWTEclipseBot if the view hasn't previously been shown. It appears to be
due to SWTBotView needing to locate any widget in the view. Since the
view hasn't been shown, no widgets have been created on it yet.

example:
bot.view("Breakpoints");

This fails if the view hasn't been shown/activated in Eclipse
previously. If I manually show the view before the line of code above is
executed there isn't any problem.

What is the correct way to do this without manual intervention?

Thanks,
Joe
Re: How to show an Eclipse view that hasn't been shown previously? [message #13148 is a reply to message #13062] Fri, 09 January 2009 23:48 Go to previous messageGo to next message
Ketan Patel is currently offline Ketan PatelFriend
Messages: 68
Registered: July 2009
Member
This was reported in following bug and is since fixed. So you might want
to try the latest build.

http://swtbot.org/bugzilla/show_bug.cgi?id=142
Re: How to show an Eclipse view that hasn't been shown previously? [message #14067 is a reply to message #13148] Tue, 13 January 2009 16:09 Go to previous message
Joe Luebker is currently offline Joe LuebkerFriend
Messages: 36
Registered: July 2009
Member
Thanks for the info. I updated to version 2.0.0.70-dev and the issue
seems to be resolved.

Ketan Patel wrote:
> This was reported in following bug and is since fixed. So you might
> want to try the latest build.
>
> http://swtbot.org/bugzilla/show_bug.cgi?id=142
>
Previous Topic:SWTBot dev setup (how to checkout sources)
Next Topic:An example of opening an Eclipse perspective using SWTBot
Goto Forum:
  


Current Time: Wed Apr 24 23:59:48 GMT 2024

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

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

Back to the top