Hi, This is my first evening with Watir and so far I have been REALLY impressed. I am running into some problems parsing some information I need however. The HTML follows below. I am using FireWatir.
<div id="quick_grades"> <div id="date" title="Date">4/2</div> <div id="grade" title="Grade">97</div> <div id="average" title="Average">95</div> <div id="max" title="Max">100</div> </div> I would ideally like to parse each of these into its own variable. I think I need to do something like this: date = ff.text_field(:id, "date") but that returns an error: Unable to locate element, using :id, "date" (Watir::Exception::UnknownObjectException) I also tried date = ff.text_field(:id, "Date") & ff.text_field (:quick_grades, "Date"). Neither of these seem to work. I have no idea what to try next. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
