You need to create new instance of Firefox instead of IE.
For e.g: If your script is like this:
ie = IE.new
ie.goto("http://google.com/")
Corresponding script for Firefox will look like:
browser = Firefox.new #You need to create new Firefox instance. Rest will remain same.
browser.goto("http://google.com")
Regards,
Angrez
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
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
