Forum Discussion
tristaanogre
Esteemed Contributor
Those commandline switches are not recognized by TestExecute or TestComplete. There is no way, without code, to have the automation recognize those switches. You can write custom code to read the commandline of TestExecute, find the switches, and operate against them. I've done it so I know it works.
Alternatively, rather than commandline switches, considering using Storages.INI to create an INI file that contains custom values like this.
mortenb123
5 years agoContributor
Thanks, after looking this up, I believe storages.INI it the cleanest way to solve this.
I also have a deploy.py script that parses the setupfile and replace it with the correct values.
Thanks again
- mortenb1235 years agoContributor
We found that the parameter /environmentwas the culprit. We renamed it and then it works fine again.