please open an issue for the first problem. The second one has been fixed in HtmlUnit since release 1.14. You have to wait for it to be incorporated in WebTest,
Cheers, Marc. -- Blog: http://mguillem.wordpress.com lavanya palaniswamy wrote: > Hi Marc, >>For the first problem I could replicate the same in datadriven . > That is ${Zipcode} appears as 1234567.0 > So I shall open an issue for this as you mentioned. >>For the second problem please find the js code below: > > function setErrorFocus(){ > 2508 var reExp = new RegExp(/\berror\b/); > 2509 for (var f = 0; (formnode = > document.getElementsByTagName('form').item(f)); f++){ > 2510 for (var i = 0; (node = > formnode.getElementsByTagName('div').item(i)); i++) { > 2511 if (reExp.exec(node.className)){ > 2512 for (var k= 0; (selectnode = > node.getElementsByTagName('select').item(k)); k++) { > 2513 selectnode.focus(); > 2514 return; > 2515 } > 2516 for (var j = 0; (inputnode = > node.getElementsByTagName('input').item(j)); j++) { > 2517 inputnode.focus(); > 2518 return; > 2519 } > 2520 for (var m= 0; (textnode = > node.getElementsByTagName('textarea').item(m)); m++) { > 2521 textnode.focus(); > 2522 return; > 2523 } > 2524 } > 2525 } > 2526 } > 2527} > > Thanks > Lavanya > > ------------------------------------------------------------------------ > Save all your chat conversations. Find them online. > <http://in.rd.yahoo.com/tagline_webmessenger_3/*http://in.messenger.yahoo.com/webmessengerpromo.php> _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

