[Wtr-general] Library of Functions and Watir 1.5 Questions
Zeljko Filipin
zeljko.filipin at gmail.com
Tue Apr 18 09:02:34 EDT 2006
1) please do read Programming Ruby (http://www.rubycentral.com/book/)
Until you read it...
make file call_me.rb that contains
def do_something(argument)
# do something
end
make file call_another_file.rb that contains
require "call_me" # this includes call_me.rb
do_something(argument) # this calls method do_something
2) watir 1.5 is not released, but previews are here
http://wiki.openqa.org/display/WTR/Development+Builds
On 4/18/06, Rodrigo Julian Martin <rodrigo.martin at enratio.com> wrote:
>
> Hello everybody!
>
>
>
> I have two questions for you:
>
>
>
> 1) How can I make a Library of Functions in Watir/Ruby? I mean, a
> single .rb file which has different functions (I've read that ruby doesn't
> have functions but something similar), which can be called by any other ruby
> file and passing parameters to it?
>
>
>
> 2) Where can I download Watir 1.5? I really need the Modal Dialogs
> support..
>
>
>
> Thanks in Advance!
>
> Cheers
>
>
>
> Rodrigo Julian Martin.
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
>
--
http://www.testingreflections.com/blog/3071
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060418/d6478d8c/attachment.html
More information about the Wtr-general
mailing list