How to use 'Invoke Action' : How To …

How to use 'Invoke Action'

Best practices, code snippets for common functionality, examples, and guidelines.

How to use 'Invoke Action'

Postby omayer » Sun Jul 17, 2011 7:36 am

Referring to user guide " http://www.ranorex.com/support/user-gui ... sting.html" .... -- to ensure visibility - using some lines of user code before you simulate the click action - or use a so called 'Invoke Action' to select a list item.
Please provide Code example to 'Invoke Action' to click on link/hyperlink.
Thank you,
Beginner
omayer
 
Posts: 240
Joined: Thu Oct 28, 2010 7:14 pm

Re: How to use 'Invoke Action'

Postby Support Team » Mon Jul 18, 2011 2:25 pm

Hi,

omayer wrote:Please provide Code example to 'Invoke Action' to click on link/hyperlink.

Code: Select all
repo.AWebDoc.ALink.PerformClick();

or in recorder:
  • Add New Action
  • Invoke Action
  • At the new generated action choose a repository item on which you want to invoke your action (your link) for Repository Item
  • At the new generated action choose the "Perform Click" action for action name

Kind regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: How to use 'Invoke Action'

Postby omayer » Mon Jul 18, 2011 4:00 pm

Thank you Tobias. It worked.
Tipu
omayer
 
Posts: 240
Joined: Thu Oct 28, 2010 7:14 pm


Return to How To …

Who is online

Users browsing this forum: No registered users and 0 guests