Thanks John, this worked for me. Manoj
----- Original Message ---- > From: Manoj Chavan <[email protected]> > To: [email protected] > Sent: Fri, October 30, 2009 11:01:55 AM > Subject: Re: > > > 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 > > To: tellurium-users > > 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 > > > > > > >> > > >> bordercolor="#000000" vspace="0" hspace="0" marginheight="0" > > marginwidth="0" > > >> src=" > > > >>http://ad.doubleclick.net/adi/N5305.Google/B3866302.16;sz=300x250;dco... > />> > >> ?"> > > >> > > >> > > >> > > > >> > />> > >> target="_blank"> > > >> > > >> > > >> > > >> > > > >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
