Forum Discussion
Hi,
Just a possible idea...
What happens if you manually typing fast in the control? Does some delay occurs?
My guess, based on the fact that the control looks like a combo-box, is that when you start typing, some ajax request is sent to the server asking for the filtered data been suggested and the input into the field is postponed until the response is obtained from the server and processed on the client (web page).
If this is the case and you are not interested in the suggested data, you may try to assign data to the control directly via either the .SetText() method, or via the .Value property or whatever else this given control supports and then (optionally, if needed) send something like .Keys("[Enter]") to emulate as if the user pressed some keyboard key and trigger script linked to the control.
Hi,
.Keys("[Enter]") also triggers the "waiting until the control is activated", .SetText() is not part of the actions listed for that control.
- tristaanogre8 years agoEsteemed Contributor
What does TestComplete "see" when you record actually interacting with the drop down control? Could it be more efficient to work with that rather than with a keyboard interaction?
- Mk18 years agoOccasional Contributor
I resorted to recording the interaction then use the code to my script. Its working better in that way.
Related Content
- 5 years ago
- 13 years ago
- 12 years ago
Recent Discussions
- 15 hours ago
- 15 hours ago
- 4 days ago