Skip to main content


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 10:51 Go to next message
speedracer  is currently offline speedracer Friend
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 12:14 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
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: Fri Apr 26 19:31:33 GMT 2024

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

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

Back to the top