[wtr-general] Re: Dealing with , and triggering Javascript

Wed, 08 Jul 2009 15:17:20 -0700

I have version REXML 3.1.7.2 installed.

I have managed to find a workaround now (Adding the font tag to watir)
that probably works better than an xpath would, in fact, but from what
I've seen very few people have gotten xpaths to work with watir (at
least the element_by_xpath part) in the first place. It might be
helpful if someone who does have them working could give a mini-
tutorial or something. I would do it myself, but obviously I am not
one of those people who knows what they're doing. :) Xpaths can be
very powerful and it would be nice to at least have the option.

Also, for anyone who was in a similar boat as me, I had a hard time
figuring out where to put the "class" code Željko Filipin was so
awesome to post on his blog, and through trial and error it apparently
goes in the NonControlElement.rb file. Probably "duh" for most of you,
but if there are any other watir/ruby noobs out there, hope that
helps.

-Dylan

On Jul 8, 1:14 am, Željko Filipin <zeljko.fili...@wa-research.ch>
wrote:
> On Tue, Jul 7, 2009 at 7:52 PM, Dylan <mej...@gmail.com> wrote:
> > I've even copied the exact html and ruby code given in the "What to do
> > for elements not having class in Watir?" section, and I still get nil
> > returned.
>
> I think you have to have newer version of rexml (3.1.6) than the one shipped
> with some versions of ruby.
>
> http://zeljkofilipin.com/2007/10/18/how-do-i-get-rexml-version-number/
>
> Željko

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to