look at filefield_test.rb
At 12:24 AM 8/31/2005, Nishita Acharya wrote:
hello,
i have a browse option in one of the forms.I have automated it to
pop the 'choose file' window.but i have to choose a file and open it
manually.Can this be automated? The view source contains this
form
WRONG WRONG WRONG.
The link actually points to a mail message where i said this exist?/exists?
advice is wrong. And it is.
Bret
P.S. As early posts have pointed out the OP's issue actually relates to the
use of local variables.
At 09:14 PM 8/30/2005, [EMAIL PROTECTED] wrote:
hope this
At 04:02 PM 8/30/2005, Mike wrote:
but in this case view source is turned off
Turn it back on!
require 'win32ole'
shell = WIN32OLE.new('Shell.Application')
windows = shell.windows
return unless windows
windows.each do |window|
next unless window.fullname =~ /iexplore.exe/
Hi.
I have followed the documentation at
http://wtr.rubyforge.org/watir_user_guide.html and I can not see why I
shouldn't use assert?? Are there some rules to using
assert?
The thing I don't understand is that very similar code in
test_logger1.rb works but mine does not. I have not worked out
What's the best way to know if a selectbox contains a particular text?
P.S. I hope in the near future, there's a good documentation for watir
libraries.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
Hi List,
I've been using the following script to read and close javascript
alert() and confirm() dialogs in Watir. It could fairly easily be extended to
deal with file choosers, as I saw someone asking for earlier.
To be clear, it will wait a dialog to be shown and close it using the given
ie.selectBox(:index,1).getAllContents
will return text of all options in select box.
I guess it depends how you installed watir (installer, gem), but there is
documentation start All Programs Watir API Reference.
Zeljko
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Thanks. I guess I just have to traverse the contents.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zeljko Filipin
Sent: Wednesday, August 31, 2005 4:32 PM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] select box contains?
The second window is not invoked. The Developer tells me that the link
to has been created with java script.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 31 August 2005 03:09
To: wtr-general@rubyforge.org
Subject: RE:
When I run my script I get this error returned:
.Test 7...Creating a workflow
W, [31-Aug-2005 14:02:56#2956] WARN -- : runtime error in wait busy
OLE error code:80004005 in Unknown
No Description
HRESULT error code:0x80020009
Exception occurred.
How can I find the cause of
Will you describe installation of watir as gem in user guide? I think it is
the most simple way.
Zeljko
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Wednesday, August 31, 2005 3:11 PM
To: wtr-general@rubyforge.org
Subject: Re:
Is anyone running Watir automation from Cygwin? If so, any advice, issues,
etc?
Thanks.
-sean
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
3. begin/assert/rescue is really a bad idea and we will stop suggesting it.
I *like* begin/assert/rescue. It's my friend. Why is it a bad idea?
-Chris
___
Wtr-general mailing list
Wtr-general@rubyforge.org
For one thing I cannot get it to work.
IanOn 8/31/05, Chris McMahon [EMAIL PROTECTED] wrote:
3. begin/assert/rescue is really a bad idea and we will stop suggesting it.I *like* begin/assert/rescue.It's my friend.Why is it a bad idea?-Chris___
I often teach ruby to people and usually use scite to do this. It's quick
and easy and F5 is very convenient. I also use scite when i am working on
lab machines. (Otherwise I use eclipse when i can.)
When i use breakpoint with a script that i am running from scite using F5,
the irb session
I have a very simple script that attempts to log into a
website. I'm trying to use WET as well as I have windows
popups to test later on.
When attempting to press the login button I'm getting this error:
1) Error:
test_remove_category_missing_name(TC_sample_tests):
NameError: undefined local
Hi Stephanie,
Ian Phillips found that there was a problem with the archive in the
downloads.
I have just fixed it and we are runinng some tests on it. If all goes
well, I'll
be putting it up there in around an hours time. I'll keep you posted.
Thanks
Raghu
Stephanie Mayfield wrote:
I have
Hey...
I just noticed that Watir is the most active project on rubyforge
right now. And it's creeping up the list of top project downloads,
too.
-Chris
___
Wtr-general mailing list
Wtr-general@rubyforge.org
At 10:05 AM 8/31/2005, Ian Phillips wrote:
For one thing I cannot get it to work.
Exactly. There is no reason to explain how to throw and catch exceptions in
an introduction.
Also, a common coding error (which also occurs several places in watir,
sigh) is to catch more exceptions than you
Look at our rate of activity growth:
http://rubyforge.org/project/stats/?group_id=104
At 12:51 PM 8/31/2005, Chris McMahon wrote:
Hey...
I just noticed that Watir is the most active project on rubyforge
right now. And it's creeping up the list of top project downloads,
too.
-Chris
Bugs item #2351, was opened at 2005-08-31 15:32
You can respond by visiting:
http://rubyforge.org/tracker/?func=detailatid=487aid=2351group_id=104
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary:
On 8/31/05, Bret Pettichord [EMAIL PROTECTED] wrote:
I have a client who would like to use Watir to test a Unicode enabled
application, supporting double-byte languages such as Chinese and Japanese.
It looks to me like it doesn't work, but i haven't done Unicode with Ruby
before and thought i
I've had scripts running on a Shift-JIS website to read/write Japanese.
I had more problems configuring Windows, DOS, and the text editor than I
did with Ruby/Watir.
From what I remember, I had to install an East Asian Language Package in
Control Panel, Regional and Language Options and then
Joe Yakich wrote:
Thanks so much for posting this code, it looks like it will be exactly what we
need
to start handling our Javascript dialogs.
You're welcome. I hope it works as well for you as it does for me.
Did I mention it requires AutoIt?
I have a question (and it's probably an
Our new installers have been out for a bit. And we need to update our docs
to reflect this.
Should we tell people about the one-click installer, the gem or both?
We have scattered reports of problems with the new one-click installer.
We'd appreciate hearing more about it? Is it working for
Hi John,
The same code is working in my machine. can you just tell me which
version of the WET and Watir your using?
Thanks
Satti
John Hobbs wrote:
WATIR Code:
ie = IE.attach(:url , /MY.jsp/ )
f = ie.frame(:name, MYFrame)
puts f.html
WET Code:
b = Browser(url:=/MY.jsp/)
Gem - preferred installer
CLI Installer - Optional components only. That is, the command line
installer is
over and above the Gem
Also, it probably is a good idea to include docs / helper scripts to
uninstall older
versions of Watir.
My few cents.
Raghu
Bret Pettichord wrote:
Our new
Jared,
I checked in a fix for this bug. This was quite hairy.
The problem occured because you have XML data with an id of 'tags'. This
blocks our normal call to document.all.tags(TAGNAME).
Thanks for the detailed report.
Bret
At 12:33 AM 8/9/2005, you wrote:
Hi Bret,
Paul sent me an
I'm thinking about using rake for the cli installer (rake install, with
other targets for lib-install, etc). But that would mean that the users of
the installer would need to have rake installed, which isn't part of the
ruby distro. (although you can do a gem install rake.)
Thoughts?
Bret
29 matches
Mail list logo