I have been using an Java Swing app. It is a third party application,
which I don't have control over. I would like write a small java
application, using some swing test frame works to access this
application window and autoamte some of the stuff that I have been
doing by hand. However, all the test suits expect that I fire up the
application inside my test code. For this case, this appication runs
on its own, updates itself if/when needed, and fire up the
application's main method, which I don't want to interfere.
Is it possible to get access to main window of that application
somehow and use that that "handle" (or whatever it is) to get
components of the application window and do some typing/clicking ops
there ?
Thanks in advance
Andrew Thompson - 29 Jan 2007 11:34 GMT
> I have been using an Java Swing app. It is a third party application,
What third part app. (specifically)?
Do the suppliers have a site?
What is the URL?
> ..Is it possible to get access to main window of
> that application somehow ..?
It might be possible* to achieve what you
need, but it would be helpful to have a lot
more specific details on the app. itself.
* JUnit? java.awt.Robot?
Andrew T.
Thomas Fritsch - 29 Jan 2007 11:53 GMT
>>I have been using an Java Swing app. It is a third party application,
>
[quoted text clipped - 10 lines]
>
> * JUnit? java.awt.Robot?
or to name some more:
jfcUnit http://jfcunit.sourceforge.net/
QF-Test http://www.qfs.de/en/qftest/

Signature
Thomas