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
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
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
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.
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
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
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.
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
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
$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_
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]
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
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
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
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
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
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
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,
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
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
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...
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
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
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
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
25 matches
Mail list logo