Say I have an Invoke Workflow that calls a XAML file, and passes arguments in such as the config dictionary, a datatable, and an array.
How do I provide values to those arguments when running just the individual XAML for testing?
Say I have an Invoke Workflow that calls a XAML file, and passes arguments in such as the config dictionary, a datatable, and an array.
How do I provide values to those arguments when running just the individual XAML for testing?
In such kind of scenario, I would invoke the desired workflow right after Initialization logic in Initialization state. It will give Config dictionary.
If datatable need to be read from file, read it before invoke workflow, same for array as well.
This way I will have all the required arguments to test the workflow.
After testing remove the temp code.
Thanks,
Ashok ![]()
I was hoping for a way to use Test Explorer etc to store runtime values. Isn’t this what it’s intended for?