[Webtest] [Error with JavaScript called by =?iso-8859-1?Q?onlad==22myScript.js=22]?=

webtest@lists.canoo.com webtest@lists.canoo.com
Mon, 28 Nov 2005 10:45:10 GMT


Hi Marc,

thank you for your help!
After a few days of investigating, I found out it was this part of script
that failed: "
  for (i = 0; i < myTab.length; i++) {

				myForm.mySelectBox.options[i].value = myTab[ i ].code;
				myForm.mySelectBox.options[i].text = myTab[ i ].libelle;
				
			}

If you have any idea....


Thx ;)





Marc Guillemot écrit:

> Salut Emile,
> 
> jsp doesn't matter, webtest receives only the generated html code.
> 
> htmlunit (the underlying "browser") has no problem with the body's 
> onload. Can you give an example of your code. Is it well formed?
> 
> Marc.
> 
> efeltesse@ebusinessinformation.fr wrote:
> > Hi all,
> > 
> > WebTest seems to be unable to open jsp that start with javascript functions
> > called by the 'onload' attribute of the <body> tag.
> > 
> > Can you follow me?
> > 
> > That causes me a very big problem, as I just can't get rid of these js
> > functions and as I really have to test wy webApp !
> > 
> > Thank you for any help !
> > 
> > Emile, Paris.
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
> > 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest