This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 23602

Summary: Jemmy2 - AbstractButtonOperator.push() should fail if button is disabled
Product: qa Reporter: Jiri Skrivanek <jskrivanek>
Component: CodeAssignee: issues@qa <issues>
Status: CLOSED FIXED    
Severity: blocker CC: jkovalsky
Priority: P1    
Version: 3.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: Test case to reproduce

Description Jiri Skrivanek 2002-05-16 13:33:12 UTC
In jemmy 1 there was waitComponentEnabled() before
mouse click. It should be there again.
Comment 1 Jiri Skrivanek 2002-06-07 10:07:02 UTC
Raising priority because it makes tests to fail. It appears when no
block action enables a button and push is called then (see test case).
Comment 2 Jiri Skrivanek 2002-06-07 10:17:33 UTC
Created attachment 6147 [details]
Test case to reproduce
Comment 3 Alexandre Iline 2002-06-12 02:42:46 UTC
waitCoponntEnabled added into push, press, release
320a322,326
>         try {
>             waitComponentEnabled();
>         } catch(InterruptedException e) {
>             throw(new 
JemmyException("Interrupted", e));
>         }
365a372,376
>         try {
>             waitComponentEnabled();
>         } catch(InterruptedException e) {
>             throw(new 
JemmyException("Interrupted", e));
>         }
375a387,391
>         try {
>             waitComponentEnabled();
>         } catch(InterruptedException e) {
>             throw(new 
JemmyException("Interrupted", e));
>         }

Comment 4 Jiri Skrivanek 2002-06-12 08:50:18 UTC
Verified.