I think he meant there are multiple buttons and he wanted to click on each one.
But, it is clicking only first one.

He needs to use the indexing to get to next button.




________________________________
From: Ethan <notet...@gmail.com>
To: watir-general@googlegroups.com
Sent: Thu, November 5, 2009 2:10:18 PM
Subject: [wtr-general] Re: Iterate buttons in the page and call a method

yeah, I read this a couple of times, couldn't make a bit of sense out of it, 
and moved along. 


On Thu, Nov 5, 2009 at 16:45, Paul Rogers <paul.rog...@shaw.ca> wrote:

Im going to guess you didnt get any answer because your question is difficult 
to understand. Check the posting guidleines, and Im sure some one will help
>
>Paul
>
>
>
>On Thu, Nov 5, 2009 at 12:36 PM, Shlomit Gazit <shlomitpatr...@gmail.com> 
>wrote:
>
>
>>>>Any idea anybody?
>>
>>
>>>>On Nov 4, 4:04 pm, Shlomit Gazit <shlomitpatr...@gmail.com> wrote:
>>>>> Hello,
>>>>>
>>>>> I have MultipleSelectPopup.clear(/ID_OPEN/, nil) method which I want
>>>>> to call it as many as buttons I have in the page that has id /
>>>>> ID_OPEN/.
>>>>>
>>>>> The method is clicking on the button I am sending it the id (/
>>>>> ID_OPEN/) and clearing the content from the popup.
>>>>>
>>>>> What so far is happening is that I am clicking on the same button each
>>> time. How can I make ititeratethrough all the buttons in the page
>>
>>> with id /ID_OPEN/?
>>
>>
>
>
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to