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.
Product Version = NetBeans IDE Dev (Build 200212110100) IDE Versioning = IDE/1 spec=3.23 impl=200212110100 Operating System = Linux version 2.4.18 running on i386 Java; VM; Vendor = 1.4.1_01; Java HotSpot(TM) Client VM 1.4.1_01-b01; Sun Microsystems Inc. Java Home = /usr/java/j2sdk1.4/sun/jdk1.4.1_01/jre System Locale; Encod. = cs_CZ; ISO-8859-2 Home Dir; Current Dir = /home.local/danielm; /DISKS/storage3/forte/NBdev-last/netbeans/bin ------------------------------------------------------------------------------- I'm using jelly & jemmy latest sources. I entered a few weeks ago issue #29057 and you've fixed because as a workarand fr this issue;-) (it was about Action from Main menu). Problem is that I need also TEST actions on popupMenu. and my code generaly looks like: new Action (null, "CVS|Refresh").perform (node);//node.performPopupAction("CVS|Refresh"); and doesn't work (see attached E.)
Created attachment 8272 [details] log containing jemmy E.
To get my test class please perform following cvs command on cvs.netbeans.org pserver checkout -r issue_29487 javacvs/test/qa-functional/src/validation/JavaCVSValidationTest.java in the method testCreateFile() between lines 463-468, there is your suggested solution how to use main menu after fix of issue #29057 . Which at least work. but could you tell me why org.netbeans.jemmy.TimeoutExpiredException: is thrown on line 470, please? What's wrong on this code? Why no popup action isn't performed... such places like this are many in those TCs:-(
It works for me. It also passes in daily test executions. If it doesn't work for you, maybe timeout really expired. Try to increase its value.
And have you tried realy execute my class? I think that no timeouts could help. Because - (I think ) I'm able to see that popup menu blinks... Reopening...cause it doesn't work for my class and if you tell me that my code is bad... then we could say that it works for me:-)
Jirka send me a patch, which seems WRKingFORME
It is related to bug 28822 in trunk version of jemmy. That's why it is recommended to use jemmy version 2.0.5 which works well.
Thanks Jiri for your explanation, but I prefere to use sources from cvs. Is there any TAG marking this jemmy version? I can't find such tag:-(
Tag is "version-2-0-5".
thanx Jiri. AND MERRY Xmas & HAPPY NEW YEAR !!!