RE: [Wtr-general] I have a couple of questions...

2005-08-03 Thread Bret Pettichord
At 10:05 PM 8/2/2005, Paul Rogers wrote: Im not sure, as there is nothing preventing you from having the same name or id on html tags in the page. It's non-conformant HTML if it has duplicate id's on a page (duplicate names are kosher). _ Bret Pettichord

Re: [Wtr-general] identify image links by their url?

2005-08-03 Thread Sathya Shankar
You can use the index of the image or the src of the image Sathya Shankar Neumann, Carsten - ENCOWAY wrote: How can I click on an image-link using watir, if two images have the same „alt”-text? Can I use their url?

[Wtr-general] Javascript onClick

2005-08-03 Thread Neumann, Carsten - ENCOWAY
Title: Javascript onClick How can I tell Watir to click on a _javascript_ onClick? ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Iterators

2005-08-03 Thread Shao Kang Tat
+1 :) I'd also put in a request for table cells...sometimes I work with tables that have more rows/columns than the row_count and column_count say they do. When I try a table[x][y].exists? I get an error On 8/3/05, Bret Pettichord [EMAIL PROTECTED] wrote: At 10:42 PM 8/2/2005, Jeff Wood

Re: [Wtr-general] identify image links by their url?

2005-08-03 Thread Paul Rogers
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

[Wtr-general] Question: Javascript/CSS onClick?

2005-08-03 Thread dnjohannes
All, Forgive me if I am asking an obvious question, this is my second attempt to post this and get some sort of answer to my issue. Now I personally have a problem. I need to automate the login for further testing, but I cannot figure out how to access the 'Log In' button which has been defined

Re: RE: [Wtr-general] Javascript onClick

2005-08-03 Thread Paul Rogers
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:

Re: RE: [Wtr-general] I have a couple of questions...

2005-08-03 Thread Paul Rogers
ah, good point. Should it perhaps only iterate the top level frames? and if you wanted lower level frames, you would apply an iterator to that frame. Seems like this way would save me work;-) But probably be less intuiitive. - Original Message - From: Bret Pettichord [EMAIL PROTECTED]

Re: RE: [Wtr-general] I have a couple of questions...

2005-08-03 Thread Jeff Wood
I think there should be 2 ... one for top level frames and one that is exhaustive. Not that both features are necessary out of the gate ... top level frames would be a good start . j. On 8/3/05, Paul Rogers [EMAIL PROTECTED] wrote: ah, good point. Should it perhaps only iterate the top level

Re: [Wtr-general] Question: Javascript/CSS onClick?

2005-08-03 Thread Jeff Wood
Can you give a quick example of calling specifically the cell with the ID ? j. On 8/3/05, Paul Rogers [EMAIL PROTECTED] wrote: 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

Re: [Wtr-general] Question: Javascript/CSS onClick?

2005-08-03 Thread Paul Rogers
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

Re: [Wtr-general] identify image links by their url?

2005-08-03 Thread Jeff Wood
I agree, assign unique ids for each image ... should make things quite a bit easier. j. On 8/3/05, Paul Rogers [EMAIL PROTECTED] wrote: 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

Re: RE: [Wtr-general] I have a couple of questions...

2005-08-03 Thread Jeff Wood
... will the new dialog functionality replace the AutoIT stuff as well ? On 8/3/05, Bret Pettichord [EMAIL PROTECTED] wrote: Another complication of this is that some frame properties are not accessible from the frame itself, but rather from its container. This is because, internally, there is

Re: [Wtr-general] Question: Javascript/CSS onClick?

2005-08-03 Thread Paul Rogers
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

RE: [Wtr-general] XML Logging with Builder

2005-08-03 Thread Cain, Mark
Do you have any good example on using Builder and REXML you could share? Thanks, --Mark From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Kohl Sent: Wednesday, August 03, 2005 12:18 PM To: wtr-general@rubyforge.org Subject: [Wtr-general] XML Logging