Cannot control button on form
Posted: Tue Nov 29, 2011 2:00 pm
Studio and Spy founds the Form and can highlight the button in it.
But when I record MoveTo button, cursor does not move.
When trying Mouse.MoveTo(x,y) and then Mouse.Click() -> nothing happens even the cursor is moved to right position.
Could it be because the Form I am trying to control has SYSTEM as user, so it cannot be controlled by Ranorex or what could be the problem here?
I can get the image of button:
Image img = repo.Form...CaptureCompressedImage();
But when I record MoveTo button, cursor does not move.
When trying Mouse.MoveTo(x,y) and then Mouse.Click() -> nothing happens even the cursor is moved to right position.
Could it be because the Form I am trying to control has SYSTEM as user, so it cannot be controlled by Ranorex or what could be the problem here?
I can get the image of button:
Image img = repo.Form...CaptureCompressedImage();