Loop to click on button

Class library usage, coding and language questions.
nayara.crema
Posts: 5
Joined: Thu Dec 13, 2012 6:47 pm

Loop to click on button

Post by nayara.crema » Thu May 02, 2013 2:51 pm

Hello,

I have a situation where I have several files in a list to be eliminated through a delete button.
Of you would like help to set up a loop, where the Ranorex, click the "delete" button until no more button to be selected.
Attached is one print screen with the buttons "delete".
But it has a detail, when selecting the "delete" button is shown with a message "Delete the execution?" And must click OK, then this situation tbm should enter the loop.

I thank you.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Loop to click on button

Post by Support Team » Fri May 03, 2013 3:32 pm

Hello,

In general, it's simple to click on all buttons within a list using a loop.
You would need to find out the RanoreXPath of your delete buttons and perform a click.
Please take a look our User Guide for more information on RanoreXPath.

Could you please post or send us ([email protected]) a Ranorex Snapshot in order to assist you?
Please take a look at Creating Ranorex Snapshot Files in our User Guide.

Regards,
Markus (T)