From: Bret Pettichord on 22 Apr 2010 20:55 [Note: parts of this message were removed to make it a legal post.] browser.div(:text, 'dynamic text'). On Thu, Apr 22, 2010 at 5:18 AM, Simbolla Simbolla <vinod236(a)gmail.com>wrote: > Hi all, > > I am using watir , in that have a scenario where they change a innertext > of div tag using javascript.Some thing like > Onclick of button they change innertext of div tag. I want to find that > dynamic div tag using the innertext (Inner text will be known & it's > expected result),please some body tell how to solve this problem. > > Note : Dynamic Div tag means they are generating div tag using > javascript at runtime. > > thanks > Vinod > -- > Posted via http://www.ruby-forum.com/. > > -- Bret Pettichord Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord
From: Simbolla Simbolla on 23 Apr 2010 04:45 Bret Pettichord wrote: > browser.div(:text, 'dynamic text'). > > On Thu, Apr 22, 2010 at 5:18 AM, Simbolla Simbolla > <vinod236(a)gmail.com>wrote: > >> >> thanks >> Vinod >> -- >> Posted via http://www.ruby-forum.com/. >> >> > > > -- > Bret Pettichord > Lead Developer, Watir, www.watir.com > > Blog, www.io.com/~wazmo/blog > Twitter, www.twitter.com/bpettichord Thanks Bret for the fast response. i used another way to solve it ie.text.include? str -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: ruby-doc.org server move Next: ruby tutorial ,cloud computing |