I don't mind the return the first one ... 

But, it really would be beneficial to be able to say, I don't know
which frame this is in ... ( I've got situations where the dev team I
support is moving things around a LOT ) ... so, If I can just say, I
know it's called "BLAH" then find it whereever, but I'm sure I can
code that up myself ( I just see it as useful ).

Thanks for the blazing results...

As soon as I get my testing dialed in, I'm going to show this to the
company I work for ... I think I can get a pretty major following for
this. ( we're a mid-large sized eComm company located in Seattle ).

>From what I've seen so far, WATiR looks like it's going to solve a LOT
of problems for me.

Thank you for developing it.

j.


On 8/2/05, Paul Rogers <[EMAIL PROTECTED]> wrote:
> If it cant find it, it raises an ObjectNotFoundException.
> If there are multiple, it returns the first one. There have been
> suggestions we should raise an exception if there are multiple. Im not
> sure, as there is nothing preventing you from having the same name or id
> on html tags in the page.
> 
> Paul
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Wood
> Sent: 02 August 2005 20:58
> To: [email protected]
> Subject: Re: [Wtr-general] I have a couple of questions...
> 
> 
> Wow, thanks for the quick response ...
> 
> So, with the .link or .frame or .blah 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 though.
> >
> > Paul
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Wood
> > Sent: 02 August 2005 20:37
> > To: [email protected]
> > Subject: [Wtr-general] I have a couple of questions...
> >
> >
> > I haven't gotten a computer setup with WATiR yet, but I wanted to see
> > if I could get an answer before I got to it...
> >
> > #1 - If I do something like ie.link( :id, "blah" ) will it find the
> > link regardless of frame on the page? or do I have to add stuff to
> > specify the frame & then the link within it...
> >
> > #2 - If an auth dialog pops up, can I fill in the fields @ run time
> > ...
> >
> > I know if the browser shows the login as part of a web page, I can set
> 
> > the text and submit, but I want to know, if it's truly AUTH based
> > HTTP, will it let me fill in THOSE?
> >
> > I know I can do that with information in the URL, but I want to know
> > about the dialog option.
> >
> > j.
> >
> > --
> > "So long, and thanks for all the fish"
> >
> > Jeff Wood
> >
> > _______________________________________________
> > Wtr-general mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/wtr-general
> >
> > _______________________________________________
> > Wtr-general mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/wtr-general
> >
> 
> 
> --
> "So long, and thanks for all the fish"
> 
> Jeff Wood
> 
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 


-- 
"So long, and thanks for all the fish"

Jeff Wood

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to