It looks like you have the right object, but it has been heavily customized
-- as you know. You're probably going to have rewrite the TextField class
to support this control.
Fundamentally that means doing ie.text_field(:id,
/elm1/).getObject.ole_methods to see what methods are supported and
Hi!
I'm still struggling with this problem so I'm going to try this mailing
list once more. Sorry about the repeat...
Our main product uses a javascript HTML-editor (much like TinyMCE[1]) to
let the user create documents to be published.
So far I've not managed to in any way to interact with
Hi,
I have downloaded Watir 1.4 and got the following error while trying to access 'to_s' method of 'P' element.
My script accesses the 'P' element using the 'id' attribute. The code looks like this:
1. element = $ie.p(:id,pElement)
2. puts element.type
3. puts element.to_s
The
Hi guys,I am trying to make watir to click on an input
type="image" name="xxx" object but with no luck.I tried
both:ie.image(:src, '/Images/xxx.gif').clickie.image(:id,Your DIsco
needs you').clickwhat am I supposed to enter?many thanks
___
I'm working on an app which makes an empty table (it has zero columnsfor some
reason and has NO ID)
So as I test in IRB I did:
ie.tables.each do|t|puts tend
I get an error:
WIN32OLERuntimeError: Unknown property or method `0'HRESULT error
code:0x80020006 Unknown name.from
Is watir/dialog removed from new version? I just installed watir gem, and
both remote_eval and watir/dialog seem to be missing (or am I missing
something)?
I recently moved to remote_eval for dealing with javascript pop up windows.
Zeljko
___
Thanks, Bret, that did the trick. I wasn't double clicking, I was
just typing the name of the suite.rb file from the command prompt,
which must amount to the same thing. I knew there had to be some
simple way to do this!
-- Lisa
--
Message: 7
Date: Tue, 23 Aug
just noticed that the html() and outerhtml() methods return
getDocument().body.outerHTML. this returns only the html for the body
section, not for the entire page, which i'm inferring from the
comments, is the correct behaviour.
to get the html for the entire page, i've found that
input type="image"
name="xxx" is really a button, so you should do:
ie.button(:src,
'/Images/xxx.gif').click
Zeljko
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
GLoveSent: Tuesday, August 23, 2005 3:41 PMTo:
wtr-general@rubyforge.orgSubject: [Wtr-general] input
Hi,
How can I get to HEAD to download dialog_tests.rb?
Thanks,
Ben
--
Date: Tue, 23 Aug 2005 00:49:24 -0500
From: Bret Pettichord [EMAIL PROTECTED]
Subject: Re: [Wtr-general] How to click a javascript alert button
To: wtr-general@rubyforge.org
Message-ID: [EMAIL
This is fixed in 1.4.1
At 07:57 AM 8/23/2005, Angrez Singh wrote:
Hi,
I have downloaded Watir 1.4 and got the following error while trying to
access 'to_s' method of 'P' element.
My script accesses the 'P' element using the 'id' attribute. The code
looks like this:
1. element =
OK, thanks, Bret for the suggestion. Per your request, here
are some additional lines of code that preceded the while
statement.
There is the attach statement which may be
causing the problem since you had opened up a bug on that a couple of days ago?
ie.frame(:name,
I would call this a bug, actually.
At 10:33 AM 8/23/2005, Owen Rogers wrote:
just noticed that the html() and outerhtml() methods return
getDocument().body.outerHTML. this returns only the html for the body
section, not for the entire page, which i'm inferring from the
comments, is the correct
Tx for the info.
Just so you know, this doesn't do what you think:
ie.frame(main).frame(sidebar).wait(analysisSidebarTabContent)
It's actually the same as
ie.frame(main).frame(sidebar).wait(true)
The fix regarding wait and attach is in 1.4., so this may be a new problem.
Bret
At 12:46 PM
At 11:00 AM 8/23/2005, Torres, Ben (HQP) wrote:
How can I get to HEAD to download dialog_tests.rb?
http://rubyforge.org/scm/?group_id=104
Go here and browse the CVS repostory.
_
Bret Pettichord
www.pettichord.com
___
Hi! Is there a functionality or tool in watir that could records actions taken
navigating a site and then automatically translating it into watir script? just
like in microsoft application center test?
___
Wtr-general mailing list
At 10:33 AM 8/23/2005, Owen Rogers wrote:
to get the html for the entire page, i've found that
getDocument().firstChild.outerHTML does the trick, though there might
be a better way to get the document root element.
On 23/08/05, Bret Pettichord [EMAIL PROTECTED] wrote:
I would call this a
Title: [Wtr-general] recording of scripts for watir
ahh ok. Thanks!
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On Behalf Of Tim
FelthamSent: Wednesday, August 24, 2005 9:12 AMTo:
wtr-general@rubyforge.orgSubject: RE: [Wtr-general] recording of
18 matches
Mail list logo