I think what bret said is $my_button = $ie.button(:id, 'foo')
is a bad idea. It may be better to do something like... def my_button() return( $ie.button(:id, 'foo') ) end while my_string = $ie.text could be fine, though you could still do def my_string() return( $ie.text ) end ... i think The concept being you want to, depending on your situation, write a script that uses some sort of abstraction layer. This means your 'high level' scripts will not need to be changed much at all (I'm doing this, and it works wonders), while your abstraction layer will change with the site. --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6038&messageID=16960#16960 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general