Hi Alberto,

I have reopened the issue: https://www.canoo.com/jira/browse/UBA-6803.

For our tests which were reproducible, the fix in v 6.1.1 worked fine and
hence the issue was closed (see the last comment by Daniel Grob).

Does this happen for all your tests or for some tests only?

Does it help to include some sleep() stmts before invoking waitForIdle() to
avoid the suspected race condition?

Could you please provide a small snippet of you application with associated
Jemmy test? This will allow us to analyse it on a platform similar to yours.

Luca has written to us earlier about this.

Thanks and regards,

Janak

>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Alberto Nipoti
>Sent: Friday, November 10, 2006 6:20 PM
>To: [EMAIL PROTECTED]
>Cc: Nardelli, Luca
>Subject: [ULC-developer] Hang of the waitForIdle method
>
>
>We test our framework (that uses ULC as the presentation layer) on a
>machine with "Red Hat Enterprise Linux ES release 4 (Nahant Update 2)".
>
>We implemented JUnit tests (running on the client side of the ULC
>application) that uses Jemmy in order to interact with the GUI (eg. set
>a text in a TextField).
>Every time the JUnit test interacts with the GUI (e.g by selecting an
>item in a combobox) we use the waitForIdle() method to wait the end of
>the ULC-roundtrip; for example:
>
>...
>JTextComponentOperatortext text = getTextFieldOperator("myText");
>text.typeText("Hello");
>...
>
>public JTextComponentOperator getTextFieldOperator(name){
>getCurrentSession().waitForIdle();
>...
>}
>
>Unfortunately, we are encountering a problem with the
>UISession.waitForIdle: this sometimes doesn't return, so the test blocks.
>
>On the ULC bug archive we discovered that this problem should be fixed
>in the 6.1.1 release of ULC: we tried it, but the problem is still
>present for what we can see!
>
>There are some unclear comment in the UBA-6803, like "wrong resolution";
>could someone tell me what is does mean?
>
>(https://www.canoo.com/jira/browse/UBA-6803;jsessionid=AF42AC5D9EC9
151C33129225645CEF8D?page=all)

Any ideas/suggestions welcomed!

Thanks,

Alberto (on behalf of Luca)

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to