Forum Discussion
just an update, that this a very intermittent issue. I also notice that the oracle forms application hangs (intermittently) when i put breakpoint after the Keys "[Tab]" operation.
Parthiv108 wrote:
just an update, that this a very intermittent issue. I also notice that the oracle forms application hangs (intermittently) when i put breakpoint after the Keys "[Tab]" operation.
Is it possible, then, that the problem is not necessarily with the automation but with the application itself? Does the behavior occur if TestComplete is not running and you attempt to tab to the next field in a manual test?
- Parthiv1088 years agoNew Contributor
I don't think there is a problem with the application as it doesn't happen when you run the steps manually. The problem is not in just one form but noticed it on a couple. The problem is that it is intermittent so its quite difficult to replicate. I have a suspicion something gets broken within oracle forms as a tab to the next field triggers some internal validation/navigation of the cursor and the speed of the playback interferes with this process. (just a hunch)
- tristaanogre8 years agoEsteemed Contributor
Gotcha...
As an experiment, have you tried putting in a hardcoded aqUtils.Delay(10000) after the tab to see if that allows the application to proceed? If there is data validation or whatnot that is attempted and TestComplete is trying to move forward before that's done, that could very well be the problem.
I wouldn't KEEP that delay in your code long term... once you determine if this is the case, you're going to want to write some logic to be "smart" about knowing when to go ahead in the code... is there a database record being written? Is there an object on screen whose status is getting updated? Those kinds of things.In any case, it sounds like you're on to something... intermittent things like that usually do point to the automation trying to proceed when the application may not be ready.
Let us know what you find!