Forum Discussion
AlexeyKolosov
14 years agoStaff
Hi Nancy,
As far as I understand, the problem is that some client-side JavaScript events do not fire when you execute your TestComplete script, and therefore, the tested application behaves incorrectly on the test playback. If so, note that TestComplete wrapper methods (like ClickItem) often use native properties/methods to perform the needed actions directly, without simulating the corresponding clicks and keystrokes, and this approach works fine in most cases unless you have some specific event handlers assigned. If you need the event handlers to be called, you need to make TestComplete simulate user actions explicitly (that is, use the Keys method or simulate a mouse click action on specific coordinates after evaluating the coordinates in your script). This will make all the event handlers be called.
Related Content
- 10 months agolodecesa
- 11 months agomgormsen
- 2 years agoKB1
- 6 months agorohita
- 5 years agopaarmann-ara
Recent Discussions
- 5 hours agoSubhraDas
- 10 hours agoJacobjacob44