The code above does call the script to be run but I need to extend it to run with some parameters passed and that can be retrieved during runtime. I hope that the ‘command’ function helps to retrieve the data, but could not be successful, please help.
There is a VTVariable parameter which is -m. Looking at the syntax you are currently using, it would mean adjusting the execution asset to be a Visual test instead of a script but you should then be able to pass the data along to a child script executed by a visual test.
o Create a Visual test that accepts the parameters that you want to pass to the VBA test script
o Create the VBA test script that has Test script variables defined
o Make the call from the VT to the VBA TS passing in the parameters