|
Hi Angrez, thanks for the quick reply! I’ve tried the code: require 'watir' browser = Firefox.new #You need to
create new Firefox instance. Rest will remain same. browser.goto("http://google.com") and when I run it, this was the output: Untitled.rb:2: uninitialized constant
Firefox (NameError) Execution completed with exit code 1. I’ve installed FireWatir and run all
the mozilla_unittests correctly. Am I doing something wrong? Also, there’s one thing I don’t
get it… With the mozilla_unittests, you should start Firefox Manually
with the parameter “-jssh”. With this code you gave me, is no more necessary
to do that? Thanks for your patience and help Regards Rodrigo Julian Martin From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Angrez Singh Hi, On 3/28/06, Rodrigo
Julian Martin <[EMAIL PROTECTED]>
wrote: Hi
all! I'm
starting the development of a script for a WebPage. This Unit Test should run
in Explorer and also in Internet Explorer. I'm
running FireWatir, and I have a question: 1)
How should I specify wheter a script will be run against Firefox or Internet
Explorer? If I'm not wrong, in order to run
a script for Firefox, you should run the browser manually with the
"-jssh" parameter. If you start an instance of Internet
Explorer by code, FireWatir asumes that is for Internet Explorer? Sorry,
i'm a little confused as you can see.. Thanks
in Advance! Regards Rodrigo
Julian Martin.
|
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
