Mike Is it possible for me to add the extra code to the iframe so it behaves correctly?
Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Williams Sent: 27 September 2005 10:49 To: selenium-users@lists.public.thoughtworks.org Subject: Re: [Selenium-users] iframe and confirm message Chris Hoy wrote: > I have a screen that has an iframe in it. When I select a button on > the iframe the event is correctly fired but the confirm message in > the javascript is still shown. Is this a problem in selenium or > something I have done It's a problem with Selenium ... it doesn't support framed (even iframed) applications very well. Selenium depends on "instrumenting" the AUT document when it's loaded, which includes things like overriding the alert/confirm functions. The problem is that it isn't currently clever enough to instrument secondary frames. -- cheers, MikeW http://www.dogbiscuit.org/mdub/ _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users _______________________________________________ Selenium-users mailing list Selenium-users@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users