Within a script written in JavaScript for the UI Automation instrument, how do I import another JavaScript file?
Within UI Automation, you can add something like
#import "MySharedFunctions.js"
at the top of your script to have it pull in code from another JavaScript file. This can be used for storing common testing or other helper functions within a shared source file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With