Condition monitoring

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

Condition monitoring

Postby kle » Wed Apr 14, 2010 9:56 am

Hi -

I have 3 condition-handler pairs added to the ConditionMonitor during the setUp() of a test case. The conditions are shell dialogs that pop up during Eclipse startup in random order depending on the platform. I am having problems with the dialogs not being handled unless the condition-handler pair is added in order.

For example:
cm.add(cond1, hand1);
cm.add(cond2, hand2);
cm.add(cond3, hand3);

and during the startup, if the order of dialogs showing up is
cond2
cond3
cond1

then they will all left unhandled.

I am using WindowTester v3.9.0 on Ubuntu 9.04 64-bit.

Please advise.
kle
 
Posts: 7
Joined: Wed Apr 14, 2010 9:41 am

Re: Condition monitoring

Postby Phil Quitslund » Thu Apr 15, 2010 9:16 am

Thanks for the post. Answering your question will require a bit of experimentation on our end. Please send a request to support (wintest-support@instantiations.com). Include a pointer to this post and if possible some more details to help them repro the situation on their end (notably specifics about the shells and handler implementations).

Thanks!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Re: Condition monitoring

Postby kle » Thu Apr 15, 2010 10:32 am

Ticket filed.
kle
 
Posts: 7
Joined: Wed Apr 14, 2010 9:41 am

Re: Condition monitoring

Postby Phil Quitslund » Fri Apr 16, 2010 7:56 am

Great, thanks. Our support team will follow-up soon.
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest