On 5/17/07, san <[EMAIL PROTECTED]> wrote:
for $i in 1 .. 3 ie.image(:src => /pdf_small/i, :index => #{$i}).click sleep 10 etc.. etc... ie.back end
There is no need for global variable in for $i in 1 .. 3 I suggest that you change it to for i in 1 .. 3 Also, :index expects integer, not string. So, :index => #{$i} should be :index => i Zeljko -- ZeljkoFilipin.com
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general