It should definitely be supported. Perhaps you are trying a variant that I haven't tested. Can you make a simple example to reproduce the problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-11-10
Hi,
Can anyone tell me how to start testing this javascript validation using httpunit? I also have all external javascript in my webapp. Please let me know details of how to start javascript . some sample code will be appreciated.
Thanks n Regards
Mahesh
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In general, this is supported. But some of the JavaScript constructs in the function may not be. For example, location.href was just added today and is only in the prerelease.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just started using HttpUnit today, underneath of JWebUnit, and am having similar problems. Would it help to list out what's in the 'undefined' function (ie, specific to the error) or could it be occuring in any of the script on the page and causing JavaScript to bomb in general?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Httpunit seems to ignore this and thus the functions defined in f1.js all become undefined.
Any clues?
It should definitely be supported. Perhaps you are trying a variant that I haven't tested. Can you make a simple example to reproduce the problem?
Hi,
Can anyone tell me how to start testing this javascript validation using httpunit? I also have all external javascript in my webapp. Please let me know details of how to start javascript . some sample code will be appreciated.
Thanks n Regards
Mahesh
Even I am having problems with functions defined in another javascript file.....so is this a problem with httpunit....
-Satish
I have same problem, hope Russell could make it work soon.
In general, this is supported. But some of the JavaScript constructs in the function may not be. For example, location.href was just added today and is only in the prerelease.
I just started using HttpUnit today, underneath of JWebUnit, and am having similar problems. Would it help to list out what's in the 'undefined' function (ie, specific to the error) or could it be occuring in any of the script on the page and causing JavaScript to bomb in general?