Feature Requests & Ideas

For bug reports and questions, please use the in-app chat or support@mabl.com.

Streamlined flow for assigning value to a variable from existing snippet

As a test author, I want a streamlined flow for assigning value from existing (named) snippet to a variable, so that I'm more efficient when creating/editing tests, and so that I don't accidentally edit the snippet.

Currently, when I want to do that, it goes like this:
1) in trainer, click on '{x}' (variables)
2) click on 'Create'
3) select 'JavaScript' in the 'Set value from' dropdown
4) click on 'Open code editor' -> code editor with default snippet template opens
5) click on 'Load snippet'
6) select the desired snippet and click 'OK'
7) click 'Save...' -> modal for saving the snippet opens
8) assuming 'Overwrite Existing Snippet' radio button and the correct snippet is selected, click 'Save'
9) enter desired variable name
10) click 'OK'

Frankly, that UX sucks. It should go as follows:

1) in trainer, click on '{x}' (variables)
2) click on 'Create'
3) enter desired variable name (which should be on top, not bottom of the form)
4) select 'Existing JS snippet' in the 'Set value from' dropdown
5) select the desired snippet and click 'OK' to select the snippet
6) click 'OK' to complete the step creation

  • Lukas Linhart
  • Aug 23 2019
  • For Consideration
  • Attach files
Copyright © 2019 mabl Inc. All rights reserved.