Feature Requests & Ideas

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

Request to allow modularization of Javascript snippets and flows

We are planning to automate our application with mabl. However as we progress with the test coverage, I am assuming the number of javascript snippets wil increase with time. So when I want to reuse any javascript snippet, it will be difficult for me to go through this long list of js snippets. If a feature is provided where i can add these snippets in some buckets, it will be easier for me to select the related bucket and identify the required snippet from that bucket. Same suggestion for flows.

  • Guest
  • Mar 29 2019
  • Shipped
  • Jul 31, 2019

    Admin Response

    You can use labels to organize and filter your JavaScript snippets in both, the mabl app and the mabl Trainer. More info in the release notes here and here.

  • Attach files
  • Matthew Nagel commented
    05 Jun 22:33

    You can use the 'label' tagging system with flows (though I don't know if you can search by tags during training). Agreed that it would be useful to have this for snippets as well, the tagging system which is used elsewhere throughout the app would seem an easy place to start.

    Additionally allowing journey variables to be passed/accessed in snippets would allow them to be more modular.

    A simple example, I would like to be able to pass a date (which is dynamic based on app data) from a journey variable, and in one use case get out a reformatted date offset by x (e.g. 1 year). Ideally I don't want to have to recreate this snippet for every useage context so it would be great if I could pass in or access journey variables as parameters.

Copyright © 2019 mabl Inc. All rights reserved.