[Wtr-general] Finding out the order of input elements?

2006-03-14 Thread Pekka Määttä
Anyone? I got the idea of sending tab key presses to ie and checking where the focus is, but it's kinda hacky.. -PM >Message: 3 >Date: Tue, 07 Mar 2006 10:32:46 +0200 >From: Pekka M??tt? <[EMAIL PROTECTED]> >Subject: [Wtr-general] Finding out the order of input elements? >To: wtr-general@rubyfo

Re: [Wtr-general] FireWatir release alpha v1.0

2006-03-14 Thread Angrez Singh
Hi Zeljko,You are not doing anything wrong here. The current version for Firefox is in sync with what is available on the tar ball. So the 'watir.rb' in Firefox extension is refactored version of 'watir.rb' file that is available on the HEAD. So I think that is the source of error. So, what you sho

Re: [Wtr-general] FireWatir release alpha v1.0

2006-03-14 Thread Angrez Singh
Hi,Unlike firefox extensions, this xpi package doesn't open up as file dialog for me. On trying to install as xpi(.zip) file, it just opens up the file contents and starts displaying the binary data... I don't think the problem is at my end as i am perfectly able to install and use other .xpi exten

Re: [Wtr-general] Moving to OpenQA.org

2006-03-14 Thread Sergio Pinon
Yeah I will look into them and see what I come up with.   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord Sent: Tuesday, March 14, 2006 3:57 PM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Moving to OpenQA.org   On 3/12/06, Sergio Pi

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Bret Pettichord
This is indeed a bug. Watir should automatically be triggering an onblur event when doing a select. It does similar things for other controls. Please add this to Jira, so we can be sure to fix it.Bret On 3/14/06, Chris McMahon <[EMAIL PROTECTED]> wrote: > The developer put an 'OnBlur' event behind

Re: [Wtr-general] Moving to OpenQA.org

2006-03-14 Thread Bret Pettichord
On 3/12/06, Sergio Pinon <[EMAIL PROTECTED]> wrote: I don't know. What do you need help with?There are lots of known bugs mentioned in this email list, some of which have fixes. A lot of the traffic here is discussing them. ("Is this a known bug?") It would be a big help if you could search through

Re: [Wtr-general] Watir-Examples

2006-03-14 Thread Bret Pettichord
On 3/14/06, Paul Carvalho <[EMAIL PROTECTED]> wrote: (2) google_maps.rb:- I found that the text input field has been renamed on the Google page since the script was first created.- Use SpySmith to find out the identifiers for the text input field.  Change the text input box reference in the script

Re: [Wtr-general] Watir-Examples

2006-03-14 Thread Bret Pettichord
On 3/14/06, Paul Carvalho <[EMAIL PROTECTED]> wrote: I *need* that feature working for one of my script suites to work correctly, so I'm still using 1.4.1 right now.  I can't wait to get my hands on some of the feature improvements in the latest build, but I just can't work around the frame().html

Re: [Wtr-general] Accessing HTML Source

2006-03-14 Thread Kalen Howell
Very good! I now have renewed hope! Thanks for your help, I will let you know what happens. Kalen On 3/14/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote: > Yes, I thing that is causing your problem. It is a Watir bug, I thinkit is > already reported/fixed, but I am not shure. You can search bugd

Re: [Wtr-general] Fwd: Accessing HTML Source

2006-03-14 Thread Bret Pettichord
This is indeed a bug that has been fixed since 1.4.1.On 3/14/06, Zeljko Filipin <[EMAIL PROTECTED] > wrote:Yes, I thing that is causing your problem. It is a Watir bug, I thinkit is already reported/fixed, but I am not shure. You can search bugdatabase or this mailing list to be shure. Workaround f

Re: [Wtr-general] WindowLogonExample.rb - should it work for me?

2006-03-14 Thread Bret Pettichord
Bill's analysis and recommendation is correct. This is problem is fixed in HEAD.BretOn 3/13/06, Bill Agee < [EMAIL PROTECTED]> wrote:That particular unit test works fine for me on XP Pro SP2, however I installed Watir using the win32 .exe installer.  From the look ofthings you installed with the .g

Re: [Wtr-general] Watir installation broken?

2006-03-14 Thread Bret Pettichord
I've run into the same problem myself. There is some kind of memory leak in Watir.A better workaround is simply to kill the IEXPLORE.EXE process that is running.I've had a heck of a time tracking this bug down. Can you tell me if you use any attach methods or winclickers or anything like that? That

Re: [Wtr-general] Problem enumerating forms

2006-03-14 Thread Bret Pettichord
I was able to reproduce another instance of this problem and recently committed the fix to SVN.I think the problem only occurs when you don't need to use the form syntax because there is only one form on the page. BretOn 3/14/06, Marcus Tettmar <[EMAIL PROTECTED]> wrote: Hi Bret,I'm running Watir 1

Re: [Wtr-general] "Download tarball" at svn.openqa.org

2006-03-14 Thread Bret Pettichord
I would like us to start posting development releases. This "download the tarball" idea is getting more and more troublesome. I updated the rakefile over the weekend to make it easier for us to create gems and the one-click installer. BretOn 3/14/06, Charley Baker <[EMAIL PROTECTED]> wrote: Use a s

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Chris McMahon
> The developer put an 'OnBlur' event behind the selecting from the > troublesome dropdown, which would populate a form variable with the value of > the selection. That event was not happening in my script (not sure how > Watir does it but you actually have to give the select list focus in order >

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Cain, Mark
Ok I have figured out what the trouble is...   The developer put an 'OnBlur' event behind the selecting from the troublesome dropdown, which would populate a form variable with the value of the selection.  That event was not happening in my script (not sure how Watir does it but you actua

Re: [Wtr-general] "Download tarball" at svn.openqa.org

2006-03-14 Thread Charley Baker
Use a subversion client: http://subversion.tigris.org/project_packages.html. There are installers and docs including a Windows based explorer client, easy to use and do a checkout on the head revision of Watir. -Charley On 3/14/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote: Is there something like "

Re: [Wtr-general] Fwd: Accessing HTML Source

2006-03-14 Thread Zeljko Filipin
Yes, I thing that is causing your problem. It is a Watir bug, I thinkit is already reported/fixed, but I am not shure. You can search bugdatabase or this mailing list to be shure. Workaround for now is to ask your developer to put in body. On 3/14/06, Kalen Howell <[EMAIL PROTECTED]> wrote:> Cou

Re: [Wtr-general] Fwd: Accessing HTML Source

2006-03-14 Thread Kalen Howell
It does appear to be in a heading here is the source from the top (see comment ; is where the data is):   Could it be that the text is in the header that is causing my problem? Product Page Title  
 var isValid = false;
 var browser = navigator.appName;
 var version = 0;
 if (bro

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread jkohl
Is there a javascript function that resets the select box by any chance? Quoting "Cain, Mark" <[EMAIL PROTECTED]>: > yes > > --Mark > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, March 14, 2006 11:01 AM > To

Re: [Wtr-general] Fwd: Accessing HTML Source

2006-03-14 Thread Chris McMahon
works for me too, vs a Twiki page. Maybe your comments are in a frame? Just guessing... -Chris On 3/14/06, Zeljko Filipin <[EMAIL PROTECTED]> wrote: > It works for me. > > irb(main):004:0> ie.html=> "\r\n" > On 3/14/06, Kalen Howell <[EMAIL PROTECTED]> wrote:> ie.html doesn't seem to > pull any

Re: [Wtr-general] Fwd: Accessing HTML Source

2006-03-14 Thread Zeljko Filipin
It works for me. irb(main):004:0> ie.html=> "\r\n" On 3/14/06, Kalen Howell <[EMAIL PROTECTED]> wrote:> ie.html doesn't seem to pull any comments or markup with it. The information> I need is posted in a comment e.g. ___ Wtr-general mailing list Wtr-g

[Wtr-general] Fwd: Accessing HTML Source

2006-03-14 Thread Kalen Howell
ie.html doesn't seem to pull any comments or markup with it. The information I need is posted in a comment e.g. -- Forwarded message --From: Zeljko Filipin <[EMAIL PROTECTED]>Date: Mar 14, 2006 2:45 PMSubject: Re: [Wtr-general] Accessing HTML SourceTo: wtr-general@rubyforge.orgie.

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Cain, Mark
>>"Watir revision 934" Is the latest Watir from trunk . >>“$ie.selectBox( :name, "myProjectID2").select("MARK-TEST")  # I took out the Span tag - it seems unnecessary” Sometimes it can’t find the object without the span tag, and sometime it does.   >>“$ie.radio( :id, '72').set #

Re: [Wtr-general] Accessing HTML Source

2006-03-14 Thread Zeljko Filipin
ie.html will give you source of page. On 3/14/06, Kalen Howell <[EMAIL PROTECTED]> wrote:>> Greetings All:>> I am wondering is there any way at all to programmatically (using Watir and> Ruby) access the HTML Source (manually done by selecting View Source in IE)?>> A developer has embeded some in

[Wtr-general] Accessing HTML Source

2006-03-14 Thread Kalen Howell
Greetings All:   I am wondering is there any way at all to programmatically (using Watir and Ruby) access the HTML Source (manually done by selecting View Source in IE)?   A developer has embeded some information in the page source as an HTML comment for me to retrieve and use at runtime during the

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Paul Carvalho
Hi Mark, I don't know what "Watir revision 934" is.  I'm using 1.4.1 and I don't _seem_ to have a problem with the script.I did modify some of the lines, but perhaps the problem has something to do with the actual Search feature?  Here are the lines I modified:   $ie.selectBox( :name, "myProjec

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread jkohl
Is there any JavaScript on that page? Thanks; -Jonathan Quoting "Cain, Mark" <[EMAIL PROTECTED]>: > I am running into issue where during a test. I select a value from > select box (1) and based on that value a span tag is shown with another > select box (2) and I make a selection from that sel

Re: [Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Cain, Mark
yes --Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:01 AM To: wtr-general@rubyforge.org Subject: Re: [Wtr-general] Watir is resetting one of my selectBox selections. Is there any JavaScript on tha

[Wtr-general] Watir is resetting one of my selectBox selections.

2006-03-14 Thread Cain, Mark
I am running into issue where during a test.  I select a value from select box (1) and based on that value a span tag is shown with another select box (2) and I make a selection from that select box (2).  A little further down in my script I do a search for a checklist and when the page ref

Re: [Wtr-general] FireWatir release alpha v1.0

2006-03-14 Thread Zeljko Filipin
I have windows xp sp2, ruby 1.8.4, watir 1.4.1 (gem install), Firefox/1.5.0.1. >From Installation guide for FireWatir (Installation Guide.doc): 3. Take backup of following files inside "[ruby installationdirectory]/lib/ruby/site_ruby/1.8" folder, just to make sure you don'tmess up with earli

Re: [Wtr-general] FireWatir release alpha v1.0

2006-03-14 Thread saud aziz
Unlike firefox extensions, this xpi package doesn't open up as file dialog for me. On trying to install as xpi(.zip) file, it just opens up the file contents and starts displaying the binary data... I don't think the problem is at my end as i am perfectly able to install and use other .xpi extensio

Re: [Wtr-general] Watir-Examples

2006-03-14 Thread Chris McMahon
On 3/14/06, Paul Carvalho <[EMAIL PROTECTED]> wrote: > On 14/03/06, Chris McMahon <[EMAIL PROTECTED]> wrote: > > > (2) google_maps.rb: > > > - I found that the text input field has been renamed on the Google page > > > since the script was first created. > > > > I've known this was broken for awhil

[Wtr-general] "Download tarball" at svn.openqa.org

2006-03-14 Thread Zeljko Filipin
Is there something like "Download tarball" link at svn.openqa.org. Athttp://rubyforge.org/cgi-bin/viewcvs.cgi/?root=wtr I used it todownload all files from HEAD. I want to download firefox folder fromhttp://svn.openqa.org/fisheye/viewrep/watir/branches/firefox. Do Ihave to download file by file

Re: [Wtr-general] Watir-Examples

2006-03-14 Thread Paul Carvalho
On 14/03/06, Chris McMahon <[EMAIL PROTECTED]> wrote: > (2) google_maps.rb:> - I found that the text input field has been renamed on the Google page> since the script was first created.I've known this was broken for awhile, but haven't checked in a fix. Mea culpa, y'all.Don't beat yourself up over

Re: [Wtr-general] Watir-Examples

2006-03-14 Thread Chris McMahon
> (2) google_maps.rb: > - I found that the text input field has been renamed on the Google page > since the script was first created. I've known this was broken for awhile, but haven't checked in a fix. Mea culpa, y'all. -Chris ___ Wtr-general mailing

Re: [Wtr-general] Watir-Examples

2006-03-14 Thread Paul Carvalho
On 14/03/06, Tanushree Bhoi <[EMAIL PROTECTED]> wrote: Hi, I am newly joined to this group.I am exploring about watir and ruby. I tried running the examples given with the Watir example folder but some scripts(google_maps.rb,mouse_over.rb,yahoocheck_test.rb) are giving errors.Please help. Hello Ta

Re: [Wtr-general] Problem enumerating forms

2006-03-14 Thread Paul Carvalho
I opened up a command prompt and typed in "irb".  I then typed in your lines below one at a time.Your "goto" line has an extra space at the beginning of the line.  That is, please remove the space after the quote in: " http://www.google.com/"The rest of the lines worked as expected for me when I r

Re: [Wtr-general] Problem enumerating forms

2006-03-14 Thread Marcus Tettmar
Hi Bret,I'm running Watir 1.4.1.  This is the full error message:d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:805:in `each': Failed to get IEnum Interface (WIN32OLERuntimeError)    HRESULT error code:0x80020003   Member not found.    from d:/ruby/lib/ruby/site_ruby/1.8/watir.rb:805:in `getObject'   

Re: [Wtr-general] What is the trick to getting xpath to work.

2006-03-14 Thread Bret Pettichord
Angrez and i are working on a simpler install process for enabling xpath support... stay tuned.BretOn 3/13/06, Cain, Mark < [EMAIL PROTECTED]> wrote: I have been trying to get xpath to work in my scripts but have not been able to do so.    I have the latest from trunk (Version "

[Wtr-general] Watir-Examples

2006-03-14 Thread Tanushree Bhoi
Hi, I am newly joined to this group.I am exploring about watir and ruby. I tried running the examples given with the Watir example folder but some scripts(google_maps.rb,mouse_over.rb,yahoocheck_test.rb) are giving errors.Please help.Thanks in Advance.   Regards Tanushree   ___

[Wtr-general] Wtr-general mailing list

2006-03-14 Thread Tanushree Bhoi
Hi, Here I am sending my submission to Wtr-general mailing list.   Thanks Tanushree  ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general