Hi Madhu, For example, you have written abc.rb & saved it on Desktop. Try below code for above scenario:
require 'watir' require 'C:\\Documents and Settings\\user\\Desktop\\abc.rb' or 'C:\\Documents and Settings\\user\\Desktop\\abc.rb' use double backslash (\\) in path. If this also gives error then provide your code & error message Thank You Amit On Wed, Aug 11, 2010 at 2:01 PM, Željko Filipin < [email protected]> wrote: > On Wed, Aug 11, 2010 at 8:32 AM, madhu kumar <[email protected]> wrote: > > Please can anyone tell me how to run this watir script > > without storing in ruby bin directory. > > Please provide your code and error message. > > Željko > -- > watir.com - community manager > watirpodcast.com - host > testingpodcast.com - audio podcasts on software testing. all of them > vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: [email protected] > To unsubscribe: > [email protected]<watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: [email protected] To unsubscribe: [email protected]
