It looks like this select list is in an <IFRAME> tag, so this might be
a difficult task to do.



On May 29, 7:59 am, jason <jason.franklin.sto...@gmail.com> wrote:
> Hi Alan - sorry the index instead of :index in my original message was
> a typo. so
>
>  ff.frame(:index, 1).form(:name, "lay0803234_src350a").select_list
> (:id, "LOV6")
>
> does not work either.
>
> On May 27, 11:14 pm, Alan Ark <ar...@compli.com> wrote:
>
> > Try
>
> > ff.frame(:index, 1).form(:name, "lay0803234_src350a").select_list(:id,
> > "LOV6")
>
> > :index rather than index
>
> > -----Original Message-----
> > From: watir-general@googlegroups.com 
> > [mailto:watir-gene...@googlegroups.com] On Behalf Of jason
> > Sent: Wednesday, May 27, 2009 6:02 AM
> > To: Watir General
> > Subject: [wtr-general] forms in subframes - elements not found
>
> > Hi - here is the issue,
>
> > to get some element of a form - you can do this...
>
> > url = "http://www.siemens.de/jobs/jobs_bewerbung/jobboerse/Seiten/
> > jobboerse.aspx"
>
> > ff = FireWatir::Firefox.new
> > ff.goto(url)
> > ff.form(:name, "lay0803234_src350a").select_list(:id, "LOV6")
>
> > however, if the form happens to be in a subframe, like this
>
> > ff.frame(index, 1).form(:name, "lay0803234_src350a").select_list(:id,
> > "LOV6")
>
> > then firewatir terminates with "`assert_exists': Unable to locate
> > element" using :id, "LOV6" (Watir::Exception::UnknownObjectException)
>
> > does anyone have any ideas on this??
>
> > help would be highly appreciated!!
>
> > Jason.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to