Follow

Recording a Macro

Accessing the Macro Recording Feature

Macros can be recorded from the Access Assistant toolbar (versions 3.0 and higher). To record a macro, first launch Access Assistant from the page on which the macro will be recorded, and navigate to the Asset in which the macro should be saved. A "Macros" button will be available at the top of the screen, above the list of reports in the asset. Note that this feature is only available to users with a Standard User or higher role in AMP.

Macros button on the Project screen

Creating a Macro

To create a new macro:

  1. Select the "Macros" button on the assets screen. This will open the list of macros for the asset. Users will only be able to see macros that are made available to everyone OR that they have created.
  2. Select the "New Macro" button at the top of the page.
    New Macro button
  3. On the subsequent screen, specify the properties for the new macro:
    1. Name: Give the macro recording a name that is easily understood in AMP. 
    2. Permissions: Select the appropriate permissions for the macro. Macros that are made available to "Everyone" can be selected for usage by anyone with permissions to create tests in the parent asset. If "Only Me" is selected for this field, only the currently-logged-in user will be able to select the macro recording for use in AMP spiders, and only in the parent asset.
  4. Record the macro:
    1. Select the "Record" button to initiate recording.
      Record button
    2. In the main browser window, interact with the page, recording the interactions. For example, if the macro is recording a login to enable automated testing of a site that is behind a login, complete and submit the login form to record the login. NOTE: When recording a macro if the user navigates away from the page on which the macro is being recorded, the recording will automatically be paused. In the current version of the toolbar, recordings are limited to a single page. In future versions, recordings may span multiple pages.
    3. When the actions that are to be recorded have been completed, navigate back to the Access Assistant window and select the "Pause" button. The recorded steps can be viewed at this time in the macro steps grid.
      Completed macro recording form
    4. Select the "Save" button to save the recording and make it available for usage in AMP.

Once a macro is recorded it will be available in AMP, to the appropriate users based on the macro's permissions, for inclusion in tests in the given asset. See the "Using a Macro in an AMP Test" article to learn more about playback of macros.

 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Level Access Support
www.levelaccess.com | 800.889.9659
© 2005 - 2018 - Level Access All rights reserved.
Privacy | Security | Credits | License