Probably something like this: if a.exists? #do stuff else #do stuff end On Nov 5, 11:53 pm, meaculpa <[EMAIL PROTECTED]> wrote: > hi all, > > I have a table with some coloumns in it...and i used to take value > from one of the column. and i assigned it to a variable..lets say > > a = ie.table(:class,'table1')[2][1].text > > some times this table [2][1] wont be present, in tht case i have to do > some other operations... > > so can u tell me how to check if [2][1] is present or not ? > > urgent help needed..
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
