Lennon wrote:
> Ah. Thank you!
Allow me to answer your meta-question.
To learn what a Ruby object can do, write this:
puts object.public_methods.sort
You would have seen 'url' in the Us.
--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!
_
Ah. Thank you!
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4916&messageID=13656#13656
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.or
Sure, here's a simple example:
require 'watir'
include Watir
ie = IE.start('http://www.gap.com')
redir = ie.url
puts redir
=> http://www.gap.com/browse/home.do
-Charley
On 10/23/06, Lennon <[EMAIL PROTECTED]> wrote:
> Is it possible to store a url that I have been redirected to by my webapp as
Is it possible to store a url that I have been redirected to by my webapp as a
variable?
e.g.,
I might navigate to http://mywebapp.com/download ,
and then get redirected to
http://mywebapp.com/downloading?downloadid=65846
I might want to do something with this par
While I would question the use of the term "bug", it is certainly not
proper HTML. According to the W3C specification, the id field of an
element must be unique for the entire document. While multiple elements
can have the same name, in order for your page to be valid no two
elements -- even o
Excuse me but aren't we talking about IE here? Isn't MS notorious for
spec violations?
Here are just a few for your reading pleasure:
http://channel9.msdn.com/wiki/default.aspx/Channel9.InternetExplorerStan
dardsSupport
And there is the whole backward compatibility thing too...
BTW, I agree wit
Ethan Jewett wrote:
> These commands fail with the UnknownObjectExceptions:
> $ie.frame("buttonFrame").frame("linksFrame").link(:text, "test1").click
> $ie.frame("buttonFrame").frame("linksFrame").link(:id, "link_id").click
>
> Is this a known issue? I don't see it in the OpenQA database as far
>
Do I misread the HTML 4.01 spec
(http://www.w3.org/TR/html401/index/attributes.html)? It says that ID is a
"document-wide unique ID". The whole point of the ID tag is to have a
unique ID, is it not? Doesn't having a non-unique ID defeat the purpose of
having an ID altogether?
I agree that the "
Hi,
I'm running Watir 1.4.1 and Ruby 1.8.4. I'm getting
UnknownObjectException when trying to click a link within an iframe
within a frame. Commands as follows:
This command succeeds:
$ie.frame("buttonFrame").frame("linksFrame").contains_text(/CVS Revision/)
These commands fail with the Unkno
that module is kind of fragile. There is some better code I posted about a
month ago.
Paul
- Original Message -
From: "Cain, Mark" <[EMAIL PROTECTED]>
Date: Monday, October 23, 2006 8:24 am
Subject: Re: [Wtr-general] screenshots
> Take a look at the screen capture module in the
> watir
Take a look at the screen capture module in the watir/screen_capture.rb.
it should be able to do what you are asking...
--Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phlip
Sent: Saturday, October 21, 2006 8:12 AM
To: wtr-general@rubyforge.org
Su
> Try Ruby 1.8.2. My experience is that problems like
> this will go away.
> Let us know.
>
> Bret
Yes, i turned down to ruby 1.8.2 and the segmentation fault is gone and the
internet explorer message box appears. Thank you.
Udo
-
---Michael B. wrote:
>>Congratulations: you've found a bug. There should not be two text
fields
>>with the same ID and the same name on the same page.
It is not a bug because internally index is used to make all page
objects unique. It may be poor design and/or lazy programming--I'll give
you
Hi Phlip,
> I want to take a picture of a web page in its tested state.
Can you not use the win32 keybd_event api to print the screen\window?
aidy
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
MB writes:
> Congratulations: you've found a bug. There should not be two text fields
> with the same ID and the same name on the same page.
Not necessarily so; if for example, you look at IBM Portal application
architecture, it contains many separate applications (portlets) within
a container
15 matches
Mail list logo