Forum Discussion
I think you are on the right track in that you are dealing with timing delays. If you click on something and the application redraws while your next click is occurring, you may see the behavior you're experiencing. I've seen this myself.
Something you can try, for that section of your tests, is to increase the time between events. This can be done programmatically using Options.Run.Delay. For example, if you set that to 500 at the start of your test, TestComplete will automatically wait 500 ms between events. Increase that as necessary until you get a better result of your test.
Thanks! I'll try that
- tristaanogre7 years agoEsteemed Contributor
I'm not sure how in depth you can get to the points in your canvas, but something else you could do is use "Wait" methods to wait for an object to appear, to be ready, to be enabled, etc., before you attempt to click on it. But I think that, for this situation, the event delay is going to be your best bet.