On Fri, Jul 17, 2009 at 10:17 AM, ajil <ajilmath...@gmail.com> wrote: > Now if want to take the data Event 2
1) You have posted two threads with almost the same content. Please do not do that. 2) I get a lot of text for your xpath: irb> b.cell(:xpath, "//lab...@class='con-grey']/../").text Function Requires absolute XPath. => "Event 1 Ceremony 1 07-22-2009 anniston None (This vendor is not a member , we have no data on it) edit Event 2 * Ceremony 2 07-22-2009 anniston None (This vendor is not a member of we have no data on it)" 3) This could be helpful: irb> b.label(:class => "con-grey", :index => 5).text => "Event 2 * Ceremony 2 07-22-2009 anniston None (This vendor is not a member of we have no data on it)" irb> b.label(:after?, b.link(:href, /d64ac5be/)).text => "Event 2 * Ceremony 2 07-22-2009 anniston None (This vendor is not a member of we have no data on it)" Željko -- http://watirpodcast.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---