Forum Discussion
HarnekSandhu
Occasional Contributor
We use a common function in our test framework for Oracle Forms testing.
In that function, we use the SetText function of the target object to insert values. Then we use the Keys function to send a TAB. This has worked well since TestComplete version 7 to 12.
Also, you may consider adding a small delay or checking for some object availability after the TAB is sent as it may trigger some processing.
Harnek
tristaanogre
8 years agoEsteemed Contributor
You can also, after using SetText, call the specific "OnExit" event handler on the field if it is exposed to TestComplete. Again, that negates the need for calling the "Tab" keystroke directly.