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;dcopt=rcl;mtfIFPath=nofile;click=http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091/D=shp/S=22708228:LREC/_ylt=Au.mqTqKsKmulGYNdleXtOQEgFoB/Y=GOOGLE/EXP=1256847991/L=DCwi1GKJIjl5CMbzSrkqGAyi0YM.cUrp3lcAB.eH/B=eOmcEUPDhF0-/J=1256840791573985/K=xF0.kWzP.wirgI5CYSfhUQ/A=5835568/R=0/*;ord=1259020088792
> ?">
> <html>
> <head/>
> <body>
> <a href="
> http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091/D=shp/S=22708228:LREC/_ylt=Au.mqTqKsKmulGYNdleXtOQEgFoB/Y=YAHOO/EXP=1256847991/L=DCwi1GKJIjl5CMbzSrkqGAyi0YM.cUrp3lcAB.eH/B=eOmcEUPDhF0-/J=1256840791573985/K=xF0.kWzP.wirgI5CYSfhUQ/A=5835568/R=0/*http://ad.doubleclick.net/click;h=v8/38d5/4/10d/%2a/i;218818837;1-0;0;40616980;4307-300/250;33764415/33782293/1;;~sscs=%3fhttp://www.bose.com/controller?event=DTC_LINKS_TARGET_EVENT&DTCLinkID=7891&mulsourceid=BB672910&src=BB672910<http://us.google.com/SIG=15mp74kb8/M=744826.13616157.13691953.1471091/D=shp/S=22708228:LREC/_ylt=Au.mqTqKsKmulGYNdleXtOQEgFoB/Y=YAHOO/EXP=1256847991/L=DCwi1GKJIjl5CMbzSrkqGAyi0YM.cUrp3lcAB.eH/B=eOmcEUPDhF0-/J=1256840791573985/K=xF0.kWzP.wirgI5CYSfhUQ/A=5835568/R=0/*http://ad.doubleclick.net/click;h=v8/38d5/4/10d/%2a/i;218818837;1-0;0;40616980;4307-300/250;33764415/33782293/1;;%7Esscs=%3fhttp://www.bose.com/controller?event=DTC_LINKS_TARGET_EVENT&DTCLinkID=7891&mulsourceid=BB672910&src=BB672910>"
> target="_blank">
> <img border="0" alt="Click here to find out more!" src="
> http://m1.2mdn.net/viewad/1859255/Q3FY10_Pioneered-QC15-Headline-FF-Test_B_300x250_Static.jpg
> "/>
> </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