Skip to main content



      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 15:37 Go to next message
Eclipse UserFriend
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 18:48 Go to previous messageGo to next message
Eclipse UserFriend
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 11:09 Go to previous message
Eclipse UserFriend
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 30 11:25:40 EDT 2025

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

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

Back to the top