Is it possible to pass parameter for OpenSpan.Runtime.exe while loading the project. Lets say I wanted to provide an input for the automation but same time I wanted to configure it while launching, so that user interaction can be avoided.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
From the command line you can specify the project to run at startup. Through the use of Project Configurations you can modify how the project runs at startup. See more information on using Project Configurations here (http://help.openspan.com/80/Project_Configuration_and_Deployment/Project_Configuration2.htm). Since you may specify on the command line which Configuration of the project to run, this would be a way to change the behavior of a project at runtime without user intervention.
Example scenario. I have about 10 values that I can pass at the start of the automation and automation works differently for each of those values.
What I do not want to do is have 10 different configuration files (& a default configuration).
What I prefer to do is to be able to send a value at the start of the automation via Command Prompt and "Switch" accordingly within the automation itself eliminating the need to specify different configurations at the command prompt. Is there a way to accomplish this?
Example - C:\Openspan.runtime.exe "Project.Openspan" "Value1"