before_each will execute before each record in the page (in your case each row) so it's more for any setup you want to do and Rasta at that point has not set those class attributes. Try something like this:
def is_displaying_1?() @ie.text_field(:id, "CommlSubLocation.Construction.YearBuilt").set(get_classcode) #[email protected]_list(:id, "hazardClassList").select_value(get_classcode) @ie.contains_text(search_term1) ? true : false end --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
