- Code: Select all
Ranorex.Form form = Ranorex.Form.Active;
Ranorex.Button b1 = form.FindButton("button1");
Ranorex.Button b2 = form.FindButton("button2");
Ranorex.Mouse.ClickControl(b1);
Ranorex.Mouse.ClickControl(b2);
button1 gets the focus, but will not be clicked ...
What I've done wrong ?