Can you please help me. I have this code:
lis = $browser.elements_by_xpath(//li);
lis.each do |li|
$logger.log(value: + li.id);
if (li.id == d.id[4..10])
$logger.log(FOUND!!!);
li.fireevent(ondblclick);
break;
end
end
It seems that the event ondblclick is not working.
Hi,
We are working on it. Will let you know the results soon.
Regards,
Angrez
On 6/9/07, jhun [EMAIL PROTECTED] wrote:
Can you please help me. I have this code:
lis = $browser.elements_by_xpath(//li);
lis.each do |li|
$logger.log(value: + li.id);
if (li.id == d.id[4..10])
Thank you so much. I'll wait for that. :)
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
i search with a script all buttons on a page; if the name of a button is btnG
then it must puts OK else NO
the code is:
$ie.buttons.each do |bbtns|
puts bbtns.name
if bbtns.name.equal?('btnG')
then puts 'OK'
else puts 'NO'
end
puts bbtns.value
puts
$i=$i+1
end
but the
Change equal? to eql? or == and it 'll work. equal? compares object ids,
eql? and == compare values.
-Charley
On 6/9/07, mihai [EMAIL PROTECTED] wrote:
i search with a script all buttons on a page; if the name of a button is
btnG then it must puts OK else NO
the code is:
$ie.buttons.each do
Jeff Fry wrote:
Looks good to me...and now checked in.
Thanks. I can never remember what is documented where.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general