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 29487 - No way for Action(null, string).perform(node)
Summary: No way for Action(null, string).perform(node)
Status: CLOSED WORKSFORME
Alias: None
Product: qa
Classification: Unclassified
Component: Jellytools (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-11 19:08 UTC by dmladek
Modified: 2002-12-20 10:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log containing jemmy E. (3.63 KB, text/plain)
2002-12-11 19:09 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2002-12-11 19:08:00 UTC
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.)
Comment 1 dmladek 2002-12-11 19:09:03 UTC
Created attachment 8272 [details]
log containing jemmy E.
Comment 2 dmladek 2002-12-11 19:18:15 UTC
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:-(



Comment 3 Jiri Skrivanek 2002-12-12 10:18:43 UTC
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.
Comment 4 dmladek 2002-12-12 10:35:14 UTC
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:-)
Comment 5 dmladek 2002-12-16 15:26:04 UTC
Jirka send me a patch, which seems WRKingFORME
Comment 6 Jiri Skrivanek 2002-12-16 15:45:55 UTC
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.
Comment 7 dmladek 2002-12-16 17:48:40 UTC
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:-(
Comment 8 Jiri Skrivanek 2002-12-20 09:27:14 UTC
Tag is "version-2-0-5".
Comment 9 dmladek 2002-12-20 10:11:21 UTC
thanx Jiri.

AND MERRY Xmas & HAPPY NEW YEAR !!!