I wanted to try it out but was not sure if the syntax was supported. Let me try it. Thanks for the pointer.
Manoj ----- Original Message ---- > From: John <[email protected]> > To: tellurium-users <[email protected]> > Sent: Thu, October 29, 2009 4:58:43 PM > Subject: Re: > > > 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 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 > > "]) > > > > then use getAttribute('frame','width) to get back the width attribute? > > > > On Thu, Oct 29, 2009 at 6:28 PM, Jian Fang 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 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", ???){ > > >> > > >> } > > > > >> I need to test for 'width' and 'height' values. using > > >> getAttribute('frame','width). > > >> Regards, > > > > >> Manoj > > > > >> <br />> > >> bordercolor="#000000" vspace="0" hspace="0" > > >> marginheight="0" <br />> marginwidth="0"<br />> > >> src="<br />> > > > >> >>http://ad.doubleclick.net/adi/N5305.Google/B3866302.16;sz=300x250;dco...<br > > >> />> > >> ?"><br />> > >> <html><br />> > >> <head/><br />> > >> > > >> <body><br />> > >> <a href="<br />> > <br />> > > >> >>http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091...<http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091...>"<br > > >> />> > >> target="_blank"><br />> > >> <img border="0" alt="Click here > > >> to find out more!" src="<br />> > > > >> >>http://m1.2mdn.net/viewad/1859255/Q3FY10_Pioneered-QC15-Headline-FF-T...<br > > >> />> > >> "/><br />> > >> </a><br />> > >> </body><br />> > >> > > >> </html><br />> > >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
