Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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
speedracer  is currently offline speedracer
Messages: 19
Registered: August 2009
Junior Member
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
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
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: Thu Jul 31 21:54:29 EDT 2014

Powered by FUDForum. Page generated in 0.05821 seconds