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

Reply via email to