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
