/groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> e
ms/1.9.1/gems/
ffi-1.0.11/ext/f
fi_c/libffi'
make: *** ["/c/Ruby192/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/ext/ffi_c/
libffi"/.li
bs/libffi_convenience.a] Error 2
Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/
ffi-1.0.1
1 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/ext/
ffi_c/gem_m
ake.out
I am totally at a loss as to how to rectify this. I have tried this on
both XP x86 and Win 7 X64 to no avail.
Thanks in advance
Andy
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
rowser.ins(:class => "jstree-icon", :index => i).click
where i is incremented in a loop to click each element
On Aug 10, 2:56 pm, andy thai wrote:
> That is indeed the same jstree I am working with!
>
> That was a very detailed response that you gave, I like how yo
ut that's not
> > supported by default so you will probably have to use class, or
> > specify the list item if the ID values are at all predictable, and
> > then click the link inside it.
>
> > browser.li(:id, '233_1455').link(:index, 1).click #index woul
t say that the use of FireBug to figure out the
events fired was helpful, I'll have to remember that for future use,
thanks.
On Aug 5, 4:01 pm, Željko Filipin
wrote:
> On Fri, Aug 5, 2011 at 8:45 PM, andy thai wrote:
> > - .click method on my ins tag does not work?
>
> You p
Hi,
I have a javascript tree problem where I need to search for a
particular node. To do this I need to expand each branch in order to
see the contents under the node clicked.
The problem I am having is that the plus and minus icons aren't images
like in the example provided in "http://wiki.openq
t; +
"document.getElementById('two').onclick=func");
p 'clicking two'
ie.button(:id, 'two').click#shows injected handler
#press two manually here with alt held down to see event info
---
See what you get.
You
Take a look at this W3 schools link, it may help:
http://www.w3schools.com/jsref/jsref_onkeypress.asp
Note how they pass the event from the link:
onmousedown="getEventTrigger(event)"
vs
onmousedown="getEventTrigger()
Maybe that will help - andy
On Thu, Mar 12, 2009 at
Post a sample of your code.
Remember that when you inject the JS you are working only with the dom and
the browser JS engine. Nothing watir related. The error your are posting
leads me to believe that somewhere you are treating something that should
be JS as something in ruby.
-andy
On Wed
lower case 'd'
@ie.document
Sorry about that.
-andy
On Wed, Mar 11, 2009 at 11:02 AM, wrote:
>
> When I tried this I got
>
> undefined method `Document' for #
> (NoMethodError)
>
>
> Is Watir::IE the correct object to be using here?
>
>
alert('hi');');
I didn't test that and I'm pretty sure the embedded " and ' are wrong but
you should be able to get the idea of how to set the handler.
-andy
On Wed, Mar 11, 2009 at 10:33 AM, wrote:
>
> So I am clicking on a link that has an onclick han
Whoops - hit send to early...
I would add that you'll see this if you have no valid test methods. A
valid test method looks like:
def test_something
end
They have to start with test.
-andy
On Wed, Mar 4, 2009 at 3:50 PM, Andy Sipe wrote:
> The default Test::Unit behavior is t
The default Test::Unit behavior is to fail a test when there are no tests in
a class. It does this by injecting a test case called 'default_test'.
What you are seeing is that default behavior.
-andy
On Wed, Mar 4, 2009 at 3:33 PM, venky wrote:
>
> Hi
>
> I am using
&
One caveat to this is that you only get stdout using the backtick. You
don't get the other streams (stderr, etc..). At least this is my
experience on windows.
-andy
On Tue, Mar 3, 2009 at 4:05 PM, Bill Agee wrote:
> To get the standard output of a command, you can enclose it in b
even
test it out for you.
If you can get to the raw value and it is compatible with int then .to_i
will do the trick for you.
-andy
On Fri, Jan 30, 2009 at 7:48 AM, wrote:
>
>
> Hello, and thank you for your answer.
> I did what you said, but it complains about the fact that I can
teger and will discard the original
value stored in val[count].
Hope that helps,
-andy
On Fri, Jan 30, 2009 at 5:01 AM, wrote:
>
> Hello, I want to remove decimals from elements in an array, i.e.
> convert from Float to Integer and I do this:
>
> val[count].to_i
>
> but i
or MSBuild then you can easily
run the watir scripts. In NAnt for example you can ruby and run
the scripts just like you do during development (assuming you use the
command line). MSBuild has something similar.
It is definately doable and well worth the time.
-andy
On Wed, Jan 21, 20
:( ) [ ] * . - ^ $
There are more and depending on where they occur in your search string they
may cause more or less or no damage.
-andy
>
On Wed, Jan 21, 2009 at 12:59 PM, Moochie wrote:
>
> I got it.
>
> if message.index("*") != nil
> myvar = message[0,message.index("*&q
rescue
#specific error handling code here
end
end
Note, this kind of code is usually a red flag that something is wrong inside
your TC, avoid it if possible.
-andy
On Fri, Oct 31, 2008 at 8:45 AM, Anna Gabutero <[EMAIL PROTECTED]> wrote:
>
> LanOK wrote:
> > One
less than
obtainable.
Watir is a good tool because it does not always point back to standards as
an out when something doesn't work. In my opinion, if it can be rendered,
watir should work with it. Maybe this isn't always workable but in a lot
of cases it works just fine.
-andy
On
t; dt.day
=> 30
irb(main):008:0> dt.month=>
12
irb(main):010:0> str = dt.strftime('%m/%d/%Y') =>
"12/30/2007"
If the value you are getting isn't a string then you'll either have to
convert it to a Date or a strin
21 matches
Mail list logo