|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
GUI tests !Hi,
I have a big problem. In fact I have to test a java swing GUI for which I haven't the source code. I have to write a class test that will detect the GUI and proceed the tests on it. I have tried to do that with Jemmy, I mean I have simply create a test class with a JFrameOperator (without parameters so that it could detect the first GUI launched) but it doesn't work. (I launch my test class under eclipse, then I run my GUI ... and the test does not detect it). So maybe I'm doing something wrong ? or maybe I'm not using the good tool ? If could suggest me a way to do that it would be really nice ! thanks atomikx |
|
|
Re: GUI tests !Dear sir.
As I've replied to you on the internal alias, more information is needed than you provided. Please read this list of things, which would help us to help you. http://jemmy.netbeans.org/JemmyBugSubmissionRules.html Shura. On Apr 20, 2007, at 10:56 AM, atomikx29 wrote: > Hi, > > I have a big problem. In fact I have to test a java swing GUI for > which > I haven't the source code. I have to write a class test that will > detect the GUI and proceed the tests on it. > > I have tried to do that with Jemmy, I mean I have simply create a test > class with a JFrameOperator (without parameters so that it could > detect > the first GUI launched) but it doesn't work. (I launch my test class > under eclipse, then I run my GUI ... and the test does not detect it). > > So maybe I'm doing something wrong ? > or maybe I'm not using the good tool ? > > If could suggest me a way to do that it would be really nice ! > > thanks > > atomikx > > > |
|
|
Re: GUI tests !You can try abbot or marathon. Both support recording testcases and for most
purposes you do not need the source. -- KD On 4/20/07, atomikx29 <seb.muscat@...> wrote: > > Hi, > > I have a big problem. In fact I have to test a java swing GUI for which > I haven't the source code. I have to write a class test that will > detect the GUI and proceed the tests on it. > > I have tried to do that with Jemmy, I mean I have simply create a test > class with a JFrameOperator (without parameters so that it could detect > the first GUI launched) but it doesn't work. (I launch my test class > under eclipse, then I run my GUI ... and the test does not detect it). > > So maybe I'm doing something wrong ? > or maybe I'm not using the good tool ? > > If could suggest me a way to do that it would be really nice ! > > thanks > > atomikx > > > -- Dakshinamurthy Karra (http://blog.jaliansystems.com) |
|
|
Re: GUI tests !I haven't tried Jemmy...but I have used Costello (
http://abbot.sourceforge.net <http://abbot.sourceforge.net> ) to test existing GUIs. It is really easy to use and fast. The potential downside is that the recorded interactions with the GUI are stored in XML, which can make code modularization/refactoring not so easy. I hope that helps :) Cheers, Alex. --- In java-gui-testing@..., "atomikx29" <seb.muscat@...> wrote: > > Hi, > > I have a big problem. In fact I have to test a java swing GUI for which > I haven't the source code. I have to write a class test that will > detect the GUI and proceed the tests on it. > > I have tried to do that with Jemmy, I mean I have simply create a test > class with a JFrameOperator (without parameters so that it could detect > the first GUI launched) but it doesn't work. (I launch my test class > under eclipse, then I run my GUI ... and the test does not detect it). > > So maybe I'm doing something wrong ? > or maybe I'm not using the good tool ? > > If could suggest me a way to do that it would be really nice ! > > thanks > > atomikx > |
| Free embeddable forum powered by Nabble | Forum Help |