Forum Discussion
I get it to work if I start TestExecute and use the GUi to load and then Run, but I have no control with the environment settings I need. So it starts and fails, so it means there must be something with the parameters.
I can run the following, but how can I control my own variables I need to enclose like /lrapath, /lrapathlocal /lrapathbuypass and \lrapathmixed? is it possible to add a json or xml file with this?
- tristaanogre6 years agoEsteemed 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.
- mortenb1236 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
- mortenb1236 years agoContributor
We found that the parameter /environmentwas the culprit. We renamed it and then it works fine again.
Related Content
Recent Discussions
- 8 hours ago
- 7 days ago
- 10 days ago