Hi Pri, I am so very sorry. One of my lines is incorrect.
require 'watir-webdriver' not 'watir-browser' * require 'rubygems' require 'watir-webdriver' browser = watir::Browser.new :ff browser.goto 'http://bit.ly/watir-example' Let me know what happens and sorry again for leading you in the wrong direction. Yes. You will learn WATIR. :-) Joe On Mon, Sep 3, 2012 at 9:57 PM, goka priyanka <[email protected]> wrote: > Thanks Joe for your prompt reply.Iam working on Mac OS X Lion. > Iam getting all error messages. > > http://screencast.com/t/F9OUtHmzH8 > > Will I ever get to learn Watir....:( > > Please advice me whats wrong....Iam very depressed!!!! > > Thanks, > Pri > > > On Sunday, September 2, 2012 9:49:24 PM UTC-4, Joe Fl wrote: >> >> 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] -- 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]
