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();
Cannot control button on form
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Cannot control button on form
Hi,
Regards,
Peter
Ranorex Team
Did you try to start Ranroex as Administrator? Do you know if the UAC is enabled on this machine? If yes please try to disable it and replay your test? As you mentioned above, maybe it is a security issue.SanMan wrote: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?
Regards,
Peter
Ranorex Team
Re: Cannot control button on form
Yes, I got it working by disable UAC and running the *.bat as Administrator.
Thank you!
Thank you!