Thanks for input , i tried it as $ie.div(:text,'name1').set(abc') whether i am doing something wrong ...... i am not getting it.... for the above i.e $ie.div(:text,'name1').set(abc') for this i am getting following error undefined method `set' for #<Watir::Div:0x8cbe53c> (NoMethodError)
Please let me know if i am missing something. On Oct 27, 10:13 am, Pallavi Sharma <[email protected]> wrote: > You can try with index property, if any two objects have the same property, > use a third one called index. Watir supports multiple attributes to > recognize an object. > > You can directly give the object properties, doesn't matter whether it is in > a div or not with watir. > > Hope this helps. > > -- > Pallavi > > > > On Mon, Oct 26, 2009 at 5:51 PM, rrash586 <[email protected]> wrote: > > > Hi All, > > > I am testing the GWT based application on IE7. In my application when > > i click on the add button a new row (run time generation) is > > generated .I am facing the problem while locating the object as it is > > in DIV. > > > can anyone let me know how to click on the object in DIV > > i am having only the text property set for the Div object. > > > Also one more question is there is that how watir separate out the two > > object having the same property name and value. > > > thanks in Advance- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
