Forum Discussion
15 years ago
Got exactly the same problem.
I define a "custom property" on Project level, say "prop". I enter a "default-value", say "abc".
Then I rightklick on the Project and launch the TestRunner (before that I've saved the project). There I switch to the tab "Custom Args" and there type: -Pprop=123 or -P"prop=123" or -Pprop='123'
in the load script of the project I do a "log.info(context.expand( '${#Project#aenderndeTests}' ))". There's always and still the value "abc" set. How can I change this value via the Command-line execution only for the current testrun?
Can anyone help me out?
P.S.: I've already updated to Version 3.0, too. The problem still exists...
I define a "custom property" on Project level, say "prop". I enter a "default-value", say "abc".
Then I rightklick on the Project and launch the TestRunner (before that I've saved the project). There I switch to the tab "Custom Args" and there type: -Pprop=123 or -P"prop=123" or -Pprop='123'
in the load script of the project I do a "log.info(context.expand( '${#Project#aenderndeTests}' ))". There's always and still the value "abc" set. How can I change this value via the Command-line execution only for the current testrun?
Can anyone help me out?
P.S.: I've already updated to Version 3.0, too. The problem still exists...
Related Content
- 4 years agoSuperTester
- 3 years agoCata