[wtr-general] Re: FireWatir works in IRB not in script

2009-09-24 Thread John Kolokotronis

Try adding

require 'rubygems'

at the very top of your script, before the Firewatir requirement.

Regards,

John

On Sep 23, 10:19 pm, Brad bradask...@gmail.com wrote:
 I installed FireWatir on the Mac.  I got the mozilla_all_tests.rb to
 run when I was in the unittests directory.  I can get the IRB to start
 a new browser and go to a URL, but I can not get a .rb file to run
 from my desktop

 When I do this in the console it works:
 require 'firewatir'
 ff = Watir::Browser.new
 ff.goto http://www.google.com;

 If I have the same thing in a file on my desktop and run:
 ruby 'ff.rb'
 which contains:
  # include the controller
     require 'firewatir'

  # go to the page you want to test
    ff = Watir::Brower.new
    ff.goto http://www.google.com;

 I get an error message.
 ff.rb:2:in `require': no such file to load -- firewatir (LoadError)
         from ff.rb:2

 Why is that?

 Thank you.

 Brad
--~--~-~--~~~---~--~~
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: FireWatir works in IRB not in script

2009-09-24 Thread Ankur Gera
Hi Brad,
   John is absolutely right.I have faced the similar issue in the past for
IE also and get resolved it by adding the statement which John
   has provided here.You can search for the similar error on google then you
will get the same solution.

Thanks  Regards,
Ankur Gera
TCS

--~--~-~--~~~---~--~~
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: FireWatir works in IRB not in script

2009-09-24 Thread Željko Filipin
On Wed, Sep 23, 2009 at 11:19 PM, Brad bradask...@gmail.com wrote:
   ff = Watir::Brower.new

And here you have Brower instead of Browser (`s` is missing).

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
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] hi there is an issue in running my script

2009-09-24 Thread sathish_Er


I am using ruby 1.8.5 for developing a script to automate the process
to record the response time ,

On executing the script in Scite i found the error attached the screen
shot for your review, kindly give your comments

--
Thanks Regards
Sathish Kumar

--~--~-~--~~~---~--~~
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: hi there is an issue in running my script

2009-09-24 Thread kiran yajamanyam
No screen shot is available. Can you resend it?

On Thu, Sep 24, 2009 at 1:12 PM, sathish_Er vpm.sath...@gmail.com wrote:



 I am using ruby 1.8.5 for developing a script to automate the process
 to record the response time ,

 On executing the script in Scite i found the error attached the screen
 shot for your review, kindly give your comments

 --
 Thanks Regards
 Sathish Kumar

 


--~--~-~--~~~---~--~~
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: I need help with Watir documentation: Methods Supported by Element

2009-09-24 Thread karim rayani

yeh definately.

On Thu, Sep 24, 2009 at 4:44 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
 I have been updating these wiki pages:

 http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Tag
 http://wiki.openqa.org/display/WTR/How+and+What
 http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element

 All pages are related. The first two pages have `how` portion sorted
 alphabetically, which is really useful.

 The third page (Methods Supported by Element) has Watir methods sorted by
 alphabetically, but `how` is not sorted alphabetically. I do not have the
 time to sort it.

 Anybody has the time to update that?

 If you need any help, please let me know.

 Željko
 --
 http://watirpodcast.com/


 




-- 
Regards,

Alkarim Rayani

--~--~-~--~~~---~--~~
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] Mac FireWatir PopUp

2009-09-24 Thread Brad

I saw another thread about handling popups in FireWatir, but I didn't
see a resolution.

Please see the dialog box I'm trying to handle
http://sites.google.com/site/watirattachments/

because if this is suppose to work...it isn't

@browser.startClicker(Cancel)
@browser.button(:caption, Agree and Download).click

I looked at the unittests and see that it works for the second image
on this page
http://sites.google.com/site/watirattachments/

Thanks for any help.

Brad
--~--~-~--~~~---~--~~
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] Web development testing survey

2009-09-24 Thread Piotr Sarnacki

Hi,

I would like to know what is the situation of automated testing in web
development. I've created a survey and I would like you to help me and
fill it in.

It's focused on testing, but if you don't test, your voice is still
valueable, don't give up and fill it anyway :)

Survey is on google docs:
http://spreadsheets.google.com/viewform?formkey=dGxzNHQzT1hsUmtlVTRTVTcwMHR3aFE6MA..

I will publish the results as soon as I will got sufficient number of
votes or in 2-3 weeks.

Thanks in advance!

Piotr Sarnacki

--~--~-~--~~~---~--~~
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: I need help with Watir documentation: Methods Supported by Element

2009-09-24 Thread karim rayani

hey hi, i have sorted the header column, you could verify the header column

From

Karim Rayani

On Thu, Sep 24, 2009 at 4:22 AM, karim rayani karim@gmail.com wrote:
 yeh definately.

 On Thu, Sep 24, 2009 at 4:44 PM, Željko Filipin
 zeljko.fili...@wa-research.ch wrote:
 I have been updating these wiki pages:

 http://wiki.openqa.org/display/WTR/Ways+Available+To+Identify+HTML+Tag
 http://wiki.openqa.org/display/WTR/How+and+What
 http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element

 All pages are related. The first two pages have `how` portion sorted
 alphabetically, which is really useful.

 The third page (Methods Supported by Element) has Watir methods sorted by
 alphabetically, but `how` is not sorted alphabetically. I do not have the
 time to sort it.

 Anybody has the time to update that?

 If you need any help, please let me know.

 Željko
 --
 http://watirpodcast.com/


 




 --

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