| Click always timeout for Swing JButton [message #893119] |
Mon, 02 July 2012 13:18  |
Keiichiro Ono Messages: 2 Registered: July 2012 |
Junior Member |
|
|
Hi.
I'm trying several testing frameworks for an open source application called Cytoscape, and seems Jubula is a good tool for our purpose (automate testing for a Swing application).
However, I have one critical issue and cannot test actual application.
Here is what I've done as a toy example:
1. Create a new test, and set up an AUT (specified cytoscape.sh script as its executable)
2. Connect to AUT agent. Cytoscape starts running.
3. Create a test suite
4. Create a test case by recording a single click (open a file JButton). Then stop recording.
5. Add the test case to the suite
6. Run the test.
Then, this very simple test always fails by timeout. This is weird because I can finish other simple test cases, like find a specific JButton or JTextField and make sure it's enabled, but somehow test case with button click always fails even if I set a long wait between steps. Do I misunderstand something or are there any alternative way to avoid this problem? Configuration is attached as a text file.
Thanks in advance.
Kei (Cytoscape Core Developer Team)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01696 seconds