wood burning stoves 2.0*
The moose likes Testing and the fly likes Testing With JFCUnit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Testing With JFCUnit " Watch "Testing With JFCUnit " New topic
Author

Testing With JFCUnit

Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
Hi all,
I am using JFCunit to automate some test for a GUI written using java. As my java programming isn't up to scratch I have decided to use the XML extension for JFCUnit. I've managed to do most of the things I want but I am having a few problems.
I was hoping that someone here might be able to give me some help.
Cheers
Steve Murphy
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Hi ,
I am sure someone would help, but you need to state your problems with JFCUnit:
regards
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
Here are some of the problems that I have :-
1) I don't know how to do short keys. (Eg control + N for a new window)
2) Is it possible to select a row in a table from the contents of one of the cells in that row?
This one may not make too much sense so bear with me
3) I have a table that contains a tree looking object, I need to drag and drop a node from the tree into another table. The 2 tables are in separate panes.
Hope that makes sense.
Cheers
Steve Murphy
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Are you having problems with implementing the features, or with unit testing them?


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
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
I'm having trouble implementing them.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Then perhaps you should ask your questions in the Swing forum???
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
The problem I'm having is getting JFCUnit to do the above operations.
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
Hi,
Can anyone help me out with this.
Cheers
Steve.
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
The XML forum or Swing forum sounds like your best bet to get help.
regards
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
I have posted this in the swing forum but I haven't had much of a response there either. Plus I figured this would be the place to ask becuase in the forum description is mentions JUnit and JFCUnit is an extension to JUnit.
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
I managed to find a solution to the 1st problem. Can anyone help me with the other 2?
Cheers
Steve.
Steven Murphy
Greenhorn

Joined: Jul 18, 2003
Posts: 15
As no one has replied to this post shall I assume that no one here has any knowledge of JFCUnit?
Steve.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Maybe you should ask the question at the JFCUnit project's own discussion forum.
If you figure out a solution, we would sure appreciate it if you would post the solution here as well


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
Don't get me started about those stupid light bulbs.
 
subject: Testing With JFCUnit