Hi, In a former thread, Nascif and Regis pointed out that the Panel API could be enhanced, since users have no way to customize a criterion for finding ...
Hi Nascif, I confirm you are a greedy person ;o) Unfortunately two more problems are in the way now: 1/ 'get' against 'find' methods In our convention, when no...
Hi, ... I agree that a "get" returning an array is probably unnecessary. ... I find that a little too long. What about introducing a ComponentMatchers utility...
Hi, I thought find = plural, get = single was already the convention. I think it is a good idea. Regarding the matchers, how about defining enums to specify...
Hi there! I'm looking for a framwork to test customized swing components, first one out is an extended JCheckBox. Is uispec4j an appropriate tool to such a...
Hi Espen, ... It depends on what you mean with "to test customized swing components". If you are designing a custom component and want to unit-test it,...
Hi, The next version regarding matchers is getting closer! 1/ Predefined matchers: After a deeper discussion with Regis, we decided not to overwhelm Panel ...
OK for the NegatedComponentMatcher. I am confident the next Uispec4J load will be a huge step forward : - the Panel component finder API is clearer and allows...
Hello there, I'm currently working on a pc without web access. Could it be possible that you offer the API documentation in a downloadable zip file ? Etienne...
It's curious, when I ask Panel.assertBackgroundColor("white"), it returns true even though the color is "EEEEEE" which is grey. Actually, It depends if you...
Hi Etienne, It is actually a (bad) side effect of our implementation that attempts to address the following issue: By checking that a given component should...
Hi Pascal, ... That's the kind of thing I was guessing. If you want your panel background to match exactly the white color, then you ... Thank you for that. I...
Hi, UISpec4J 0.15 is now available: http://www.uispec4j.org/download.html This release brings two major evolutions: the ability to customize the component...
Salut, I don't know if you have a place some where for already proposed suggestions. Anyway, here is what I miss in the API. It could be very useful to have...
Hi Etienne, ... What we have done in the past is registering issues in our issue tracker, but from my point of view just discussing it in this forum is fine. ...
Hello Regis, The trouble is that we can have delays in virtually all the assert methods ... The problem might be that the needed delay may be variable from...
Or, "On delays considered harmful" :-) Hmm, too much reliance on timeouts was one reason I switched from another testing tool to UISpec4J. The problem I see...
Hi Nascif, ... I don't see clearly what you mean, but I feel there is something important to be learned there. Could you please give me some examples of how...
Hi there, I'm new to uispec4j. I'm trying to set up a GUI test suite that'll be launched from Ant under Solaris 9. I guess I need to set a system property for...
Hi Mike, ... As of release 0.15, you don't need to set up the awt.toolkit anymore. You simply need to make sure that UISpec4J.init() is called before any Swing...
... get ... anymore. You ... Swing ... UISpec4J ... Hi Sylvain/Régis, thanks for your replies. Régis, yes that's what I understood from the uispec4j web site...
Hi Mike, It seems, the way you launch your test is the root cause. Privatly, you said me that you're using Ant to launch your test, and you have set the...
Sorry for the delay, I was on vacation. Comments below. ... For example, Abbot relied on timeouts to run its "robot" style interaction with the application...
Guys, I need to check the contents of the pop-up menu displayed over my JTree when one of its nodes is clicked. My code looks like this: 1: Window window = new...
Hi, ... The problem is certainly caused by the way you obtain the Window wrapper. Swing requires that the components be shown when performing some operations....