Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing With JFCUnit

 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am sure someone would help, but you need to state your problems with JFCUnit:
regards
 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you having problems with implementing the features, or with unit testing them?
 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble implementing them.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then perhaps you should ask your questions in the Swing forum???
 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem I'm having is getting JFCUnit to do the above operations.
 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can anyone help me out with this.
Cheers
Steve.
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The XML forum or Swing forum sounds like your best bet to get help.
regards
 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to find a solution to the 1st problem. Can anyone help me with the other 2?
Cheers
Steve.
 
Steven Murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic