this was a bug that someone else reported 2 or so weeks ago. It doesnt fail for
me though! But i can add a fix easily enough
Paul
- Original Message -
From: Zeljko Filipin [EMAIL PROTECTED]
Date: Tuesday, July 5, 2005 5:49 am
Subject: [Wtr-general] Watir::FactoryMethods#checkboxes error
This looks to be the same bug that was reported a week or 2 back. Its
been fixed and is checked
Thanks!
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin
Sent: 07 July 2005 04:25
To: wtr-general@rubyforge.org
Subject: RE:
I see this in my one:
Im not sure when it was added, I have watir.rb 1.194
# This is the main method for accessing a file field. Usually an
input type = file HTML tag.
# * how - symbol - how we access the field , :index, :id,
:name etc
# * what - string, int or re ,
homeDrive is probably nil. I think that comes from an environment
variable.
I think this needs to change anyway, recently I had watir install to a
network drive, as the users home path was set to be k:
I imagine most people would want to install to c: - rather than the
place where the HomeDrive
You're close!
New_string = 'abcdef#{var1}jklmnop'
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Torres, Ben
(HQP)
Sent: 27 July 2005 11:36
To: wtr-general@rubyforge.org
Subject: [Wtr-general] Inserting variable name in string
Right now, I am doing
Are these messages fired by the onBlur or onChange events on a text
field? If so Bret has fixed the problem and it will be in the next
release.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander, Kim
(Kim)
Sent: 27 July 2005 11:58
To:
Well, it works for me too!
Whats the windows/IE version on the other machine? I think fireEvent was
added in IE 5.5
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 25 July 2005 20:00
To: wtr-general@rubyforge.org
Subject:
file_field, but I need file_fields (plural). :)
Zeljko
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Wednesday, July 27, 2005 7:20 PM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] Watir::FactoryMethods#file_fields
I see this in my
I had the same problem with the controller I used before Watir. If I
remember it was caused by the page loading faster than we could detect, so
the wait method is still waiting, as it doesnt realise its already loaded.
This was one of the reasons I wanted to move to an event based system (
which
Title: Message
Way
cool! I couldnt see anywhere - what language is it written
in?
Paul
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Scott HanselmanSent: 27 July 2005
04:43To: wtr-general@rubyforge.orgSubject: [Wtr-general]
#file_fields
Thanks, I also have file_field, but I need file_fields (plural). :)
Zeljko
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Wednesday, July 27, 2005 7:20 PM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] Watir
I added alt as a property and included it in the to_s
As to why the typs= 'image' is available. It's a standard property from
IE on input controls, like button, etc. I just continued it on. Maybe
this is something that should be removed?
At some point I think we want to add a elements iterator
I think this will be fixed in the next release. There was a bug in
attach where it wouldn't wait
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 27 July 2005 21:51
To: wtr-general@rubyforge.org
Subject: [Wtr-general] wair for
'
Subject: RE: [Wtr-general] RE: image.to_s
Thanks again.
About type: image - after I thought about it, I also think it should
not be removed.
Zeljko
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Thursday, July 28, 2005 12:45 AM
To: wtr
This was the case, and Ive added a unit test for disabled images.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: 28 July 2005 10:52
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] RE: image.to_s
Ive just looked
I just tried search.aol.com and I get a similar thing, even when attaching
to it
ie=Watir::IE.attach(:title , /S/)
and it just hangs.
Stack trace after a ctrl C
IRB::Abort: abort then interrupt!!
from c:/ruby/lib/ruby/1.8/irb.rb:81:in `irb_abort'
from
This page at aol has several iframes that get updated with the latest 'hot
searches' My guess is that the problem is something to do with these.
I altered the wait method, and I got my problm sorted - maybe you could try
this and see if it works for you?
Paul
## wait with a maximum wait time
Title: Message
Watir
cant access these modal dialogs, various people have tried diferent things.
Maybe you can do something with auto-it - I personally havent tried. If you get
some code working, please post it to the list
Paul
-Original Message-From:
[EMAIL PROTECTED]
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Thursday, July 28, 2005 7:06 PM
To: wtr-general@rubyforge.org
Subject: RE: [Wtr-general] RE: image.to_s
This was the case, and Ive added a unit test for disabled images.
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto
Ive been doing the same. I posted some code to deal with file Requesters
around the 15th June. It seems this one needs to be in a separate
process. I'll need to do some more testing to be really sure. I think
there may also be differences between win xp and win 2k
Paul
-Original Message-
Sorry, I meant where you unpack the tarball, there should be a subdir
called rdoc
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shao Kang Tat
Sent: 29 July 2005 11:34
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] radio button support
In a previous release some one else reported errors on radio buttons,
something to do with value. I had never been able to reporuce, but the
latest refactoring from bret has a rescue around the value, so it should
return an empty string.
What os, browser version are you using?
Paul
Title: Message
the
tarball is a download of the latest code. ITs whats currently in cvs. There may
be changes/bug fixes when the release is done. And the docs wont have been
included. Since there is no compling etc it should generally be safe to use.
There have been times when code that
the title is the tooltip for the checkbox. We support this on other objects, so
it should be simple to make it work on checkboxes too
input type=checkbox title = 'a tooltip'
Paul
- Original Message -
From: Bret Pettichord [EMAIL PROTECTED]
Date: Monday, August 1, 2005 10:21 pm
Subject:
.
Bret
At 01:31 PM 7/27/2005, Paul Rogers wrote:
The scripts that handle pop ups are in the unit test directory
jscriptExtraAlert.rb
jscriptExtraConfirmCancel.rb
jscriptExtraConfirmOk.rb
jscriptPushButton.rb
I suggest we move these to a better location -
The C:\ruby\lib\ruby\site_ruby
calls, what do they return if it
can't find the item ? or if it finds multiple?
j.
On 8/2/05, Paul Rogers [EMAIL PROTECTED] wrote:
1. no - you must specify the frame, like
ie.frame(:index,2).link(:id,'blah').click
2. yes, but you have to use the Autoit tool to help you, its not too
hard
yep, but its best to use a reg exp, otherwise you need the full path:
ie.image(:src , /some_pic.gif/).click
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary=_=_NextPart_001_01C5980C.CA4F3156
--_=_NextPart_001_01C5980C.CA4F3156
most watir objects support a click method, so
ie.image(:id, /pic/).click
should do what you want ( replace image with what ever element you need, radio,
text_field etc)
Paul
- Original Message -
From: Zeljko Filipin [EMAIL PROTECTED]
Date: Wednesday, August 3, 2005 7:46 am
Subject:
]
Date: Wednesday, August 3, 2005 2:35 am
Subject: RE: [Wtr-general] I have a couple of questions...
At 10:33 PM 8/2/2005, Paul Rogers wrote:
I want to add a frame iterator object as soon as I get the chance:
Ie.frames.each {|f| }
When that's, there, it would be simple for you to add
a td should have a click method, so if you can figure out its index you can do
ie.table(:index,t)[row][col].click
You'll have to fixure out the row and col values and the value for t
It would be better if you can get an id added to that cell
Paul
- Original Message -
From: [EMAIL
isnt this already supported for spans and divs?
Paul
- Original Message -
From: [EMAIL PROTECTED]
Date: Wednesday, August 3, 2005 10:30 am
Subject: Re: [Wtr-general] Question: Javascript/CSS onClick?
It would be better if you can get an id added to that cell
Or if we supported
Regards,
Fred
Date: Wed, 03 Aug 2005 21:12:01 -0600
From: Paul Rogers [EMAIL PROTECTED]
Subject: RE: [Wtr-general] Cannot Identify Cancel
To: wtr-general@rubyforge.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII
If your html looks like this:
form name=abc1 method=post action =/do/something
input type=text name = the_text_field
/form
you would use a form like this:
ie.form(:name , 'abc1').text_field(:name , 'the_text_field').set('567')
There are more examples in the form_test.rb unit tests
what
Bret,
Im assuming you've named remote_eval that based on what it is doing. I dont
find it a very intuitive name. Maybe something like one of these:
ie.execute_command( )
ie.run_command()
ie.delayed_execution() # is it actually delayed??
THis does look really good, thanks for doing it. This had
Bret,
your recent addition of the onBlur event to text boxes got me thinking.
Does IE fire the onBlur event already with out us adding it, if you explicitly
set focus to another item. Eg, using the code BEFORE the addition ( I havent
tried this )
ie.text_field(:index,1).set('hi')
# does the
I took a quick look at this, and I don't know how we would do it. Using
my example table below, The table itself only has 2 cells on the row
after the rowspan.
Even other methods like the one below only show it has having 2 cells, I
guess cos in reality it does only have 2 cells.
irb(main):011:0
there is some basic support - for dragging text from one text field and
dropping it on another. You could probably use that as a basis for writing some
more advanced features. I doubt Bret or myself will get enough time to do it in
the near future
Paul
Content-Type: multipart/alternative;
if you dont care about javascript events, you can just use
ie.text_field(:index,1).value='123' # it might be .value(123) I cant remember
You can also use the -f switch or change the typing speed value
the original code is there to make sure that all the javascript events (
keypress, keyup ,
the handle is not -1.
Thanks,
Anna.
On 8/15/05, Paul Rogers [EMAIL PROTECTED] wrote:
winclicker contains some very scary, badly written code. Id try
to avoid it if possible.
You might be able to attach to an embedded browser by using
attach - or possibly a modified form
you can use
ie.span(:index,xxx).text
it would be better if your developers addeda an id, then you can use
ie.span(:id,'request_id').text
Paul
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary=_=_NextPart_001_01C5A29C.24B6B1F5
You could trap the exception that's thrown, but that could get kind of
ugly. Especially as its probably a weird OLE exception.
It seems like we need a closed? Method on ie. It would be trivial to do
it when watir closes a window, but Im not sure I know how we would do it
if the window is closed
Tabora, Quality Assurance
BrandMuscle, Inc.
P: 216.454.2010 Cell: 216-577-2835
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[EMAIL PROTECTED] On Behalf Of Paul Rogers
Sent: Tuesday, August 16, 2005 4:38 PM
To: wtr-general@rubyforge.org
Subject: [SPAM] - Re
Comments in-line, preceeded by Paul-
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: 17 August 2005 23:05
To: [EMAIL PROTECTED]
Subject: Re: [Wtr-general] next steps
At 05:46 PM 8/17/2005, Paul Rogers wrote:
some other things
yes, that should definitely be there. Can you add it to the tracker so it
doesnt get forgotten?
Paul
- Original Message -
From: Boyt, Darrel [EMAIL PROTECTED]
Date: Wednesday, August 24, 2005 8:26 am
Subject: [Wtr-general] How can I access an object a Label points to?
I would like to
I originally wrote the methods using camelCase. the prefferred ruby way is
train_case.
The camelCase ones will get deprecated, so use train_case
Paul
- Original Message -
From: Jeff Wood [EMAIL PROTECTED]
Date: Wednesday, August 24, 2005 9:31 am
Subject: [Wtr-general] Question...
I've
In your test, I dont see you click the link - you seem to also display 'goto
link failed' before going to it.
Maybe try this
begin
statusMessage=Click Link
aboutlink=$ie.link(:text,About).click
statusMessage=attaching to new window
you can probably do it usint AutoIt, but I dont think there is a way to do it
directly into IE through watir
Content-Type: multipart/alternative;
boundary==_Part_417_993946.1125435757337
--=_Part_417_993946.1125435757337
Content-Type: text/plain; charset=ISO-8859-1
Here is some code that runs tests in source code order. I pretty certain Bret
posted how to do this ( by overriding the suite method) but he didnt provide
any code.
This only works if there is one class that does tests in the file, but Im sure
someone can figure out how to fix that
#
#
Watir already has a down_load_time method:
Ie.goto('www.google.com')
Puts ie.down_load_time
I think this works when ever a page loads
Paul
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Kelly
Sent: 27 October 2005 05:04
To:
Watir will raise WatirNavigationException if it receives certain urls -
it does a regexp on the url looking for
shdoclc.dll ( if I remember correctly)
This is the exception that gets raised
irb(main):013:0 ie.goto('ggg.cddfdom')
Watir::Exception::NavigationException: Cannot find server or DNS
I recently went to use this and had problems too. I have a fix, I'll see if I
can get it in. Wont be this week though
Paul
Content-Type: multipart/alternative;
boundary==_Part_4823_25613369.113080518
--=_Part_4823_25613369.113080518
Content-Type: text/plain;
. Sorry if it's a silly
question, but I'm not getting it...
-Chris
On 11/5/05, Paul Rogers [EMAIL PROTECTED] wrote:
Try this
require 'Win32API'
hWnd = 985158# use the hWnd for your process
# pid is a dword
pid= * 32
thread= Win32API.new(user32, GetWindowThreadProcessId, 'IP
, I got it now--
What's the syntax to actually close the browser using the pid/wHnd?
-Chris
On 11/7/05, Paul Rogers [EMAIL PROTECTED] wrote:
you'll need to get the hWnd of the browser first
require 'Win32API'
ie = IE.new
ie.goto www.google.com
hWnd = ie.ie.hWnd
pid= * 32
hi Carl,
if you can post some repeatable code/html unit tests that really helps getting
things fixed.
The pop up handling has not been very good in watir, and we need to improve it.
Paul
- Original Message -
From: [EMAIL PROTECTED]
Date: Monday, November 7, 2005 1:55 pm
Subject:
Title: Message
ie.checkbox(:name , 'notype[]' , '9.16') should
work
the
third argument is a string value that is the value of the radio button or check
box
Paul
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeff WoodSent: 10 November
Here is the code to get rid of cookies. Sorry it took so long, had to
get permission, and then I kept forgetting
It was writtern on Win XP - the paths maybe different for win 2000
It may be possible to add a reg exp or string to limit the domain that
cookies are deleted
Thanks to Jason Scammell
you should be able to use the value= method
using the textfields.html from the watir_bonus\unittests\html dir
ie.text_field(:name , 'readOnly').value='test'
seems to work
Paul
Content-Type: multipart/alternative; boundary=0-1983776644-1132720426=:63063
Content-Transfer-Encoding: 8bit
are you using
text_field(..).set('a string')
or
text_field(..).value='a string'
set should honour the max length value of the text field ( as specified in the
html)
.value= will put the whole string in
Paul
Content-Type: multipart/alternative; boundary=0-1924482286-1132893504=:77538
let me know when you are happy with it and i'll try and figure out how to
pioint watir.com at it
The main page has a black block with blue and some other colored text that is
very difficult to read
Paul
- Original Message -
From: Sy Ali [EMAIL PROTECTED]
Date: Sunday, November 27,
the long and short names are the windows paths
long name is something like c:\program files\apache group\apache
the short name is the windows 8.3 version of it, probaly something like
c:\program~p2\Apache~1\
Its done this way to avoid problems with the spaces in the long file names
Paul
I think watir can currently do something like
ie.text_field(:id, 'foo').dragContentsTo( :id, 'foo2')
I may have a need to do some testing on more advanced drag drop so I will take
a look at doing this if i get a chance.
I guess the demo here http://demo.script.aculo.us/shop is the sort of
Several people have been looking at this - has anyone made any progress? Is any
way better than another?
I may have some time available soon
Paul
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
some of your ie.goto(...) have spaces before the http
like ' http://...'
For me, that causes the browser to go to a search page
Paul
Content-Type: multipart/alternative;
boundary==_Part_8777_7782702.1140663863455
--=_Part_8777_7782702.1140663863455
Content-Type: text/plain;
If I remember correctly, the html you will see using that method is Ies
version of the html, not what it has actually received. So if you right
click and then do a view source, and then in watir do a
ie.document.body.parentelement.outerhtml
You are likely to see different things
I dont think
Im pleased to announce Ive started work on RuMBA - Ruby Multiple Browser
Accessor.
What Is It?
RuMBA will allow a watir like script to access muliple browser types - IE,
FireFox etc. It will work cross platform, allowing linux and mac to be
supported.
Ive done enough work to think that it
isnt there a method in the winclickers to get rid of the security box?
- Original Message -
From: Cain, Mark [EMAIL PROTECTED]
Date: Thursday, May 4, 2006 7:57 am
Subject: Re: [Wtr-general] hacked goto() almost working, any ideas? Re: anyone
ever hacked Watir to do Basic Authentication?
Thanks to everyone who replied regarding rumba. Apologies for not getting back
sooner, but Ive had a busy week.
Id forgotten about the ruby runner for selenium, so I think I will take another
look at that before I do much more with rumba. I have set up the rubyforge
project, but havent got a
some time ago, maybe August, I posted some code that would do the test in
source code order, it created the TestSuite by reading the file first. You can
also name your methods like
test_010
test_020
etc
if you use rspec ( rspec.rubyforge.org ) it runs in source order, and provides
a very nice
test::unit does a sort on the method names. so test_a comes before test_b
I cant remember what happens with test_a and test_A
Hi George, it's been my experience that the unit tests run in what appears to be an alphanumerically-ascending order. It's been a while since I've looked at it, but I
I think that sth contains the number of rows returned fro mthe query
if you change your second line from
sth.execute(SELECT * FROM DATA).fetch do |row|
to
dbh.execute(SELECT * FROM DATA).fetch do |row|
It might be what you want
Paul
- Original Message -
From: Eric Nachman [EMAIL
,
It did not work, any other ideas. It like it does not
recognize the execute, or fetch commands..
e
--- Paul Rogers [EMAIL PROTECTED] wrote:
I think that sth contains the number of rows
returned fro mthe query
if you change your second line from
sth.execute(SELECT * FROM DATA).fetch do
xpath is also very unreadable.
As a side note, one of my clients has recognized
the value of good html. When something is missing an id , we add an hour, per
build,per testcasefor manual testing of the application. It
something that is now easy for the developers and project managers to see
if ( $testval = $search )
should be
if ( $testval == $search )
there may be other problems too - do you need to specify which row column the
value comes from? ( I cant remeber how this works off the top of my head)
ie - perhaps it also needs to be, where [0][0] is the row and column number
, but like the fact that these require manual intervention, because it
probably makes people think twice about long posts in the future.
Would anyone be interested in helping to moderate the list? Paul
Rogers is also set up as a moderator, but I know he sometimes has trouble
directly
Ive never tried to test one, but Ive looked at similar things for inclusion in
some projects Ive been working on.
They are normally just a text area, so:
ie.text_field(:index,1).set('Hello, world)
should probably do it
Paul
Hi listfolks.
Has anyone had to try to test a page that
is
my web page contains Geben Sie Ihre Telefonnummer (tags�ber)
In case it doesnt show correctly, near the end is a u with 2 dots above it. Im
sure there is a correct term, but Im no linguist.
If I do:
ie.text
I get
= Geben Sie Ihre Telefonnummer (tags\374ber
Can any one suggest a work around,
I dont think there is anything in watir to do it at the moment. I started
looking into this, but the functionality was dropped from the app I was
testing. It may come back again, in which case I will once again take a look at
adding this functionality into watir.
Paul
Could anyone
some time back I posted a show_windows method
I have no idea when it might have been though.
Paul
- Original Message -
From: Eric [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Tuesday, August 08, 2006 7:55 AM
Subject: [Wtr-general] How to check for opened IE windows?
Hi,
I
the browser wont let you put the filename into the field directly - its a
security thing.
Ive always used winclicker or autoit to fill in the pop op
Paul
Im trying to upload a file with Watir and I have an
input file and cant seem to get it to work. Ive searched
the mailing lists and it
Where would this be used in a ruby system? I didnt read thoroughly but I
thought this mocked out the smtp server for a java system. Is your web app
written in ruby, so a ruby version of this can become a mock in your app?
But saying that, I do agree it would be a great thing to do
Paul
-
thats a link, so
ie.link(:id , "sessionDialogCancel" ).flash is what you need
- Original Message -
From:
Chris McMahon
To: wtr-general@rubyforge.org
Sent: Friday, September 01, 2006 12:40
PM
Subject: Re: [Wtr-general] I am a
newb
On 9/1/06, David
Watir has this very powerful, but I think, little understood feature, which I
called an error checker.
You can create some code that gets called on each page load, kind of like this
( I dont have time to test this right now though )
down_load_timer = Proc.new(){ |ie|
log_to_file Page Title:
when Ive done these presentations to developers,
Ive shown how watir can be used for testing on dynamic and ajax enabled
sites.
Its also quite cool when you use irb/watir to show
the content in these situations, which otherwise can be hard to
debug
- Original Message -
From:
a long time back I found some ruby that did this,
but it didnt work quite correctly.
Marco Brasse recently sent an update. Its below. I think it only does
bitmap.
require 'dl/import'module ScreenCapture
extend DL::Importable dlload
"kernel32.dll","user32.dll","gdi32.dll" HORZRES = 8
also, for the download example, it is also possible to do this
ie.goto('http://google.com')
puts ie.downloadtime# check the method name, it might be downLoadTime or
down_load_time
ie.text_field(:index,1).set('pickaxe')
ie.button(:index,1).click
puts ie.downloadtime# check the method
you can probably use
ie.div(:class, "buttonMed_off").click
- Original Message -
From:
Park, Chong SuhX
To: wtr-general@rubyforge.org
Sent: Wednesday, September 27, 2006 10:45
AM
Subject: [Wtr-general] Excuting
_javascript_ Function from Watir or Ruby?
Hi,
shouldnt it be
iframe src = iframeTest1.html name = senderFrame id = sf width = 300 height =
300
now the test:
def test_iframes_id
#VALIDATE THAT WE CAN GET THERE AT ALL
x = $ie.frame(:index,1).button(:name,'sendIt').click
assert_equal(,x)
#VALIDATE THAT WE CAN GET THERE VIA id
x =
a reg exp is better here
ie.button( :src, /SelectRow1.gif/ ).click
- Original Message -
From: Dave Munns [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Thursday, October 05, 2006 8:55 AM
Subject: Re: [Wtr-general] How do you access an image that doesn't have img
in the HTML
try this
http://rubyforge.org/pipermail/wtr-general/2005-July/002695.html
- Original Message -
From: Norm [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Thursday, October 12, 2006 2:59 PM
Subject: Re: [Wtr-general] IE.GoTo - Can You Set A Timeout or an Idle?
Paul, I searched
http://rubyforge.org/projects/gmailutils/
- Original Message -
From:
Zeljko Filipin
To: wtr-general@rubyforge.org
Sent: Friday, October 13, 2006 1:49
AM
Subject: Re: [Wtr-general] Outlook
Access
On 10/12/06, Paul Rogers [EMAIL PROTECTED] wrote
One part of the argument is that we want to be able to control how long we
wait outside of watir, ie wrapping the call in a timeout block.
That works fine, but you need to put it everywhere.
Adding the timeout in the wait method, stops you having to do that. And, if
we are smart, we can switch
can you post the error you get?
ALso, what happens when yo click the link? If you go somewhere else, are you
still in the loop, trying to access things that re not there any more?
ie change .click to .flash and see if it works - then the problem is you are
trying to access things that no longer
I use a treeview control that I found on the
internet, and that occasionally causes ie to crash, if I remeber,in a similar
way to this.
I think there are some bugs in IE with dynamically
generated tables. Its a long time since I investigated but could be the same
issue
Paul
-
see what I can do.
Paul
- Original Message -
From: Bret Pettichord [EMAIL PROTECTED]
Date: Tuesday, October 17, 2006 9:28 am
Subject: Re: [Wtr-general] downloadtime and render_time
Paul Rogers wrote:
I had a discussion today that got me thinking about the download
time
, October 17, 2006 3:48 PM
Subject: Re: [Wtr-general] downloadtime and render_time
Paul Rogers wrote:
I think IE separates the download time and render time for each page. I
always thought that for frames we needed something like
ie.download_time # time for everything, all frames download, render
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
in one of the apps I work on, we had a problem where the java framework would
sometimes put the same id on 2 or more elements. We wrote an error checker that
simply lloked for duplicate ids, and raised an exception if one was found. I
guess i have the advantage that the developers are willing
probably easiest to use a reg exp for
this
youd have to create the reg exp with care, as there
may be white space and different types of quotes, but this might do
it
ie.html.scan(/src\s*=\s*'(.*)?')
that says, find src followed by either space or no
space followed by equals followed by a
Here are the release notes for IE7
from http://msdn.microsoft.com/library/default.asp?url="">
there is a new document status for xmlhttprequests
( ie ajax ) so it should be possible to check for this
There are details on tabs, but I couldnt find any
mention of how to change to a new tab
I use a library that draws a treeview in javascript. This has also caused IE
to crash. I think it is something to do with dynamic tables
Paul
- Original Message -
From: Nathan [EMAIL PROTECTED]
To: wtr-general@rubyforge.org
Sent: Monday, November 06, 2006 12:25 PM
Subject: Re:
1 - 100 of 260 matches
Mail list logo