Page 1 of 1

Perform Click or select operation without mouse movement

Posted: Mon Aug 13, 2012 8:42 am
by Kumar
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?

Re: Perform Click or select operation without mouse movement

Posted: Mon Aug 13, 2012 12:50 pm
by zator
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ł

Re: Perform Click or select operation without mouse movement

Posted: Wed Aug 15, 2012 10:50 am
by Kumar
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 :(

Re: Perform Click or select operation without mouse movement

Posted: Thu Aug 16, 2012 9:40 am
by zator
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ł