Forum Discussion
4 Replies
Sort By
- SmartBear_SuppoSmartBear Alumni (Retired)Hello,
I'm not able to reproduce. Could you try nightly build and if you still have problem let us know.
robert - Seema_GuptaNew ContributorI am using nightly build for today and I still cannot access this value, please clarify the usage e.g. the project property name is xyz and it's value should be replaced by http://128.34.23.23:53450 now I am giving this string in the groovy script as ${#Project#xyz}
and in my command prompt I am using testrunner.bat-P xyz=http://128.34.23.23:53450
But when I run my testcase using this command prompt it fails as the string in my groovy script ${#Project#xyz} does not get replaced by http://128.34.23.23:53450
Please advise - SmartBear_SuppoSmartBear Alumni (Retired)Hi!
it looks like you have a space between the -P and the value, this shouldn't be; it should be -Pxyz=http://128.34.23.23:53450
was that it?
regards,
/Ole
eviware.com - 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...
Related Content
- 4 years agoSuperTester
- 3 years agoCata