Sorry, gmail automatically added the link. The correct one should be,

ui.Frame(uid:"frame", clocator: [tag: "iframe", src: "*http://
ad.doubleclick.net"])

On Oct 29, 7:57 pm, Jian Fang <[email protected]> wrote:
> Wait a minute. You want to access the iframe directly, not the elements
> inside the iframe.
>
> Have you tried to use
>
> ui.Frame(uid:"frame", clocator: [tag: "iframe", src: "
> *http://ad.doubleclick.net<http://ad.doubleclick.net/adi/N5305.Google/B3866302.16;sz=300x250;dco...>
> "])
>
> then use getAttribute('frame','width) to get back the width attribute?
>
> On Thu, Oct 29, 2009 at 6:28 PM, Jian Fang <[email protected]> wrote:
> > Seems Frame/IFrame in Selenium must use id or name. Your case seems to be a
> > special one. May need extra work to support that.
>
> > Hari, you used Frames/IFrames, have you tried this type of Frame/IFrame
> > before?
>
> > If Selenium does not support, we can use jQuery to support that.
>
> > Thanks,
>
> > Jian
>
> > On Thu, Oct 29, 2009 at 5:52 PM, Manoj Chavan <[email protected]>wrote:
>
> >> I have the following html code for an iFrame. How would I define it?
> >> There is nothing that uniquely identifies it. Or is it even possible?
>
> >> ui.Frame(uid:"frame", ???){
> >>  <BLANK as there is nothing to test inside>
> >> }
>
> >> I need to test for 'width' and 'height' values. using
> >> getAttribute('frame','width).
> >> Regards,
>
> >> Manoj
>
> >> <iframe width="300" scrolling="no" height="250" frameborder="0"
> >> bordercolor="#000000" vspace="0" hspace="0" marginheight="0" 
> >> marginwidth="0"
> >> src="
> >>http://ad.doubleclick.net/adi/N5305.Google/B3866302.16;sz=300x250;dco...
> >> ?">
> >> <html>
> >> <head/>
> >> <body>
> >> <a href="
> >>http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091...<http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091...>"
> >> target="_blank">
> >> <img border="0" alt="Click here to find out more!" src="
> >>http://m1.2mdn.net/viewad/1859255/Q3FY10_Pioneered-QC15-Headline-FF-T...
> >> "/>
> >> </a>
> >> </body>
> >> </html>
> >> </iframe>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to