Howdy all,
I'm working on a short project where I am parsing a page that happens to
contain some nodes that cause REXML to die -- some specific examples are:
<[EMAIL PROTECTED] _extended="true" />
The nodes with @, : and , all throw:
c:/ruby/lib/ruby/site_ruby/1.8/rexml/parsers/treeparser.rb:
I've used file_field a bunch -- the IE File Open dialog touchy.
My workaround was to always use a full path with no spaces, such as:
$ie.file_field(:id, 'upload').set('c:\\testfiles\\uploadme.txt')
___
Wtr-general mailing list
Wtr-general@rubyforge.o
Bret asks:
>What is a "ruby attach dialog"?
I was referring to the DOS/ruby.exe window that opens and scrolls through
all the window captions until it finds the File Open dialog.
>I'd be surprised if vmWare itself is the source of your problem. I'm pretty
>sure we have people here who have used i
Howdy all – I have some Watir tests
that invoke the file_field field object, and I’ve noticed some slightly
odd behavior when running on native WinXP vs. virtual
WinXP through VMware.
If a regular page has a file_field control,
everything works peachy.
But, the application also has
I had a similar requirement and addressed
it by adding my methods to the Element class.
This may not be the best solution, but it worked for me.
module Watir
class Element
def click_wait(how_long
= 30)
wait_for(how_lon
I’ve been crawling through xpath for the last couple of weeks, but I’ve been
unable to solve a real basic problem I am having locating desired objects.
As a background, the application I am
automating makes extensive use of AJAX,
_javascript_, Dojo and DWR, so the DOM gets complex.
>class Watir::IE
> attr_accessor error_checkers
>end
>$browser = IE.new
>And it throws me this output
>undefined local variable or method `error_checkers' for Watir::IE:Class
(NameError)
I suspect the offender is the missing colon (:) before error_checkers in
attr_accessor (it's expecting a sym
Bret Pettichord wrote:
>I am thinking of adding a Map class to Watir. Here's how it would work...
I found this an interesting problem, and as it applied to something I was
doing at work, I wanted to give it a stab. Below is my "hack" at a Map
class. It only works in Watir 1.5. So, how many rule