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
--
View this message in context:
http://www.nabble.com/Problem-with-javaScript-tp19992136p19992136.html
Sent from the WebTest mailing list archive at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest