Mapping Extensions Overview
Once the extension is created, it must be mapped to an action to be used. Extensions can be mapped to an action via the Architect recording, on the Test Detail page or Slider View.
There are 2 types of mappings and both may be used on the same action:
- Pre-hook, which occurs before the action and if you want to override an input value, the pre-hook must be used
- Post-hook, which occurs after the action and if you want to collect data that may appear, such as randomly generated data, the post-hook must be used
Map an Extension during Architect Test Case Creation
- Launch Architect via New Test creation
- Click the blue Insert icon
- Click on Extensions
- Select the chosen Action by clicking the white circle icon
- Select your Extension from the Prehook and/or Posthook drop-downs
- Click Add button in the Architect Extensions sidebar panel
- Continue recording your test, then Save when complete
- Once all data has been processed, the Test Details page will display the Extension mapped to the Action
Map an Extension on the Test Detail page
-
Expand the Action that requires the Extension and click on Manage Extension
- Click the Manage Extension button for Pre-hook and/or Post-hook
- Select the Extension, and if necessary use the Search feature
- Click Save
-
The mapped Extension will be displayed in the Action footer
Map an Extension in Slider View
-
Choose the Action that requires the Extension and click the gear icon
- Click on the Manage Extension button
- Click the Manage Extension button for Pre-hook and/or Post-hook
- Select the Extension, and if necessary use the Search feature
- Click Save
- The mapped Extension will be displayed in the Action footer
Delete Mapped Extension on the Test Detail page
- Expand the action that has the Extension and click on Manage Extension or click on Mapped Extension
-
Click the button for removing the Extension under the Pre-hook and/or the Post-hook section
- Click Save
-
The mapped Extension will be removed from the action footer
Delete Mapped Extension in Slider View
-
Choose the Action that has the Extension click the gear icon and then click on Manage Extension or click on Mapped Extension
-
Click the button for removing the Extension under the Pre-hook and/or the Post-hook sections
- Click Save
-
The mapped Extension will be removed from the action footer