Hi, can you provide the JS error that you get with WebTest for that as well as the WebTest version you use?
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com dariusch wrote: > Hello, > > one of a page has javaScript that creates an hidden input field, but it > dosn't work in the test-scenario. It is possible to create this part over a > canoo-webtest tag? > > My javaScript is like: > > if (hiddenParent.childNodes.length == 0) { > var hiddenInput = document.createElement('input'); > var att = document.createAttribute('type'); > att.nodeValue = 'hidden'; > hiddenInput.setAttributeNode(att); > att = document.createAttribute('name'); > att.nodeValue = 'xxx'; > hiddenInput.setAttributeNode(att); > att = document.createAttribute('id'); > att.nodeValue = 'xxx'; > hiddenInput.setAttributeNode(att); > hiddenParent.appendChild(hiddenInput); > } > > Cheers, > Dariusch > > > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

