Good work Jasmine. :) Really helpful. Thanks 2011/6/29 Jasmine <[email protected]>
> I have resolved the problem. > ie.li(:text."q").text > > On 6月29日, 上午11时50分, Jasmine <[email protected]> wrote: > > ie.li(:text,"q").click .the satement can get the value,but "click" is > > not right.I need click the name > > On 6月29日, 上午11时35分, Jasmine <[email protected]> wrote: > > > > > > > > > How to get the value of the li tag? > > > There are code about the question > > > <div class="dy_bgg"> > > > <ul> > > > <li v="12" style="cursor: pointer;"class="dy_bgg">q</li> > > > <li v="13" style="cursor: pointer;"class="dy_bgg">t</li> > > > I want to get "q" or "t",there is only data if use > > > ie.li(:class,"dy_bgg"),I need to get the value and click it- 隐藏被引用文字 > - > > > > - 显示引用的文字 - > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Thanks and Regards, Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
