Solved
Forum Discussion
nmrao
Champion Level 3
I mean system arugument such as "-Dkey=value"
testrunner.bas <options to execute the project> -DIS_INVOKED_COMMANDLINE=true
In Load script
if ('true' == System.getProperty('IS_INVOKED_COMMANDLINE')) { //You business logic here }
sergeykh
6 years agoOccasional Contributor
Thanks, this seems to work and this properties are set before the project once.
One more thing. As I`m calling extenal jar from the project load script and passing both possible variablse in this context which are project and log. Is it possible to get the system properties from the project object?
Related Content
Recent Discussions
- 6 days agoruchisingh