Java Program Freezes, Causing Ranorex to Crash
Posted: Thu Mar 08, 2012 12:33 am
Hi,
I'm not too sure how many people experience this issue, but I'm guessing it's rare.
I'm testing a Java application that freezes at one point. After clicking a button to add some records, the UI freezes for some time while. That is how the application is supposed to work. The issue for me is that the program freezes for a different period each time, depending on how many records are being added. Could be 30 seconds, could be 30 minutes. While I wait for the program to respond, it interferes with Ranorex, causing the test to crash.
I'm wondering, is there a way to handle a program freezing for an unknown amount of time? Or even better, is there a way I can determine how long the program will freeze, so I can delay Ranorex while the freezing occurs.
Please help.
I'm not too sure how many people experience this issue, but I'm guessing it's rare.
I'm testing a Java application that freezes at one point. After clicking a button to add some records, the UI freezes for some time while. That is how the application is supposed to work. The issue for me is that the program freezes for a different period each time, depending on how many records are being added. Could be 30 seconds, could be 30 minutes. While I wait for the program to respond, it interferes with Ranorex, causing the test to crash.
I'm wondering, is there a way to handle a program freezing for an unknown amount of time? Or even better, is there a way I can determine how long the program will freeze, so I can delay Ranorex while the freezing occurs.
Please help.