Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jemmy ( Functional and regression tests)

 
maram venkata jai bharat reddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Jemmy supports the Functional and regression tests ( at level of System test)?

Thanking you .

cheers
jai
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can use Jemmy for implementing functional regression tests for a Swing application.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Notice, though, that some experts discourage to write many functional tests that go through the GUI.
 
maram venkata jai bharat reddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, and you typically use Jemmy from JUnit test cases.
 
maram venkata jai bharat reddy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic