[wtr-general] Re: Where to run the script

2009-04-06 Thread spike

it worked, thanks a lot


On Apr 6, 5:07 pm, Željko Filipin 
wrote:
> On Mon, Apr 6, 2009 at 13:58, spike  wrote:
> > include Watir
>
> Remove this from your script and try again.
>
> > no such file to
> > load -- safariwatir (MissingSourceFile)
>
> Not sure how you got this error message. Maybe "include Watir" causes it.
>
> Željko
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to run the script

2009-04-06 Thread spike

it worked, thanks a lot

On Apr 6, 5:05 pm, Angrez Singh  wrote:
> remove Include Watir line from your file
>
> - Angrez
>
>
>
> On Mon, Apr 6, 2009 at 5:28 PM, spike  wrote:
>
> > i'm not able to run the script from SciTE. I typed in the following
> > script saved it and clicked F5.
> > require 'Watir'
> > include Watir
> > ie = Watir::IE.new
> > ie.goto "http://www.google.com/";
> > ie.url == "http://www.google.co.in/";
>
> > In the output panel I'm getting the following data
>
> > >ruby startgoogle.rb
> > C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
> > core_ext/module/introspection.rb:70:in `const_get': no such file to
> > load -- safariwatir (MissingSourceFile)
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/module/introspection.rb:70:in
> > `local_constants'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/module/introspection.rb:70:in `each'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/module/introspection.rb:70:in
> > `local_constants'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/module/introspection.rb:68:in `each'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/module/introspection.rb:68:in
> > `local_constants'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/core_ext/module/introspection.rb:86:in
> > `local_constant_names'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/dependencies.rb:498:in `new_constants_in'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> > active_support/dependencies.rb:495:in `collect'
> >         ... 6 levels...
> >        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > `gem_original_require'
> >        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > `require'
> >        from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:82
> >        from startgoogle.rb:3
> > >Exit code: 1
>
> > Is this a error in the application?
> > please suggest me if any installation or any error inthe code i've
> > written
>
> > On Apr 6, 4:14 pm, Željko Filipin 
> > wrote:
> > > On Mon, Apr 6, 2009 at 12:58, spike  wrote:
> > > > I'm using watir tool currently i'm running the script in Command
> > > > prompt. Is it the right way? or should i run the script in SciTE.
>
> > > I am running Watir scripts from command prompt for years. Works just
> > fine. I
> > > have tried to run them from Scite and Netbeans and they worked there too.
> > At
> > > the end, it is your choice.
>
> > > Do you have any problems when running scripts from command prompt or
> > Scite?
>
> > > Željko- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to run the script

2009-04-06 Thread Željko Filipin
On Mon, Apr 6, 2009 at 13:58, spike  wrote:
> include Watir

Remove this from your script and try again.

> no such file to
> load -- safariwatir (MissingSourceFile)

Not sure how you got this error message. Maybe "include Watir" causes it.

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to run the script

2009-04-06 Thread Angrez Singh
remove Include Watir line from your file

- Angrez

On Mon, Apr 6, 2009 at 5:28 PM, spike  wrote:

>
> i'm not able to run the script from SciTE. I typed in the following
> script saved it and clicked F5.
> require 'Watir'
> include Watir
> ie = Watir::IE.new
> ie.goto "http://www.google.com/";
> ie.url == "http://www.google.co.in/";
>
> In the output panel I'm getting the following data
>
> >ruby startgoogle.rb
> C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
> core_ext/module/introspection.rb:70:in `const_get': no such file to
> load -- safariwatir (MissingSourceFile)
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/core_ext/module/introspection.rb:70:in
> `local_constants'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/core_ext/module/introspection.rb:70:in `each'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/core_ext/module/introspection.rb:70:in
> `local_constants'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/core_ext/module/introspection.rb:68:in `each'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/core_ext/module/introspection.rb:68:in
> `local_constants'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/core_ext/module/introspection.rb:86:in
> `local_constant_names'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:498:in `new_constants_in'
>from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
> active_support/dependencies.rb:495:in `collect'
> ... 6 levels...
>from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:82
>from startgoogle.rb:3
> >Exit code: 1
>
> Is this a error in the application?
> please suggest me if any installation or any error inthe code i've
> written
>
>
>
> On Apr 6, 4:14 pm, Željko Filipin 
> wrote:
> > On Mon, Apr 6, 2009 at 12:58, spike  wrote:
> > > I'm using watir tool currently i'm running the script in Command
> > > prompt. Is it the right way? or should i run the script in SciTE.
> >
> > I am running Watir scripts from command prompt for years. Works just
> fine. I
> > have tried to run them from Scite and Netbeans and they worked there too.
> At
> > the end, it is your choice.
> >
> > Do you have any problems when running scripts from command prompt or
> Scite?
> >
> > Željko
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to run the script

2009-04-06 Thread spike

i'm not able to run the script from SciTE. I typed in the following
script saved it and clicked F5.
require 'Watir'
include Watir
ie = Watir::IE.new
ie.goto "http://www.google.com/";
ie.url == "http://www.google.co.in/";

In the output panel I'm getting the following data

>ruby startgoogle.rb
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/
core_ext/module/introspection.rb:70:in `const_get': no such file to
load -- safariwatir (MissingSourceFile)
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/module/introspection.rb:70:in
`local_constants'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/module/introspection.rb:70:in `each'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/module/introspection.rb:70:in
`local_constants'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/module/introspection.rb:68:in `each'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/module/introspection.rb:68:in
`local_constants'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/core_ext/module/introspection.rb:86:in
`local_constant_names'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:498:in `new_constants_in'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:495:in `collect'
 ... 6 levels...
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:82
from startgoogle.rb:3
>Exit code: 1

Is this a error in the application?
please suggest me if any installation or any error inthe code i've
written



On Apr 6, 4:14 pm, Željko Filipin 
wrote:
> On Mon, Apr 6, 2009 at 12:58, spike  wrote:
> > I'm using watir tool currently i'm running the script in Command
> > prompt. Is it the right way? or should i run the script in SciTE.
>
> I am running Watir scripts from command prompt for years. Works just fine. I
> have tried to run them from Scite and Netbeans and they worked there too. At
> the end, it is your choice.
>
> Do you have any problems when running scripts from command prompt or Scite?
>
> Željko
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to run the script

2009-04-06 Thread Željko Filipin
On Mon, Apr 6, 2009 at 12:58, spike  wrote:
> I'm using watir tool currently i'm running the script in Command
> prompt. Is it the right way? or should i run the script in SciTE.

I am running Watir scripts from command prompt for years. Works just fine. I
have tried to run them from Scite and Netbeans and they worked there too. At
the end, it is your choice.

Do you have any problems when running scripts from command prompt or Scite?

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---