|
You can define these functions within an individual test or component, or you can create one or more external VBScript library files containing your functions, so that you can access them from any test or component.
You can also register your functions as methods for QuickTest test objects. Your registered methods can override the functionality of an existing test object method for the duration of a run session, or you can register a new method for a test object class.
Note: If you define a function directly in an action, the function can be called only in that action. If you want the function to be available for the entire test, save it in a .vbs file and specify it as an associated library file in the Test > Settings > Resources tab. For more information about specifying associated library files, see Associating Add-ins with Your Test or Component.
以上内容出自帮助 |
|