Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Wait for progressmonitordialog close
Wait for progressmonitordialog close [message #484385] Mon, 07 September 2009 06:51 Go to next message
Eclipse UserFriend
Hello,

in my RCP I have some progressmonitor dialogs.

How can I wait until this dialog is closed.

And onother question. The dialog appears only by the first click, to load something. How can I prevent, that there isn't a widgetNotFound Exception in the case that the progressmonitor dialog doesn't appear?

Currently I wait with

 bot.sleep(2000);
.

But I want to optimate that.

Re: Wait for progressmonitordialog close [message #484407 is a reply to message #484385] Mon, 07 September 2009 08:14 Go to previous message
Eclipse UserFriend
On 07/09/09 4:21 PM, speedracer wrote:
> Hello,
>
> in my RCP I have some progressmonitor dialogs.
>
> How can I wait until this dialog is closed.
>
> And onother question. The dialog appears only by the first click, to
> load something. How can I prevent, that there isn't a widgetNotFound
> Exception in the case that the progressmonitor dialog doesn't appear?
>
> Currently I wait with
>
> bot.sleep(2000); .
>
> But I want to optimate that.
>
>

You may find some helpful stuff in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280641

--
Ketan
http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr
Previous Topic:Click on SWTBotToolbarButton - nothing happens
Next Topic:SWTBot and Xvfb
Goto Forum:
  


Current Time: Mon Jun 23 11:59:05 EDT 2025

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

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

Back to the top