Hi, Sometimes you need to include the starred line below:
* require 'rubygems' require 'watir-browser' browser = Watir::Browser.new :ff browser.goto 'http://bit.ly/watir-example' In your code you do this (require 'Watir-webdriver'). I am not sure if that is causing the problem but you might change it to (require 'watir-webdriver'). Try and keep your code to same as the examples. What type of machine are you working on? Joe On Saturday, September 1, 2012 7:02:17 PM UTC-4, goka priyanka wrote: > > > > On Saturday, September 1, 2012 7:01:53 PM UTC-4, goka priyanka wrote: >> >> Joe, >> >> Thanks for answering my question however i have seen an error message . >> http://screencast.com/t/4nzYJbeEKZ1N >> >> >> I have 2 questions >> >> 1.Why a pop is shown after this command br = Watir::Browser.new :ff and >> then an instance of ff is opened.(or is this the expected behavior?) >> 2.Why Am I seeing an error message for this command >> browser.goto 'http://bit.ly/watir-example' >> >> Please answer me... >> >> Thanks for your precious time!!!! >> >> On Thursday, August 30, 2012 10:17:25 PM UTC-4, goka priyanka wrote: >>> >>> Hello all, >>> >>> Please see this video shot http://screencast.com/t/RRgPHxvFwTU and help >>> me .Iam unable to invoke browser and launch google.com. >>> >>> Thanks for your time >>> pri >>> >> -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
