Cannot control button on form : General Questions

Cannot control button on form

Ask general questions here.

Cannot control button on form

Postby SanMan » Tue Nov 29, 2011 3: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();
SanMan
 
Posts: 49
Joined: Tue Apr 13, 2010 10:59 am

Re: Cannot control button on form

Postby Support Team » Wed Nov 30, 2011 12:28 pm

Hi,

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?

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.

Regards,
Peter
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 4837
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Cannot control button on form

Postby SanMan » Wed Nov 30, 2011 1:39 pm

Yes, I got it working by disable UAC and running the *.bat as Administrator.

Thank you!
SanMan
 
Posts: 49
Joined: Tue Apr 13, 2010 10:59 am


Return to General Questions

Who is online

Users browsing this forum: Google [Bot] and 1 guest