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=AF42AC5D9EC9151C33129225645CEF8D?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

Reply via email to