WebTest does execute JS (unless you've toggled it off). Are you sure that this JS code is not executed correctly? If yes, do you have a publicly available page allowing to reproduce the problem?
Last question: which WebTest build do you use? Cheers, Marc. -- Blog: http://mguillem.wordpress.com [EMAIL PROTECTED] wrote: > > I want to test a website, which uses JavaScript to create the links and > input fields. > > If I made a invoke to this site, webtest can't find the input fields and > links, because webtest doesn't execute the JavaScript command. > > In the pagesource is this Javascript tag: > <script type="text/javascript"> > webui.suntheme.widget.common.createWidgetOnLoad("j_id9",{"id":"form1:searchBtn","widgetType":"webui.suntheme.widget.button","visible":true,"primary":false,"value":"Anzeigen","escape":true,"mini":false,"disabled":false}); > > </script> > > instead of this input tag: > <input id="form1:txtKomm_field" class="TxtFld_sun4 > TxtFldVld_sun4" type="text" dojoattachpoint="fieldNode" > name="form1:txtKomm_field" size="20" title=""/> > > > Does someone know how I can fix this problem? > > Best Regards > > Till Dreier _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

