[wtr-general] Re: Close All browsers and Firewatir

2009-10-09 Thread Angrez Singh
I'll implement one for this. Should be a easy task to do.

On Fri, Oct 9, 2009 at 2:08 AM, orde  wrote:

>
> According to this page, there's no close_all method for firewatir:
>
> http://wiki.openqa.org/display/WTR/Firewatir+Compatibility
>
> Could be out of date, though...
>
> On Oct 7, 11:28 pm, Pallavi Sharma  wrote:
> > Hi
> >
> > Is it possible to close all firefox instances open with FireWatir??
> >
> > Please let me know
> >
> > Thanks
> >
> > Pallavi.
> >
>

--~--~-~--~~~---~--~~
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: Iterating through an unordered list

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 12:26 AM, George  wrote:
> I didn't see the method 'lis'

And we have a wiki page that talks about `lis` and similar methods:

http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements

Ž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] Re: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread Željko Filipin
We have example of Watir with Rspec:

http://wiki.openqa.org/display/WTR/RSpec
Ž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] Re: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong 
wrote:
> Where can we get the video?

http://www.vimeo.com/2871256

Found it with Google:

http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber

Ž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: Need to print results of Mulitple scripts in oneHTML file

2009-10-09 Thread Rohan Ojha
Hey Bindhu,

 

Rake is ruby make file. You can say its Ruby's version of batch file (its
not but for starters you can have this assumption).

 

In the Rake file ,you can have multiple scripts with which you can create a
test suite of a kind.

 

I am sure there is a lot of material available over the internet if you look
for rake files.

 

Thanks,

Rohan Ojha

 

 

-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com]
On Behalf Of Bindhu
Sent: Friday, October 09, 2009 11:36 AM
To: Watir General
Subject: [wtr-general] Re: Need to print results of Mulitple scripts in
oneHTML file

 

 

Thanks Prajakta and Rohan for ur quick reply,

And sorry to bother you again...

 

I the below code in every script

 

r = CLReport.new()

testReport = r.createReport('D:\\Automation\\ReportName')

 

< Script to be executed>>

 

end

r.addtoReport("testReport","TC_001", 'PASSED', "New Account Created

for Regular Savings,Personal (10) and class code of Individual with

Account No :")

r.finishReport(testReport)

rescue

   r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED',

'Test crashed!')

  r.finishReport(testReport)

 

And based on ur sugesstion I m trying to use CLReport.open(). But it

is not working. Please extend ur help.

 

Rohan,

I m really not aware what is rake.Can you please provide me some

example.

 

Thanks in Advance

 

On Oct 9, 10:20 am, Prajakta Jadhav  wrote:

> Shouldn't be a problem. Open the same html file in both the scripts for

> logging the results. It will log the results one after another in the same

> html file.

> 

> -Prajakta

> 

> 

> 

> On Fri, Oct 9, 2009 at 10:31 AM, Bindhu  wrote:

> 

> > Hi All,

> 

> > In batch file I have included 2 scripts to be executed. After a

> > successful execution of this batch I want to print the results in one

> > HTML file.

> > As of now I am able to print the one HTML file for one script. But I

> > want a single HTML file to be printed for multiple scripts which I

> > have inculded on batch file.

> > Please guide me.

> 

> > Right now I am using the code which is available in wiki..

> 

> > Thanks- 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] How to copy text with Watir

2009-10-09 Thread Peter Kras

Hi!

I need to check such situation:

I have text field with id="field1" that contains text '250M'. When you
click on it - only '250' becomes highlighted - special logic.

Testing it with watir:
$IE0 = Watir::IE.new
..
$IE0.text_field(:id,'field1').focus # this works

$IE0.send_keys('^{c}') # copies, but txt in url field of browser

$IE0.text_field(:id,'oherField').focus  #doesn't work

$IE0.send_keys('^{v}')


But the problem is that focus in URL field of browser (IE7).

--~--~-~--~~~---~--~~
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: Need to print results of Mulitple scripts in oneHTML file

2009-10-09 Thread karim rayani
Hello All,

Use the Watircraft framework, nothing like using Rspec so as to get to know
the exact point of failures and fancy reports

Regards,

Karim Rayani




On Fri, Oct 9, 2009 at 2:03 PM, Rohan Ojha  wrote:

>  Hey Bindhu,
>
>
>
> Rake is ruby make file. You can say its Ruby’s version of batch file (its
> not but for starters you can have this assumption).
>
>
>
> In the Rake file ,you can have multiple scripts with which you can create a
> test suite of a kind.
>
>
>
> I am sure there is a lot of material available over the internet if you
> look for rake files.
>
>
>
> Thanks,
>
> Rohan Ojha
>
>
>
>
>
> -Original Message-
> From: watir-general@googlegroups.com [mailto:
> watir-gene...@googlegroups.com] On Behalf Of Bindhu
> Sent: Friday, October 09, 2009 11:36 AM
> To: Watir General
> Subject: [wtr-general] Re: Need to print results of Mulitple scripts in
> oneHTML file
>
>
>
>
>
> Thanks Prajakta and Rohan for ur quick reply,
>
> And sorry to bother you again...
>
>
>
> I the below code in every script
>
>
>
> r = CLReport.new()
>
> testReport = r.createReport('D:\\Automation\\ReportName')
>
>
>
> < Script to be executed>>
>
>
>
> end
>
> r.addtoReport("testReport","TC_001", 'PASSED', "New Account Created
>
> for Regular Savings,Personal (10) and class code of Individual with
>
> Account No :")
>
> r.finishReport(testReport)
>
> rescue
>
>r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED',
>
> 'Test crashed!')
>
>   r.finishReport(testReport)
>
>
>
> And based on ur sugesstion I m trying to use CLReport.open(). But it
>
> is not working. Please extend ur help.
>
>
>
> Rohan,
>
> I m really not aware what is rake.Can you please provide me some
>
> example.
>
>
>
> Thanks in Advance
>
>
>
> On Oct 9, 10:20 am, Prajakta Jadhav  wrote:
>
> > Shouldn't be a problem. Open the same html file in both the scripts for
>
> > logging the results. It will log the results one after another in the
> same
>
> > html file.
>
> >
>
> > -Prajakta
>
> >
>
> >
>
> >
>
> > On Fri, Oct 9, 2009 at 10:31 AM, Bindhu 
> wrote:
>
> >
>
> > > Hi All,
>
> >
>
> > > In batch file I have included 2 scripts to be executed. After a
>
> > > successful execution of this batch I want to print the results in one
>
> > > HTML file.
>
> > > As of now I am able to print the one HTML file for one script. But I
>
> > > want a single HTML file to be printed for multiple scripts which I
>
> > > have inculded on batch file.
>
> > > Please guide me.
>
> >
>
> > > Right now I am using the code which is available in wiki..
>
> >
>
> > > Thanks- 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: watir:buttons returns only 1st button

2009-10-09 Thread kat

Unfortunately, I cannot change html.
Also, this is a real bug. I've submitted it here: to
http://jira.openqa.org/browse/WTR-326

On Oct 8, 11:25 pm, orde  wrote:
> Weird.  Looks like it's returning the text (i.e. "1st button") instead
> of the value ("first button").
>
> I'm not sure why you are getting unexpected results, but here are a
> couple of things that might help:
>
> *  tag isn't the same as  tag
> * your code below should work if all the buttons are  type="button">, like this:
>
>         
>         
>         
>
> Hope that helps.
>
> orde
>
> On Oct 7, 6:11 am, kat  wrote:
>
> > Watir:Buttons is supposed to return all buttons on a page.
> > With the next tested page
>
> > 
> >     some title
> >     
> >         
> >         1st button
> >         some text
> >         2nd button
> >         
> >     
> > 
>
> > using this script:
>
> > require 'watir'
> >  test_site = 'http://localhost/test.html'
> >  ie = Watir::IE.new
> >  ie.goto(test_site)
> >  ie.buttons.each do |a_button|
> >    puts a_button.value
> >  end
>
> > I get only "1st button" in output.
> > Do I do something wrong or this is a bug?
--~--~-~--~~~---~--~~
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: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread aidy lewis

Hi,

Cucumber or Rspec? I will add to zeljko's link today. The example
doesn't even use matchers.

Richard Downie has a Waitr\Cucumber example here:
http://wiki.github.com/aslakhellesoy/cucumber/watircuke, but I don't
agree with his approach.

Aidy

2009/10/9 Željko Filipin :
> On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong 
> wrote:
>> Where can we get the video?
>
> http://www.vimeo.com/2871256
>
> Found it with Google:
>
> http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber
>
> Ž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] Watir gem tries to build against the win32 API on a mac

2009-10-09 Thread Manish Chakravarty

hello,

I am pretty new to watir.
Installed watir by using the following commands (in this order)
sudo gem install firewatir
sudo gem install safari watir

This happened in irb:
irb(main):001:0> require 'watir'
LoadError: no such file to load -- watir
from (irb):1:in `require'
from (irb):1

So I decided to do a "gem install watir" which resulted in the
following error output: http://pastie.org/648097 ( Pastebinned it;
dont want to crowd up this mail )

Can someone tell me how to get watir up and running?

-- Manish Chakravarty

--~--~-~--~~~---~--~~
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: Watir gem tries to build against the win32 API on a mac

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 11:23 AM, Manish Chakravarty 
wrote:
> sudo gem install firewatir
> sudo gem install safari watir

There should not be space in `safari watir`. You should do this (
http://watir.com/installation/):

sudo gem update --system
sudo gem install firewatir
sudo gem install safariwatir

> So I decided to do a "gem install watir"

That does not work on Mac.

Ž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] Re: Capturing Java Script Errors

2009-10-09 Thread Jarmo Pertman

Hello.

We used AutoIt for opening the javascript error message window, then
make a screenshot of the error message itself and close the window,
not that IE js error messages would be useful on most of the times.
This is a little dirty hack, but it works for us sort of.

Jarmo

On Oct 9, 6:15 am, dt_nz  wrote:
> Hi
> I was hoping someone could point me in the right direction to get some
> help capturing java script errors.  We have a rather large number of
> tests that are executed during our regression run, and there can be a
> significant amount of page reloads etc that sometimes cause java
> script errors.  In the past we have simply turned java scripts off
> from popping up so our tests continue without stopping, and relied on
> manual testing to pick the errors up.
>
> Any help would be appreciated
--~--~-~--~~~---~--~~
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: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread aidy lewis

I have written a new example here:

http://wiki.openqa.org/display/WTR/RSpec

Aidy

2009/10/9 aidy lewis :
> Hi,
>
> Cucumber or Rspec? I will add to zeljko's link today. The example
> doesn't even use matchers.
>
> Richard Downie has a Waitr\Cucumber example here:
> http://wiki.github.com/aslakhellesoy/cucumber/watircuke, but I don't
> agree with his approach.
>
> Aidy
>
> 2009/10/9 Željko Filipin :
>> On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong 
>> wrote:
>>> Where can we get the video?
>>
>> http://www.vimeo.com/2871256
>>
>> Found it with Google:
>>
>> http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber
>>
>> Ž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] Wiki cleanup (was Watir 1.6.5.rc1 - release candidate available for testing)

2009-10-09 Thread Željko Filipin
On Mon, Oct 5, 2009 at 9:37 PM, Charley Baker 
wrote:
> http://wiki.openqa.org/display/WTR/Development+Builds

As Bret suggested in another thread to clean up the wiki, I suggest that
this page should be cleaned up. I would delete everything under `Watir 1.6
has been released.` (including that title). Also, I would delete it's child
pages:

http://wiki.openqa.org/display/WTR/Notes-1.5.1.1127
http://wiki.openqa.org/display/WTR/Notes-1.5.1.1100

Anybody thinks that would not be a good idea?

Ž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] Watir -Ajax Application working in IE6 but not in IE7

2009-10-09 Thread AAP

Hi,

The Application is IBM WebSphere which is a ajax application, works
fine in IE6. But not in IE7.
Since the OS is Vista, IE browser starts with IE7 as a package.

Any idea would be highly useful for us.

--~--~-~--~~~---~--~~
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: Watir -Ajax Application working in IE6 but not in IE7

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 2:26 PM, AAP  wrote:
> The Application is IBM WebSphere which is a ajax application, works
> fine in IE6. But not in IE7.

And the problem is? I do not see how this is related to Watir.

Ž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] Re: ie.goto never returns. Page never loads.

2009-10-09 Thread llemirtrauts

Many thanks for your reply karim.

I'm not sure that the information on this link helps.
This page indicates how to wait if Watir doesn't explicitly wait.

I want to explicitly NOT wait for a page to finish loading, because in
essence the page 'never' loads fully due to the continuous http
connection (comet).

thanks,
Stuart


--~--~-~--~~~---~--~~
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] SendKey focus missing in IE 7

2009-10-09 Thread Prince3105

Hi All,

I am a newbie to Watir. This issue might be discussed many times, but
i am unable to find a solution by searching.


I am using below package.

Watir version - 1.6.2
Ruby version - 1.8.6


Today i updated my IE from 6 to 7. I used send_key method extensively
in the code. But when i execute the code browser's address bar got
automatically focused and test failed.

I tried to hide the address bar in browser but i cant. Right now i did
a workaround by using Shift+Ctrl combination, but its not a worthy
solution.

So Experts please suggest me a solution to solve this issue.


Thanks,

Prince3105
--~--~-~--~~~---~--~~
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: ie.goto never returns. Page never loads.

2009-10-09 Thread llemirtrauts


I found this in a different thread.
It suggests running goto in a different thread, then sleeping for a
few seconds until its likely to have loaded. Its not ideal, but it
works:-

-- Forwarded message --
From: LFIdnl 
Date: Dec 10 2008, 7:33 am
Subject: Modal Dialog goto with no wait
To: Watir General


In these cases I execute command in another thread. If anybody suggest
another usefull method I will be happy :) . Try this:

...
thr = Thread.new {
   ie.goto  "javascript:OpenPage();"}

sleep(3) #time to wait of javascript popup
thr.kill

puts ie.modal_dialog.html # now must gets here

On 10 дек, 06:42, Sean  wrote:

> Hello All --

> I'm trying to launch a modal dialog using the following code. I
> believe I have to tell the goto to not wait for the page to finish
> loading but I cant find out how.  if it was a button, I could use
> click_no_wait. Is there a goto_no_wait or a way I can tell Watir to
> not wait.  Thanks in advance.

> ie = Watir::IE.new

> loginURL = "login.aspx"
> puts "Opening login page (#{loginURL}) ... "
> ie.goto loginURL
> Watir::Waiter::wait_until {ie.text_field(:name, "txtUser").exists?}

> ie.text_field(:name, "txtUser").set username
> ie.text_field(:name, "txtPassword").set password

> ie.button(:name, "cmdLogin").click

> ie.goto  "javascript:OpenPage();"

> puts ie.modal_dialog.html # never gets here


--~--~-~--~~~---~--~~
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: SendKey focus missing in IE 7

2009-10-09 Thread Trevor

I had a similar problem
I also had to use a workaround, basically just tab away from the
address bar first
e.g.
$browser.send_keys("{tab}") #Added for IE7 as focus remains in 
the
address bar unless tabbed away from it

Trevor

On 9 Oct, 13:46, Prince3105  wrote:
> Hi All,
>
> I am a newbie to Watir. This issue might be discussed many times, but
> i am unable to find a solution by searching.
>
> I am using below package.
>
> Watir version - 1.6.2
> Ruby version - 1.8.6
>
> Today i updated my IE from 6 to 7. I used send_key method extensively
> in the code. But when i execute the code browser's address bar got
> automatically focused and test failed.
>
> I tried to hide the address bar in browser but i cant. Right now i did
> a workaround by using Shift+Ctrl combination, but its not a worthy
> solution.
>
> So Experts please suggest me a solution to solve this issue.
>
> Thanks,
>
> Prince3105
--~--~-~--~~~---~--~~
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: watir:buttons returns only 1st button

2009-10-09 Thread SuperKevy

>From the w3c schools

Definition and Usage
The  tag defines a push button.

Inside a button element you can put content, like text or images. This
is the difference between this element and buttons created with the
input element.

Always specify the type attribute for the button. The default type for
Internet Explorer is "button", while in other browsers (and in the W3C
specification) it is "submit

Browser Support

The  tag is supported in all major browsers.

Important: If you use the button element in an HTML form, different
browsers will submit different values. Internet Explorer will submit
the text between the  and  tags, while other browsers
will submit the content of the value attribute. Use the input element
to create buttons in an HTML form.


Good html code that compiles to a common standard makes a
difference...


On Oct 9, 4:16 am, kat  wrote:
> Unfortunately, I cannot change html.
> Also, this is a real bug. I've submitted it here: 
> tohttp://jira.openqa.org/browse/WTR-326
>
> On Oct 8, 11:25 pm, orde  wrote:
>
>
>
> > Weird.  Looks like it's returning the text (i.e. "1st button") instead
> > of the value ("first button").
>
> > I'm not sure why you are getting unexpected results, but here are a
> > couple of things that might help:
>
> > *  tag isn't the same as  tag
> > * your code below should work if all the buttons are  > type="button">, like this:
>
> >         
> >         
> >         
>
> > Hope that helps.
>
> > orde
>
> > On Oct 7, 6:11 am, kat  wrote:
>
> > > Watir:Buttons is supposed to return all buttons on a page.
> > > With the next tested page
>
> > > 
> > >     some title
> > >     
> > >         
> > >         1st button
> > >         some text
> > >         2nd button
> > >         
> > >     
> > > 
>
> > > using this script:
>
> > > require 'watir'
> > >  test_site = 'http://localhost/test.html'
> > >  ie = Watir::IE.new
> > >  ie.goto(test_site)
> > >  ie.buttons.each do |a_button|
> > >    puts a_button.value
> > >  end
>
> > > I get only "1st button" in output.
> > > Do I do something wrong or this is a bug?- 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] Console output when compare file fails

2009-10-09 Thread Trevor

The final part of one of my tests creates an output file and compares
against a reference file. The files are approx. 230Mb in size
The test works OK, but when the outputs are different I get both files
dumped into the console. As they are effectively binary files, this is
of no use.
Is there a way to prevent this "dump" occurring while still seeing the
actual result of the test?

This part of the test is basically:

@expectedTS = File.read("C:/TSFiles/dvbsub_TC101.TS")
@actualTS = File.read('C:/Reference/dvbsub_TC101.TS')

verify_equal(@expectedTS, @actualTS)

Thanks,
Trevor
--~--~-~--~~~---~--~~
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: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Željko Filipin
`gem update --system` took something like an hour after a clean Ruby
1.8.6-26 install. I know we can not do anything about it, but I was _really_
surprised.

Ž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] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread aidy lewis

Hi Charley

2009/10/5 Charley Baker : wrote:

> http://wiki.openqa.org/display/WTR/Development+Builds

Would it not be an idea to install the gem(s) directly from github?

Aidy

--~--~-~--~~~---~--~~
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: Console output when compare file fails

2009-10-09 Thread Bill Agee
I would try comparing the files, then asserting the resulting boolean value:

assert(FileUtils.compare_file('C:\foo.txt', 'C:\bar.txt'))


On Fri, Oct 9, 2009 at 6:41 AM, Trevor  wrote:

>
> The final part of one of my tests creates an output file and compares
> against a reference file. The files are approx. 230Mb in size
> The test works OK, but when the outputs are different I get both files
> dumped into the console. As they are effectively binary files, this is
> of no use.
> Is there a way to prevent this "dump" occurring while still seeing the
> actual result of the test?
>
> This part of the test is basically:
>
>@expectedTS = File.read("C:/TSFiles/dvbsub_TC101.TS")
>@actualTS = File.read('C:/Reference/dvbsub_TC101.TS')
>
>verify_equal(@expectedTS, @actualTS)
>
> Thanks,
> Trevor
> >
>

--~--~-~--~~~---~--~~
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: Html Elements Supported by Watir

2009-10-09 Thread Bill Agee
Agreed, Željko's contributions are great - I've especially enjoyed the
podcasts. :)

Bill


On Thu, Oct 8, 2009 at 10:59 PM, Wesley Chen  wrote:

> Yes, Zeljko is really a nice, warm-heart person.
>
> Thanks.
> Wesley Chen.
> For life, the easier, the better.
>
> > BTW, I have a comment for others. I really think that Zeljko should be
> > thanked for all the work he does to keep the wiki up to date. Could
> > you please join me in thanking him?
> >
> > Bret
>
>



--~--~-~--~~~---~--~~
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: Console output when compare file fails

2009-10-09 Thread Trevor

Thanks Bill.
I'm sure I was having problems before (was quite a while ago) when
using file compare, which was why I was using the file read method.
Seems to work OK now, so no idea what I was doing before!

Thanks,
Trevor

On 9 Oct, 15:32, Bill Agee  wrote:
> I would try comparing the files, then asserting the resulting boolean value:
>
> assert(FileUtils.compare_file('C:\foo.txt', 'C:\bar.txt'))
>
> On Fri, Oct 9, 2009 at 6:41 AM, Trevor  wrote:
>
> > The final part of one of my tests creates an output file and compares
> > against a reference file. The files are approx. 230Mb in size
> > The test works OK, but when the outputs are different I get both files
> > dumped into the console. As they are effectively binary files, this is
> > of no use.
> > Is there a way to prevent this "dump" occurring while still seeing the
> > actual result of the test?
>
> > This part of the test is basically:
>
> >               �...@expectedts = File.read("C:/TSFiles/dvbsub_TC101.TS")
> >               �...@actualts = File.read('C:/Reference/dvbsub_TC101.TS')
>
> >                verify_equal(@expectedTS, @actualTS)
>
> > Thanks,
> > Trevor
--~--~-~--~~~---~--~~
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: Difference b/w Click_no_wait and .Click!

2009-10-09 Thread Charley Baker
The one major reason that click! would work and not click_no_wait is if
you've installed from the ruby one click installer 1.8.6.27 rc2. Try the
previous version 1.8.6.26.

-c

On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma wrote:

> Hi
>
> Can anyone here tell me what are the differences between Click! and
> click_no_wait for both watir and firewatir
>
>
> I have a scenario in which click_no_wait is failing but .click! is working?
>
> What could be the reason?
>
> Can i use safely .click! instead of click_no_wait even for pop ups??
>
>
> Thanks
>
> Pallavi.
>
> >
>

--~--~-~--~~~---~--~~
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: Wiki cleanup (was Watir 1.6.5.rc1 - release candidate available for testing)

2009-10-09 Thread Charley Baker
Sounds good to me.


Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://watir.com
QA Architect, Gap Inc Direct


On Fri, Oct 9, 2009 at 5:52 AM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Mon, Oct 5, 2009 at 9:37 PM, Charley Baker 
> wrote:
> > http://wiki.openqa.org/display/WTR/Development+Builds
>
> As Bret suggested in another thread to clean up the wiki, I suggest that
> this page should be cleaned up. I would delete everything under `Watir 1.6
> has been released.` (including that title). Also, I would delete it's child
> pages:
>
> http://wiki.openqa.org/display/WTR/Notes-1.5.1.1127
> http://wiki.openqa.org/display/WTR/Notes-1.5.1.1100
>
> Anybody thinks that would not be a good idea?
>
> Ž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] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Charley Baker
I'd thought about doing something like that. Unfortunately it's somewhat of
a moot point right now since github's gem creation isn't working since the
switch to rackspace. :) That's probably the way to go next time though.


Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct


On Fri, Oct 9, 2009 at 8:18 AM, aidy lewis wrote:

>
> Hi Charley
>
> 2009/10/5 Charley Baker : wrote:
>
> > http://wiki.openqa.org/display/WTR/Development+Builds
>
> Would it not be an idea to install the gem(s) directly from github?
>
> Aidy
>
> >
>

--~--~-~--~~~---~--~~
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: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Bret Pettichord

Another problem is that github only allowed one gem per project. We
currently have three.

On Oct 9, 10:33 am, Charley Baker  wrote:
> I'd thought about doing something like that. Unfortunately it's somewhat of
> a moot point right now since github's gem creation isn't working since the
> switch to rackspace. :) That's probably the way to go next time though.
>
> Charley Baker
> blog:http://blog.charleybaker.org/
> Lead Developer, Watir,http://wtr.rubyforge.org
> QA Architect, Gap Inc Direct
>
> On Fri, Oct 9, 2009 at 8:18 AM, aidy lewis wrote:
>
>
>
> > Hi Charley
>
> > 2009/10/5 Charley Baker : wrote:
>
> > >http://wiki.openqa.org/display/WTR/Development+Builds
>
> > Would it not be an idea to install the gem(s) directly from github?
>
> > Aidy
--~--~-~--~~~---~--~~
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: Wiki cleanup (was Watir 1.6.5.rc1 - release candidate available for testing)

2009-10-09 Thread Bret Pettichord

+1

On Oct 9, 6:52 am, Željko Filipin 
wrote:
> On Mon, Oct 5, 2009 at 9:37 PM, Charley Baker 
> wrote:
>
> >http://wiki.openqa.org/display/WTR/Development+Builds
>
> As Bret suggested in another thread to clean up the wiki, I suggest that
> this page should be cleaned up. I would delete everything under `Watir 1.6
> has been released.` (including that title). Also, I would delete it's child
> pages:
>
> http://wiki.openqa.org/display/WTR/Notes-1.5.1.1127http://wiki.openqa.org/display/WTR/Notes-1.5.1.1100
>
> Anybody thinks that would not be a good idea?
>
> Ž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] Re: watir:buttons returns only 1st button

2009-10-09 Thread Bret Pettichord

The watir button/buttons methods support both kinds of HTML buttons.
Or at least they have and they should.

On Oct 9, 8:38 am, SuperKevy  wrote:
> From the w3c schools
>
> Definition and Usage
> The  tag defines a push button.
>
> Inside a button element you can put content, like text or images. This
> is the difference between this element and buttons created with the
> input element.
>
> Always specify the type attribute for the button. The default type for
> Internet Explorer is "button", while in other browsers (and in the W3C
> specification) it is "submit
>
> Browser Support
>
> The  tag is supported in all major browsers.
>
> Important: If you use the button element in an HTML form, different
> browsers will submit different values. Internet Explorer will submit
> the text between the  and  tags, while other browsers
> will submit the content of the value attribute. Use the input element
> to create buttons in an HTML form.
>
> Good html code that compiles to a common standard makes a
> difference...
>
> On Oct 9, 4:16 am, kat  wrote:
>
> > Unfortunately, I cannot change html.
> > Also, this is a real bug. I've submitted it here: 
> > tohttp://jira.openqa.org/browse/WTR-326
>
> > On Oct 8, 11:25 pm, orde  wrote:
>
> > > Weird.  Looks like it's returning the text (i.e. "1st button") instead
> > > of the value ("first button").
>
> > > I'm not sure why you are getting unexpected results, but here are a
> > > couple of things that might help:
>
> > > *  tag isn't the same as  tag
> > > * your code below should work if all the buttons are  > > type="button">, like this:
>
> > >         
> > >         
> > >         
>
> > > Hope that helps.
>
> > > orde
>
> > > On Oct 7, 6:11 am, kat  wrote:
>
> > > > Watir:Buttons is supposed to return all buttons on a page.
> > > > With the next tested page
>
> > > > 
> > > >     some title
> > > >     
> > > >         
> > > >         1st button
> > > >         some text
> > > >         2nd button
> > > >         
> > > >     
> > > > 
>
> > > > using this script:
>
> > > > require 'watir'
> > > >  test_site = 'http://localhost/test.html'
> > > >  ie = Watir::IE.new
> > > >  ie.goto(test_site)
> > > >  ie.buttons.each do |a_button|
> > > >    puts a_button.value
> > > >  end
>
> > > > I get only "1st button" in output.
> > > > Do I do something wrong or this is a bug?- 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: watir:buttons returns only 1st button

2009-10-09 Thread Bret Pettichord

Thanks for the report. This is duplicate of WTR-175, which has been
open for some time. Would someone like to look into fixing it?
http://jira.openqa.org/browse/WTR-175

Bret

On Oct 9, 4:16 am, kat  wrote:
> Unfortunately, I cannot change html.
> Also, this is a real bug. I've submitted it here: 
> tohttp://jira.openqa.org/browse/WTR-326
>
> On Oct 8, 11:25 pm, orde  wrote:
>
> > Weird.  Looks like it's returning the text (i.e. "1st button") instead
> > of the value ("first button").
>
> > I'm not sure why you are getting unexpected results, but here are a
> > couple of things that might help:
>
> > *  tag isn't the same as  tag
> > * your code below should work if all the buttons are  > type="button">, like this:
>
> >         
> >         
> >         
>
> > Hope that helps.
>
> > orde
>
> > On Oct 7, 6:11 am, kat  wrote:
>
> > > Watir:Buttons is supposed to return all buttons on a page.
> > > With the next tested page
>
> > > 
> > >     some title
> > >     
> > >         
> > >         1st button
> > >         some text
> > >         2nd button
> > >         
> > >     
> > > 
>
> > > using this script:
>
> > > require 'watir'
> > >  test_site = 'http://localhost/test.html'
> > >  ie = Watir::IE.new
> > >  ie.goto(test_site)
> > >  ie.buttons.each do |a_button|
> > >    puts a_button.value
> > >  end
>
> > > I get only "1st button" in output.
> > > Do I do something wrong or this is a bug?
--~--~-~--~~~---~--~~
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: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Charley Baker
Good point. Also I spoke too soon. Github is no longer going to support gem
building - blog from yesterday:
http://github.com/blog/515-gem-building-is-defunct
The new solution is to use gemcutter and jeweler - gemcutter.org,
http://github.com/technicalpickles/jeweler

Interesting new development. Watir gems are currently up on gemcutter,
pulled from Rubyforge from 1.6.2. We'll have to take a look at setting this
up.

-Charley


On Fri, Oct 9, 2009 at 10:14 AM, Bret Pettichord wrote:

>
> Another problem is that github only allowed one gem per project. We
> currently have three.
>
> On Oct 9, 10:33 am, Charley Baker  wrote:
> > I'd thought about doing something like that. Unfortunately it's somewhat
> of
> > a moot point right now since github's gem creation isn't working since
> the
> > switch to rackspace. :) That's probably the way to go next time though.
> >
> > Charley Baker
> > blog:http://blog.charleybaker.org/
> > Lead Developer, Watir,http://wtr.rubyforge.org
> > QA Architect, Gap Inc Direct
> >
> > On Fri, Oct 9, 2009 at 8:18 AM, aidy lewis  >wrote:
> >
> >
> >
> > > Hi Charley
> >
> > > 2009/10/5 Charley Baker : wrote:
> >
> > > >http://wiki.openqa.org/display/WTR/Development+Builds
> >
> > > Would it not be an idea to install the gem(s) directly from github?
> >
> > > Aidy
> >
>

--~--~-~--~~~---~--~~
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] Programatically Changing Proxy Settings

2009-10-09 Thread Jeff Savin

Hi,

Other than using AutoIt to send keystrokes to the browser or changing
the registry (requiring an IE restart) is there a more slick way of
changing IE proxy settings on the fly??

Any help would be appreciated.

Thanks,
Jeff

--~--~-~--~~~---~--~~
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: ie.goto never returns. Page never loads.

2009-10-09 Thread SuperKevy

This code snip says it takes about 36 seconds for download complete

require 'watir' # use watir gem
 test_site = 'http://www.igindex.co.uk' # set a variable
 ie = Watir::Browser.new  # open the IE browser
 ie.goto(test_site)   # load url, go to site
 ie.maximize()
 sleep(2)
 ie.bring_to_front()
 puts ie.down_load_time.to_s

I assume you dont care if its complete, just that some object is
visible or exists?


On Oct 6, 12:01 pm, llemirtrauts  wrote:
> Hi,
>
> I'm pretty new to Watir and I'm having an intermittent problem with
> scripts hanging when a web page doesn't fully load.
>
> I'm trying to run:-
>
> Watir::IE.start("http://www.igindex.co.uk";)
>
> This sometimes works but sometimes the the start method doesn't return
> and the script simply hangs indefinitely so the rest of the script
> doesn't run.
>
> The issue with the website in question is probably due to the fact
> that it maintains a permanent http connection to stream data. This may
> be causing Watir to think the page hasn't fully loaded.
>
> Is there any way to force a Watir script to continue running before it
> thinks the page has fully loaded?
>
> thanks,
> Stuart
--~--~-~--~~~---~--~~
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: Programatically Changing Proxy Settings

2009-10-09 Thread Nathan Lane
What version of IE and Windows are you using. There are various techniques,
but most are browser version and Windows version dependent.

On Fri, Oct 9, 2009 at 12:22 PM, Jeff Savin  wrote:

>
> Hi,
>
> Other than using AutoIt to send keystrokes to the browser or changing
> the registry (requiring an IE restart) is there a more slick way of
> changing IE proxy settings on the fly??
>
> Any help would be appreciated.
>
> Thanks,
> Jeff
>
> >
>


-- 
Nathan Lane
Blog, http://blog.nathandelane.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] Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Charley Baker
Hi all,

   There's been a lack of feedback on this release candidate. I'm hoping
some of you had the chance to test it out. If not, please take some time if
you will to run through some of your tests with this build, there have been
quite a few fixes and we could use some eyes to check for compatibility
issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE,
Windows 7, and more. We need to do a bit of cleanup on the wiki and site to
update to the latest version number, and there are some last minute
potential fixes coming in, however

I would like to finalize and release the official 1.6.5 version next week
unless we see some additional issues that need to be addressed.

Even information like it worked for me with platform X/browser Y with no
problems would be great. :) Thanks for your help.

Link to the rc1 version:
http://wiki.openqa.org/display/WTR/Development+Builds

Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://watir.com
QA Architect, Gap Inc Direct

--~--~-~--~~~---~--~~
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: ie.goto never returns. Page never loads.

2009-10-09 Thread SuperKevy

The site downloads a virus, that looks like Microsoft defender.
This violates Microsoft copyright laws


On Oct 6, 12:01 pm, llemirtrauts  wrote:
> Hi,
>
> I'm pretty new to Watir and I'm having an intermittent problem with
> scripts hanging when a web page doesn't fully load.
>
> I'm trying to run:-
>
> Watir::IE.start("http://www.igindex.co.uk";)
>
> This sometimes works but sometimes the the start method doesn't return
> and the script simply hangs indefinitely so the rest of the script
> doesn't run.
>
> The issue with the website in question is probably due to the fact
> that it maintains a permanent http connection to stream data. This may
> be causing Watir to think the page hasn't fully loaded.
>
> Is there any way to force a Watir script to continue running before it
> thinks the page has fully loaded?
>
> thanks,
> Stuart
--~--~-~--~~~---~--~~
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: Programatically Changing Proxy Settings

2009-10-09 Thread Jeff Savin

Lets just say Windows XP and IE 6 or 7.

On Oct 9, 12:42 pm, Nathan Lane  wrote:
> What version of IE and Windows are you using. There are various techniques,
> but most are browser version and Windows version dependent.
>
> On Fri, Oct 9, 2009 at 12:22 PM, Jeff Savin  wrote:
>
> > Hi,
>
> > Other than using AutoIt to send keystrokes to the browser or changing
> > the registry (requiring an IE restart) is there a more slick way of
> > changing IE proxy settings on the fly??
>
> > Any help would be appreciated.
>
> > Thanks,
> > Jeff
>
> --
> Nathan Lane
> Blog,http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
I'm usually not very bad at figuring things out, but after I install the
gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I
get the error that watir/ie does not exist.

On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker wrote:

> Hi all,
>
>There's been a lack of feedback on this release candidate. I'm hoping
> some of you had the chance to test it out. If not, please take some time if
> you will to run through some of your tests with this build, there have been
> quite a few fixes and we could use some eyes to check for compatibility
> issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE,
> Windows 7, and more. We need to do a bit of cleanup on the wiki and site to
> update to the latest version number, and there are some last minute
> potential fixes coming in, however
>
> I would like to finalize and release the official 1.6.5 version next week
> unless we see some additional issues that need to be addressed.
>
> Even information like it worked for me with platform X/browser Y with no
> problems would be great. :) Thanks for your help.
>
> Link to the rc1 version:
> http://wiki.openqa.org/display/WTR/Development+Builds
>
> Charley Baker
> blog: http://blog.charleybaker.org/
> Lead Developer, Watir, http://watir.com
> QA Architect, Gap Inc Direct
>
> >
>


-- 
Nathan Lane
Blog, http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread orde

I also experienced the same problem using WinXP SP3 + IE8.x

Followed install instructions and tried to check watir version (i.e.
ruby -e 'require "watir"; puts Watir::IE::VERSION' on command line):

-e:1: no such file to load -- watir/ie (LoadError)


On Oct 9, 1:21 pm, Nathan Lane  wrote:
> I'm usually not very bad at figuring things out, but after I install the
> gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I
> get the error that watir/ie does not exist.
>
> On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker wrote:
>
>
>
> > Hi all,
>
> >    There's been a lack of feedback on this release candidate. I'm hoping
> > some of you had the chance to test it out. If not, please take some time if
> > you will to run through some of your tests with this build, there have been
> > quite a few fixes and we could use some eyes to check for compatibility
> > issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE,
> > Windows 7, and more. We need to do a bit of cleanup on the wiki and site to
> > update to the latest version number, and there are some last minute
> > potential fixes coming in, however
>
> > I would like to finalize and release the official 1.6.5 version next week
> > unless we see some additional issues that need to be addressed.
>
> > Even information like it worked for me with platform X/browser Y with no
> > problems would be great. :) Thanks for your help.
>
> > Link to the rc1 version:
> >http://wiki.openqa.org/display/WTR/Development+Builds
>
> > Charley Baker
> > blog:http://blog.charleybaker.org/
> > Lead Developer, Watir,http://watir.com
> > QA Architect, Gap Inc Direct
>
> --
> Nathan Lane
> Blog,http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Charley Baker
Well, that's certainly a problem. :) Is that just through irb or where is it
happening? Also if there's any chance you can jump on irc, might make
troubleshooting easier than email.

http://wiki.openqa.org/display/WTR/The+IRC+Channel


Charley Baker
blog: http://blog.charleybaker.org/
Lead Developer, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct


On Fri, Oct 9, 2009 at 2:21 PM, Nathan Lane  wrote:

> I'm usually not very bad at figuring things out, but after I install the
> gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I
> get the error that watir/ie does not exist.
>
>
> On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker wrote:
>
>> Hi all,
>>
>>There's been a lack of feedback on this release candidate. I'm hoping
>> some of you had the chance to test it out. If not, please take some time if
>> you will to run through some of your tests with this build, there have been
>> quite a few fixes and we could use some eyes to check for compatibility
>> issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE,
>> Windows 7, and more. We need to do a bit of cleanup on the wiki and site to
>> update to the latest version number, and there are some last minute
>> potential fixes coming in, however
>>
>> I would like to finalize and release the official 1.6.5 version next week
>> unless we see some additional issues that need to be addressed.
>>
>> Even information like it worked for me with platform X/browser Y with no
>> problems would be great. :) Thanks for your help.
>>
>> Link to the rc1 version:
>> http://wiki.openqa.org/display/WTR/Development+Builds
>>
>> Charley Baker
>> blog: http://blog.charleybaker.org/
>> Lead Developer, Watir, http://watir.com
>> QA Architect, Gap Inc Direct
>>
>>
>>
>
>
> --
> Nathan Lane
> Blog, http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane 
wrote:
> I get the error that watir/ie does not exist.

Same here. Windows 2003 Server with IE6. I thought it was something on my
side since nobody reported anything so I reinstalled Ruby, but I did not
have the time to try after that.

Ž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] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
I was using IRB, haven't tried scripting it out.

Further environmental information: I downloaded the 1.6.5 RC 1 watir,
commonwatir, and firewatir gems, and installed them from a local directory
next to the 1.6.2 gems. I know that by default Ruby uses the latest version
of the gems when using the simple require syntax without rubygems and
version specific information. ie.rb DOES exist in the watir directory of the
RC gem.

Also, I just tried cleaning up and uninstalling 1.6.2 and then reinstalling
it, then reinstalling 1.6.5 RC 1 and now it seems to be working. However the
syntax:

Watir::IE::Version

produces the error:

NameError: uninitialized constant Watir::IE::Version

Also I'm not sure that such syntax is valid from looking at version.rb, but
it seems correct (this is from 1.6.5 RC 1):

module Watir
  class IE
VERSION = '1.6.5.rc1'
  end
end

On that note, I have no idea what caused the problem in the first place,
because I don't know what I did differently.

On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane 
> wrote:
> > I get the error that watir/ie does not exist.
>
> Same here. Windows 2003 Server with IE6. I thought it was something on my
> side since nobody reported anything so I reinstalled Ruby, but I did not
> have the time to try after that.
>
> Željko
> --
> http://watirpodcast.com/
>
>
>
> >
>


-- 
Nathan Lane
Blog, http://blog.nathandelane.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] Re: Wiki cleanup (was Watir 1.6.5.rc1 - release candidate available for testing)

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 1:52 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:
> this page should be cleaned up. I would delete everything under `Watir 1.6
has been released`. Also, I would delete it's child pages:

Done. The page also had 40 attachments (old development builds). I deleted
them all except the current ones.

Ž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: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces
the desired results.

On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane  wrote:

> I was using IRB, haven't tried scripting it out.
>
> Further environmental information: I downloaded the 1.6.5 RC 1 watir,
> commonwatir, and firewatir gems, and installed them from a local directory
> next to the 1.6.2 gems. I know that by default Ruby uses the latest version
> of the gems when using the simple require syntax without rubygems and
> version specific information. ie.rb DOES exist in the watir directory of the
> RC gem.
>
> Also, I just tried cleaning up and uninstalling 1.6.2 and then reinstalling
> it, then reinstalling 1.6.5 RC 1 and now it seems to be working. However the
> syntax:
>
> Watir::IE::Version
>
> produces the error:
>
> NameError: uninitialized constant Watir::IE::Version
>
> Also I'm not sure that such syntax is valid from looking at version.rb, but
> it seems correct (this is from 1.6.5 RC 1):
>
> module Watir
>   class IE
> VERSION = '1.6.5.rc1'
>   end
> end
>
> On that note, I have no idea what caused the problem in the first place,
> because I don't know what I did differently.
>
>
> On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane 
>> wrote:
>> > I get the error that watir/ie does not exist.
>>
>> Same here. Windows 2003 Server with IE6. I thought it was something on my
>> side since nobody reported anything so I reinstalled Ruby, but I did not
>> have the time to try after that.
>>
>> Željko
>> --
>> http://watirpodcast.com/
>>
>>
>>
>> >>
>>
>
>
> --
> Nathan Lane
> Blog, http://blog.nathandelane.com
>



-- 
Nathan Lane
Blog, http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 4:04 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:
> `gem update --system` took something like an hour after a clean Ruby
1.8.6-26 install

"gem update --system --no-rdoc --no-ri" took a long time too, but probably
only 1/3 or 1/2 of full install, I did not measure. Should we recommend
that? I never use rdoc or ri, but I do not know if other people use 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: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Charley Baker
Which version of rubygems for all of you?

gem -v from the command prompt

-c
On Fri, Oct 9, 2009 at 3:15 PM, Nathan Lane  wrote:

> Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces
> the desired results.
>
>
> On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane wrote:
>
>> I was using IRB, haven't tried scripting it out.
>>
>> Further environmental information: I downloaded the 1.6.5 RC 1 watir,
>> commonwatir, and firewatir gems, and installed them from a local directory
>> next to the 1.6.2 gems. I know that by default Ruby uses the latest version
>> of the gems when using the simple require syntax without rubygems and
>> version specific information. ie.rb DOES exist in the watir directory of the
>> RC gem.
>>
>> Also, I just tried cleaning up and uninstalling 1.6.2 and then
>> reinstalling it, then reinstalling 1.6.5 RC 1 and now it seems to be
>> working. However the syntax:
>>
>> Watir::IE::Version
>>
>> produces the error:
>>
>> NameError: uninitialized constant Watir::IE::Version
>>
>> Also I'm not sure that such syntax is valid from looking at version.rb,
>> but it seems correct (this is from 1.6.5 RC 1):
>>
>> module Watir
>>   class IE
>> VERSION = '1.6.5.rc1'
>>   end
>> end
>>
>> On that note, I have no idea what caused the problem in the first place,
>> because I don't know what I did differently.
>>
>>
>> On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin <
>> zeljko.fili...@wa-research.ch> wrote:
>>
>>> On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane 
>>> wrote:
>>> > I get the error that watir/ie does not exist.
>>>
>>> Same here. Windows 2003 Server with IE6. I thought it was something on my
>>> side since nobody reported anything so I reinstalled Ruby, but I did not
>>> have the time to try after that.
>>>
>>> Željko
>>> --
>>> http://watirpodcast.com/
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Nathan Lane
>> Blog, http://blog.nathandelane.com
>>
>
>
>
> --
> Nathan Lane
> Blog, http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
1.3.5

On Fri, Oct 9, 2009 at 4:04 PM, Charley Baker wrote:

> Which version of rubygems for all of you?
>
> gem -v from the command prompt
>
> -c
> On Fri, Oct 9, 2009 at 3:15 PM, Nathan Lane wrote:
>
>> Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces
>> the desired results.
>>
>>
>> On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane wrote:
>>
>>> I was using IRB, haven't tried scripting it out.
>>>
>>> Further environmental information: I downloaded the 1.6.5 RC 1 watir,
>>> commonwatir, and firewatir gems, and installed them from a local directory
>>> next to the 1.6.2 gems. I know that by default Ruby uses the latest version
>>> of the gems when using the simple require syntax without rubygems and
>>> version specific information. ie.rb DOES exist in the watir directory of the
>>> RC gem.
>>>
>>> Also, I just tried cleaning up and uninstalling 1.6.2 and then
>>> reinstalling it, then reinstalling 1.6.5 RC 1 and now it seems to be
>>> working. However the syntax:
>>>
>>> Watir::IE::Version
>>>
>>> produces the error:
>>>
>>> NameError: uninitialized constant Watir::IE::Version
>>>
>>> Also I'm not sure that such syntax is valid from looking at version.rb,
>>> but it seems correct (this is from 1.6.5 RC 1):
>>>
>>> module Watir
>>>   class IE
>>> VERSION = '1.6.5.rc1'
>>>   end
>>> end
>>>
>>> On that note, I have no idea what caused the problem in the first place,
>>> because I don't know what I did differently.
>>>
>>>
>>> On Fri, Oct 9, 2009 at 2:59 PM, Željko Filipin <
>>> zeljko.fili...@wa-research.ch> wrote:
>>>
 On Fri, Oct 9, 2009 at 10:21 PM, Nathan Lane 
 wrote:
 > I get the error that watir/ie does not exist.

 Same here. Windows 2003 Server with IE6. I thought it was something on
 my side since nobody reported anything so I reinstalled Ruby, but I did not
 have the time to try after that.

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





>>>
>>>
>>> --
>>> Nathan Lane
>>> Blog, http://blog.nathandelane.com
>>>
>>
>>
>>
>> --
>> Nathan Lane
>> Blog, http://blog.nathandelane.com
>>
>>
>>
>
> >
>


-- 
Nathan Lane
Blog, http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Charley Baker
Wow, it didn't take very long for me, 5mins tops. Not sure why it took so
long. I generally go no ri, no rdoc as well, nice tip if you're not using
it, some people do.

-c

On Fri, Oct 9, 2009 at 3:21 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Fri, Oct 9, 2009 at 4:04 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
> > `gem update --system` took something like an hour after a clean Ruby
> 1.8.6-26 install
>
> "gem update --system --no-rdoc --no-ri" took a long time too, but probably
> only 1/3 or 1/2 of full install, I did not measure. Should we recommend
> that? I never use rdoc or ri, but I do not know if other people use 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: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Željko Filipin
On Sat, Oct 10, 2009 at 12:06 AM, Nathan Lane 
wrote:
> 1.3.5

Same here.

Ž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: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Željko Filipin
On Sat, Oct 10, 2009 at 12:07 AM, Charley Baker 
wrote:
> Wow, it didn't take very long for me, 5mins tops.

My example was after a clean Ruby install. I guess it does not take so long
if you have never version of rubygems.

Ž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: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Bret Pettichord

I am wondering if maybe commonwatir is installed, but not watir? That
would be consistent with these symptoms.

bret

On Oct 9, 3:48 pm, orde  wrote:
> I also experienced the same problem using WinXP SP3 + IE8.x
>
> Followed install instructions and tried to check watir version (i.e.
> ruby -e 'require "watir"; puts Watir::IE::VERSION' on command line):
>
> -e:1: no such file to load -- watir/ie (LoadError)
>
> On Oct 9, 1:21 pm, Nathan Lane  wrote:
>
> > I'm usually not very bad at figuring things out, but after I install the
> > gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I
> > get the error that watir/ie does not exist.
>
> > On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker 
> > wrote:
>
> > > Hi all,
>
> > >    There's been a lack of feedback on this release candidate. I'm hoping
> > > some of you had the chance to test it out. If not, please take some time 
> > > if
> > > you will to run through some of your tests with this build, there have 
> > > been
> > > quite a few fixes and we could use some eyes to check for compatibility
> > > issues particularly with Firewatir/Linux/Mac OS X, varying versions of IE,
> > > Windows 7, and more. We need to do a bit of cleanup on the wiki and site 
> > > to
> > > update to the latest version number, and there are some last minute
> > > potential fixes coming in, however
>
> > > I would like to finalize and release the official 1.6.5 version next week
> > > unless we see some additional issues that need to be addressed.
>
> > > Even information like it worked for me with platform X/browser Y with no
> > > problems would be great. :) Thanks for your help.
>
> > > Link to the rc1 version:
> > >http://wiki.openqa.org/display/WTR/Development+Builds
>
> > > Charley Baker
> > > blog:http://blog.charleybaker.org/
> > > Lead Developer, Watir,http://watir.com
> > > QA Architect, Gap Inc Direct
>
> > --
> > Nathan Lane
> > Blog,http://blog.nathandelane.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] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Bret Pettichord

I wonder if this is because the gem server is in the united states.

bret

On Oct 9, 5:10 pm, Željko Filipin 
wrote:
> On Sat, Oct 10, 2009 at 12:07 AM, Charley Baker 
> wrote:
>
> > Wow, it didn't take very long for me, 5mins tops.
>
> My example was after a clean Ruby install. I guess it does not take so long
> if you have never version of rubygems.
>
> Ž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: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Bret Pettichord

Interesting.

Charley Baker wrote:
> Good point. Also I spoke too soon. Github is no longer going to 
> support gem building - blog from yesterday: 
> http://github.com/blog/515-gem-building-is-defunct
> The new solution is to use gemcutter and jeweler - gemcutter.org 
> , http://github.com/technicalpickles/jeweler
>
> Interesting new development. Watir gems are currently up on gemcutter, 
> pulled from Rubyforge from 1.6.2. We'll have to take a look at setting 
> this up.
>
> -Charley
>
>
> On Fri, Oct 9, 2009 at 10:14 AM, Bret Pettichord 
> mailto:bpettich...@gmail.com>> wrote:
>
>
> Another problem is that github only allowed one gem per project. We
> currently have three.
>
> On Oct 9, 10:33 am, Charley Baker  > wrote:
> > I'd thought about doing something like that. Unfortunately it's
> somewhat of
> > a moot point right now since github's gem creation isn't working
> since the
> > switch to rackspace. :) That's probably the way to go next time
> though.
> >
> > Charley Baker
> > blog:http://blog.charleybaker.org/
> > Lead Developer, Watir,http://wtr.rubyforge.org
> > QA Architect, Gap Inc Direct
> >
> > On Fri, Oct 9, 2009 at 8:18 AM, aidy lewis
> mailto:aidy.le...@googlemail.com>>wrote:
> >
> >
> >
> > > Hi Charley
> >
> > > 2009/10/5 Charley Baker  >: wrote:
> >
> > > >http://wiki.openqa.org/display/WTR/Development+Builds
> >
> > > Would it not be an idea to install the gem(s) directly from
> github?
> >
> > > Aidy
>
>
>
> >


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
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: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread Bret Pettichord

You can also find it here:
http://lmgtfy.com/?q=dave+hoover+safariwatir+cucumber+video

Željko Filipin wrote:
> On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong  > wrote:
> > Where can we get the video?
>
> http://www.vimeo.com/2871256
>
> Found it with Google:
>
> http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber
>
> Željko
>
> >


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


--~--~-~--~~~---~--~~
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] Click event not working in IE 7

2009-10-09 Thread Prince3105

Hi Experts,


I am using below package.

Watir version - 1.6.2
Ruby version - 1.8.6

Recently i updated IE from 6 to 7. My scripts worked as expected in 6.
The same script is not working in IE 7 especially click events.

It hangs often and if i click the application or somewhere else in the
monitor  like task bar by manually it will work good, otherwise it
will wait for a manual click event for ever.

So Guys please tell me its a known issue in IE 7 ? any patches are
available? if yes please post your valuable reply.


Thanks,
Prince3105.
--~--~-~--~~~---~--~~
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: Capturing Java Script Errors

2009-10-09 Thread Bret Pettichord

I would also be interested in a solution to this. Especially if it were 
more elegant to Jarmo's solution. I'd really like to be able to pull the 
text of the javascript error so i could post it to a log. Any one?

Bret

Jarmo Pertman wrote:
> Hello.
>
> We used AutoIt for opening the javascript error message window, then
> make a screenshot of the error message itself and close the window,
> not that IE js error messages would be useful on most of the times.
> This is a little dirty hack, but it works for us sort of.
>
> Jarmo
>
> On Oct 9, 6:15 am, dt_nz  wrote:
>   
>> Hi
>> I was hoping someone could point me in the right direction to get some
>> help capturing java script errors.  We have a rather large number of
>> tests that are executed during our regression run, and there can be a
>> significant amount of page reloads etc that sometimes cause java
>> script errors.  In the past we have simply turned java scripts off
>> from popping up so our tests continue without stopping, and relied on
>> manual testing to pick the errors up.
>>
>> Any help would be appreciated
>> 
> >
>   


-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com
Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord


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