winston
8 years agoOccasional Contributor
script playback "missing" clicks on GDI viewport/canvas
I have multiple script tests that click on a GDI viewport/ canvas-type object in our application to test drawing in the viewport and using various custom controls that appear in the viewport. In the past week, the scripts that test various operations in the mentioned viewport have become very unreliable because the clicks on the viewport will often not work. In the log I am seeing that the object was clicked for every .Click() action the script calls, but the viewport is not registering them as clicks -- seemingly at random. I have tried putting short delays after the click actions and even HoverMouse at the same XY coordinates right before the clicks to no avail. Is anyone else experiencing this issue or have any suggestions? Thanks