Hi Angrez -
I am not sure either... Do you have a PayPal account? If so, I can provide my
script so that you can reproduce on your end (you just need to plugin your
userid and password).
Steven
-
Posted via Jive Forums
Hi Steven,
I am not sure either... Do you have a PayPal account?
No, I don't have a PayPal account.
Regards,
Angrez
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hi, I too have the same problem, ,, This is my html..
a href=/login/logout onclick=return confirm('Are you sure you would like to
logout?');LOGOUT ,,, when i click on that i'll be getting the confirm popup
with ok and cancel buttons. So how to do such kind using watir??
Thanks,
Harish
Steve wrote:
while not ($browser.link(:text,Withdraw).exists?)
sleep 1
$browser.reload()
end
1.) Is there a better way for me to do this?
I am not sure why you are getting the text of old screen.
This question reminds me of a similar problem that I
Thank you Bret for your accurate answer,
I will upgrade to watir 1.5, but in the meanwhile i will comment out the
add_checker( navigation_checker ) line.
What exactly does this function do? Actually my question is, how safe is it to
uncomment?
Thank you Bret
For the others, thank you for
However those others were not helpful. If you check
the console output i pasted, you will realize that
puts cmdButton actually works fine and prints the
properties of the button. Furthermore the error is in
a match function, not in the puts function. More
careful reading next time people!!!
Federico Vela wrote:
I will upgrade to watir 1.5, but in the meanwhile i will comment out the
add_checker( navigation_checker ) line.
What exactly does this function do? Actually my question is, how safe is it
to uncomment?
The navigation_checker automatically raises exceptions when you
def calc(weights)
r = weights.inject(0){|s,x|s+x} * rand
weights.inject(0) {|s,x| s+=x; return x if s=r;s}
weights[-1]
end
stat={}
stat.default=0
1_000_000.times { stat[ calc([0.2, 0.5, 0.1, 0.3]) ] += 1 }
stat.each {|k,v| printf %4.2f %4.2f\n, k, v/1_000_000.0}
One major
One major drawback for this is that it won't work out of the box for
values like calc([0.1,0.1,0.8]) That is, call def a 10% of the time,
def b 10% of the time, def c 80% of the time. It seems input values
have to be unique.
Here's something that does the job, but I can't help thinking
Bret,
I've updated to latest version of 1.5.1 and the problem has gone away. Thank
you so much for your help, it is the good community feedback that allows
companies like mine be able to rely on open products!!!
I really appreciate your time.
Thank you.
Any comments on the relative level of ignorance for this is welcome
(be gentle, please) but this seems to me to be usable and
understandable even to relative beginnners:
##
a=20
b=20
c=10
d=0
e=40
f=10
a_range = 1..a
b_range = (a+1)..(b+a)
c_range =
This would be a great topic to discuss on ruby-talk (aka
comp.lang.ruby). I'm sure you'd get lots of suggestions.
Bret
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
It's a javascript dialog, one answer is in the FAQ link in the previous
post. Is this not working for you?
-Charley
On 2/13/07, Naga Harish Kanegolla [EMAIL PROTECTED] wrote:
Hi, I too have the same problem, ,, This is my html..
a href=/login/logout onclick=return confirm('Are you sure you
Hi Chris, unfortunately, I don't remember enough math right now to be able
to offer a better solution than what you've already come up with.
The only catch that I can think of is that since you are looking for a
*percentage*, the many in your many.times do loop needs to be a
relatively large
That is, many should be = 1000.
That won't be a problem in this case.
-Chris
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
What's wrong with just turning off pop-up blocking in the first place?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of barry
Sent: Tuesday, February 13, 2007 12:08 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Press Ctrl key while clicking on a
16 matches
Mail list logo