Well I have a loop, that is looking for an element and press a menu button. If the button is pressed by Mouse.ClickElement() the first time, this works well. But the following times the element has the wrong coordinates and thus the mouse cursor goes to the wrong position.
For the same test case I try to use the
Code: Select all
DoDefaultAction(). The behavior of this is similar: The first time all works well, the following times the DoDefaultAction() does nothing.
While debugging I see, that the correct element is found and the default action is "press". So why it does not what I expect?
My Version of Ranorex: 1.2