Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

JavaScript in a file

LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
How do i use a javascript in a file ?
I have a javascript that will generate GUID's and would like to reuse the script without having to copy and paste the content into a textbox every time i want to use it.

Any hints on how to do this ?



  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Hello mads,

    I apologize for taking so long to get back to you.

    Probably the best way to do this would be to save your javascript in a text editor. Then, you can use it in a Method test by selecting the File radio button in the Implementation area, and browsing to the location on your hard drive. Does this address your question?