Custom smart value variable used as a param to function substring doesn't work

XMLWordPrintable

    • Minor

      Duplicated ticket from the Code Barrel instance
      Code Barrel ticket: https://codebarrel.atlassian.net/browse/AUT-2423

      Issue Summary

      We currently can't use functions such as {{ number(myCustomVariable) }}, since the custom variable won't be coerced when used as a param.

      Example: foobar.substring(count,15)

      Steps to Reproduce

      Expected Results

      You should be able to use Automation Variables inside functions.

      Actual Results

      The Automation Variables aren't considered on functions. The Automation reads it as a string, like the myCustomVariable was the text, for example.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. Untitled.png
          135 kB
          Felipe Oliveira

            Assignee:
            Unassigned
            Reporter:
            Felipe Oliveira
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: