Defining an Implementation Test By a Macro
The macro is written in VBScript and uses HOPEX APIs.
To define a macro in a test:
1. Open the properties dialog box of the test.
2. Select the Advanced tab.
3. Connect the macro to the test.
This macro should show the function:
Sub TestApply(oToBeTested as MegaObject, oMetaTest as MegaObject, sParameter as string, bTestResult as boolean)
or:
• "oToBeTested" is the HOPEX object.
• oMetaTest is the test implemented.
• "sParameter" is the value of the chain attribute of the link between the test and the macro.
• "bRuleResult" is the result of application of the test.