Menu

Is <script src="f1.js" supported?

suresh vv
2002-09-26
2003-11-10
  • suresh vv

    suresh vv - 2002-09-26

    Httpunit seems to ignore this and thus the functions defined in f1.js all become undefined.

    Any clues?

     
    • Russell Gold

      Russell Gold - 2002-09-26

      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?

       
      • Anonymous

        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

         
    • Cool

      Cool - 2002-11-12

      Even I am having problems with functions defined in another javascript file.....so is this a problem with httpunit....

      -Satish

       
    • Anonymous

      Anonymous - 2002-11-13

      I have same problem, hope Russell could make it work soon.

       
      • Russell Gold

        Russell Gold - 2002-11-13

        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.

         
    • Jess C.

      Jess C. - 2003-01-20

      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?

       

Log in to post a comment.

Auth0 Logo