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/.
browser.div(:text, 'dynamic text').
···
On Thu, Apr 22, 2010 at 5:18 AM, Simbolla Simbolla <vinod236@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
Bret Pettichord wrote:
browser.div(:text, 'dynamic text').
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
···
On Thu, Apr 22, 2010 at 5:18 AM, Simbolla Simbolla > <vinod236@gmail.com>wrote:
--
Posted via http://www.ruby-forum.com/.