Mapping Extensions via Test Detail Page or Slider View
Once the extension is created, it must be mapped to an action to be used. Extensions can be mapped to an Action via the Test Detail page or Slider View.
There are 2 types of mappings and both may be used on the same action:
- Prehook, which occurs before the action. If you want to override an input value, the Prehook must be used.
- Posthook, which occurs after the action. If you want to collect data that may appear such as randomly generated data, the Posthook must be used.
Map an Extension in Test Detail page
- Expand the action. Click on Add Extension.
- Click Prehook or Posthook.
- Select the Extension.
- Click Save.
- The mapped Extension will be displayed in the Action footer.
Map an Extension in Slider View
- Choose the action. Click the gear icon.
- Click the Add Extension button.
- Click Prehook or Posthook.
- Select the Extension.
- Click Save.
- The mapped Extension will be displayed in the Action footer.
Map an Extension during Architect Test Case Creation
- Launch Architect via New Test Case creation.
- Click the + icon.
- Click on Extensions.
- Select the chosen action by clicking the white circle.
- Select your Extension from the Prehook and/or Posthook dropdowns.
-
Click Add.
-
Continue recording your test, then Save when complete.
-
Once all data has processed, the Test Details page will display the Extension mapped to the Action.