Hi, Has anyone managed to set the browser through Rake?
<rake> require 'cucumber/rake/task' require 'watir' Cucumber::Rake::Task.new("default", "features") do |t| t.cucumber_opts = "-f TeamCityFormatter -f html --out story-results.html" end task :ff do ENV['ENVIRONMENT']='systest' Watir::Browser.default = 'firefox' Rake.application["default"].execute end task :ie do ENV['ENVIRONMENT']='systest' Watir::Browser.default = 'ie' Rake.application["default"].execute end </rake> <CI> rake ie rake ff </CI> As I get the default browser of Firefox, for both of the above commands. Thanks -- Aidy blog: www.agiletester.co.uk twitter: http://twitter.com/aidy_lewis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---