Hello Jwebusers, I have an icefaces application which contains a fileupload control. Of course this is rendered in an autogenerated iframe in icefaces:
<iframe allowtransparency="true" class="iceInpFile" frameborder="0" height="30px" marginheight="0" marginwidth="0" scrolling="no" src="javascript: document.write('<html style=%22overflow:hidden;%22><head><link rel=%22stylesheet%22 type=%22text/css%22 href=%22/sds/css/default.css%22><link rel=%22stylesheet%22 type=%22text/css%22 href=%22/sds/css/nr_web_app_style.css%22><link rel=%22stylesheet%22 type=%22text/css%22 href=%22/sds/css/sds_style.css%22><link rel=%22stylesheet%22 type=%22text/css%22 href=%22/sds/xmlhttp/css/xp/xp.css%22></head><body style=%22background-color:transparent; overflow:hidden%22><form method=%22post%22 action=%22/sds/uploadHtml%22 enctype=%22multipart/form-data%22 id=%22fileUploadForm%22><input type=%22hidden%22 name=%22ice.component%22 value=%22_id41:inputFile%22/><input type=%22hidden%22 name=%22ice.view.active%22 value=%223%22/><input type=%22file%22 name=%22upload%22 size=%2235%22 class=%22iceInpFileTxt%22/><input type=%22submit%22 value=%22Upload%22 class=%22iceInpFileBtn nrInpFileBtn%22/></form></body></html>'); document.close();" style="border-collapse:collapse; border-spacing:0px; padding:0px;" title="Input File Frame" width="500px" /> The problem is that jwebunit will only allow me to goto a frame based on ID or name. As you can see, this frame only has a title. Is there a way around this limitation? Perhaps I could reference the iframe relative to the document root, with an xpath call or something? Am I destined to resort to htmlunit? Thanks for your help Rory Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ JWebUnit-users mailing list JWebUnit-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jwebunit-users