开发者

Within a script in the UI Automation instrument, how do I import another script?

Within a script writ开发者_JAVA技巧ten 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜