This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Testing and the fly likes  Jemmy ( Functional and regression tests) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark " Jemmy ( Functional and regression tests) " Watch " Jemmy ( Functional and regression tests) " New topic
Author

Jemmy ( Functional and regression tests)

maram venkata jai bharat reddy
Greenhorn

Joined: Apr 04, 2005
Posts: 3
Is Jemmy supports the Functional and regression tests ( at level of System test)?

Thanking you .

cheers
jai
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yes, you can use Jemmy for implementing functional regression tests for a Swing application.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Notice, though, that some experts discourage to write many functional tests that go through the GUI.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
maram venkata jai bharat reddy
Greenhorn

Joined: Apr 04, 2005
Posts: 3
Its good to know that someone using it for the functional and regression tests.
Coming to my questions :

Before I explain about my needs I would like to mention why I am asking these questions and my context.

My self a test engg. we already have a existing system which is developed in java . and this system will going to develop even more in the future years. We are doing this development on incremental basis . So their will be new future add in every increment.

Till now our testing process is like this : developer will develop the application and they ship it to testing deportment .we will manually test the application ( functional and regression ) .

Now we are thinking for the test automation into the our existing system:

Basically iam doing the feasibility study of it from past 3 weeks. As a part of it I given presentation power of Winrunner with some example test case to my team members last week . Some of the developers asked me some questions regarding comparision of Winrunner with Jemmy and Junit. Like( How different they are for the Winrunner , Coding efforts, If GUI changes, If JVM changes.).

After that I spent lit effort on those questions . I quickly got some solution about Junit as its is more talks about unit testing . so I can easy neglect about that. Coming to Jemmy I have no solution.

And we are planning to give this automation efforts to the test engg . this is the reason I said in the point of test engg.

So can you please explain me this comparison :

We have some guys who know WR as well as JAVA

Winrunner Vs Jemmy


1)General difference
2)Coding efforts
3)Is Appliction code it needed while writing the testcases?
4)If GUI changes frequently
5)If JVM changes
6)Skill set
7)How good to use for the java application?
8)For Functional testing
9)For Regression Testing
10)Others ( if you want to add any )

I am sure its quite boring to read my post . I am very sorry if you feel any thing bad.

Thanking you .

Cheers

Jai
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by maram venkata jai bharat reddy:
Winrunner Vs Jemmy

1)General difference
2)Coding efforts
3)Is Appliction code it needed while writing the testcases?
4)If GUI changes frequently
5)If JVM changes
6)Skill set
7)How good to use for the java application?
8)For Functional testing
9)For Regression Testing
10)Others ( if you want to add any )

Generally speaking, Jemmy is a unit testing framework for Swing code.
In other words,
- you write Java code to test Java code and your tests are somewhat coupled to your GUI's layout
- changing the JVM shouldn't really make any difference
- testers need to be well-versed in Java
- the tests execute fast

If you're looking for a "record and replay" tool (which is what I believe WinRunner is all about), Jemmy is not for you. Jemmy is perhaps more like writing your WinRunner scripts by hand.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Oh, and you typically use Jemmy from JUnit test cases.
maram venkata jai bharat reddy
Greenhorn

Joined: Apr 04, 2005
Posts: 3
Thanx a lot Lasse Koskela.

But one thing i need from you as well. Is this jemmy used for functional testing. after all appication is build . i mean can we make system test using jemmy like WR do.

Thanking you,

cheers
jai
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by maram venkata jai bharat reddy:
Is this jemmy used for functional testing. after all appication is build . i mean can we make system test using jemmy like WR do.

You can use Jemmy for functional testing, yes. Whether people use Jemmy more for functional testing than for unit testing, I have no idea.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jemmy ( Functional and regression tests)
 
Similar Threads
Feedback Abbot's use
What about JMeter?
New Web Application Testing Tool
jemmy automation
Testing material