[Wtr-general] Jonathan Ni is out of the office.

2005-12-24 Thread Jonathan Ni
I will be out of the office starting 12/24/2005 and will not return until 01/09/2006. I will respond to your message when I return. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] [ wtr-Bugs-2961 ] Text field to_s method fails

2005-12-24 Thread noreply
Bugs item #2961, was opened at 2005-12-08 23:36 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=487aid=2961group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Angrez Singh (angrez) Assigned to: Nobody (None) Summary: Text

[Wtr-general] Browsers url

2005-12-24 Thread Hrishikesh Jamadagni
Does any body has a idea how to check browsers url using watir, Is the syntax assert_equal url(:show, ' http://www.google.co.in/ '), ie.url correct?? Regards hrishi ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] Anand Jagadishprasad Sahu is out of the office.

2005-12-24 Thread Anand Jagadishprasad Sahu
I will be out of the office starting 12/24/2005 and will not return until 01/03/2006. I will respond to your message when I return on 03-Jan-2006. In case of any urgency, please send an email to [EMAIL PROTECTED] or [EMAIL PROTECTED] Happy New Year.

[Wtr-general] Line no

2005-12-24 Thread Hrishikesh Jamadagni
Does anybody know weather watir have specific function to go to a specific line no in the program. Regards hrishi ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Link that can not be found

2005-12-24 Thread Miroslav Rajcic
The portion of data you are looking at is the "text" of the link, not the name... so,ie.link( :text, "Sign in" ).click should work.j. That was it, thanks! ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] Non-blocking image click

2005-12-24 Thread Jeff Wood
Miroslav Rajcic wrote: I've managed to solve my problem by pathching Watir. I've copied code of click method and commented WaitForIE line and my script now works fine Perhaps someone might think of adding this into official version # This method clicks the active element.

Re: [Wtr-general] Accessing Table Footer

2005-12-24 Thread Angrez Singh
Hi Tom,I think an XPath _expression_ will make your life easy. As you said that the id's are generated dynamically, but there should be something that binds the checkboxes together (may be the item name etc.) So you can write an XPath query to select the checkboxes on the basis of item name. So

Re: [Wtr-general] Accessing Table Footer

2005-12-24 Thread Bret Pettichord
Any suggestions (other then getting dev to add static :id values) would begreatly appreciated. Extend Watir to handle the tfoot element. This is pretty easy using HEAD: module Watir class Tfoot NonControlElement def self.tag; 'tfoot'; end end module Container def_creator :tfoot end end

Re: [Wtr-general] another Javascript fire event question

2005-12-24 Thread Bret Pettichord
$ie.image( :id, CartControl_CartDataGrid_ctl3_RemoveButton1 ).click On 12/8/05, Mike Tierney [EMAIL PROTECTED] wrote: Here is another _javascript_ question.I am trying to remove an item from a shopping cart. The remove button looks like this in Spysmith :INPUT language=_javascript_

Re: [Wtr-general] url checking

2005-12-24 Thread Zeljko Filipin
To get browser url: ie.url To assert: assert_equal('http://www.google.co.in/', ie.url) Hope it helps. Zeljko From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hrishikesh JamadagniSent: Monday, December 12, 2005 6:42 AMTo: wtr-general@rubyforge.orgSubject: [Wtr-general]

Re: [Wtr-general] Line no

2005-12-24 Thread Dave Burt
Does anybody know weather watir have specific function to go to a specific line no in the program. Yes, it doesn't. You can get an addon to add goto capability from http://raa.ruby-lang.org/project/ruby-goto/ But you don't want to. There's a better way to do what you want to do, but I don't

Re: [Wtr-general] Non-blocking image click

2005-12-24 Thread Chris McMahon
On 12/10/05, Bret Pettichord [EMAIL PROTECTED] wrote: Watir 1.5 will have a click method that will not only fail to block in your scenario, but will also fail to block when raising modal dialogs (a case where your code will still block). Ooooh. Aaaah Y'all may not realize how spectacular this

Re: [Wtr-general] Code donation :)

2005-12-24 Thread Bret Pettichord
Thanks for sharing your code.On 12/14/05, Miroslav Rajcic [EMAIL PROTECTED] wrote: I thought to donate some code to the Watir project, in case the code isfound useful.I needed method to wait for file download window to terminate (so I couldchack if the local file has correct size), and the

Re: [Wtr-general] ruby ide

2005-12-24 Thread jkohl
Eclipse with the RDT plugin. I need my green bar! :) -Jonathan Quoting Zeljko Filipin [EMAIL PROTECTED]: I am using Arachno Ruby IDE (http://www.ruby-ide.com/ruby/ruby_ide_and_ruby_editor.php). I also tried Scite and Freeride (included in Ruby). I am just wandering what the rest of you use

Re: [Wtr-general] How to click or access Map and Area tags?

2005-12-24 Thread Angrez Singh
Hi,Your problem is how to access an element for which there is no class in WATiR. You can use XPATH extension of WATiR which will be availabe in v1.5 or you can always download the tar ball from HEAD. By using XPATH extension you can get any element by using an XPATH _expression_. For elements

Re: [Wtr-general] ruby ide

2005-12-24 Thread saud aziz
Is there any out there (free/opensource) that supports intellisense/codecomplete feature for Ruby?I believe Komodo does. Any others that do this? http://www.activestate.com/Products/Komodo/?utm_source=home_pageutm_medium=bannerutm_campaign=komodo3.5On 12/19/05, Roy Sin [EMAIL PROTECTED] wrote:I

[Wtr-general] How to manipulate attaching files

2005-12-24 Thread David.J.Solis
I have web application that requires attaching a file very similar to attaching a file in Yahoo mail. Rather than manipulating the attach button, navigating to the file and attaching it, I thought I would use a short cut by writing directly into the text field the path to the file. However,

[Wtr-general] javascript Alert

2005-12-24 Thread Tolou Taherinia
Title: javascript Alert Hi, This is the code I have in order to click on a button which will invoke a _javascript_ popup, however the ok button on the alert is never clicked and I do not get any errors. I based my code on the jscriptExtraAlert.rb code. Any help would be greately

[Wtr-general] Accesssing table row

2005-12-24 Thread Tolou Taherinia
Hi, Im trying to click on a specific row in a html table however WATIR is unable to find the table with the specified name and I get the following message Watir::Exception::UnknownTableException: Unable to locate a table using name andtblGrid This is how I define the function for

Re: [Wtr-general] javascript popup

2005-12-24 Thread Tolou Taherinia
Thanks Roy for the Help...I tried that and it worked but the problem is it takes a little too long in order to click on ok on the alert box...I was wondering if there is a way to reduce this waiting time. I reduced the waitTime in the startClicker function to 0.2 and it didn't change anything...

[Wtr-general] how to install Watir for the x-path support...

2005-12-24 Thread Roy Sin
I downloaded the latest Watir tarball from CVS. How do I get x-path to work on Windows. My current Watir install is in C:\Program Files\Watir. Do I just take the files I unzipped from Watir.tar.gz and put them in my current Watir directory? thanks

[Wtr-general] Wait function never returns in case of Multiple Frame pages

2005-12-24 Thread senthil raja
Hi, In watir, when i access a page having multiple frames, using start() method, the control never returns even after the page has loaded completely. Later, i found that when the readystate attributevaluebecomes3 it did not change to 4 after completion of page load. Why is this happening in

Re: [Wtr-general] How to click or access Map and Area tags?

2005-12-24 Thread Pat Cappelaere
Title: Re: [Wtr-general] How to click or access Map and Area tags? I am not sure about your exact problem but I ran into something similar where I needed to click in a specific area of the screen. I had to use the AutotIt capability with Mouseclick function which allows to specific the mouse

Re: [Wtr-general] How to click or access Map and Area tags?

2005-12-24 Thread Angrez Singh
Hi,So when I try ie.element_by_xpath(//area[contains(@href , ' PieChart.html')]/).click() it throws 'Undefined method click for nil class' exceptionThis means that it hasn't returned you the element. I did tried the same xpath on the HTML code snippet provided by you in the mail and it did