Perform Click or select operation without mouse movement

Ranorex Spy, Recorder, and Studio.
Kumar
Posts: 24
Joined: Fri Aug 03, 2012 12:12 pm

Perform Click or select operation without mouse movement

Post by Kumar » Mon Aug 13, 2012 8:42 am

Hi,

I have been working with some SharePoint info-paths. Is there a way that with out mouse movement all the operation can be executed?
I went through the forum and FAQ solutions are specific to a particular type of object (Link or List).

Can anyone please share a general approach/method which can be used across different objects to perform actions on them without mouse movement?

zator
Posts: 53
Joined: Wed Jul 04, 2012 1:44 pm
Location: Kraków, POLAND

Re: Perform Click or select operation without mouse movement

Post by zator » Mon Aug 13, 2012 12:50 pm

Hi,

You can try using some build-in actions. Here is an example of "Select" action:
http://www.ranorex.com/support/user-gui ... sting.html -> Invoking Actions: Selection

Paweł

Kumar
Posts: 24
Joined: Fri Aug 03, 2012 12:12 pm

Re: Perform Click or select operation without mouse movement

Post by Kumar » Wed Aug 15, 2012 10:50 am

Thanks for your reply Pawet!!!

After trying different options the below options worked well:

For Text: Focus
For Button : Press
For Link : Open

"EnsureVisible" is suppose to make the object visible for any kind of object but unfortunately it never worked for me :(

zator
Posts: 53
Joined: Wed Jul 04, 2012 1:44 pm
Location: Kraków, POLAND

Re: Perform Click or select operation without mouse movement

Post by zator » Thu Aug 16, 2012 9:40 am

Hello,

I do not know your controls but in my case is usually same situation. I can only advise you to check if you are targeting right controls using spy-view. If you are using custom controls it can be necessary to work with dynamic functions\properties.

Paweł