universal-automation icon indicating copy to clipboard operation
universal-automation copied to clipboard

Map Universal Variable with Script Paramter

Open claudiospizzi opened this issue 4 years ago • 0 comments

Debugging Issue outside of Universal Automation

Currently, the scripts using Universal Automation Variables are hard to test and debug outside of Universal Automation, because the variables are injected into the script scope from externally while starting the script. If I develop and debug them within VS Code, I call the script and the variables are empty.

Mapping Variable to Parameter

I suggest add option to map the universal variable to a script parameter. So if we have a string parameter called $TargetServer, the same Universal Automation Variable named "TargetServer" should be mapped to the parameter.

claudiospizzi avatar Jun 04 '20 14:06 claudiospizzi