Forum Discussion
andrewlaser
Occasional Contributor
As a workaround I added test suite "Precondtitions" with test case "Preconditions" containing Groovy script at the beginning of the test project
def env = context.testCase.getProject().getPropertyValue("environment")
... using variable env
It reads a correct parameter value.
You suggestion may work, but it's just a workaround as well.
I'd need to keep this test suite at the beginning of the project.
andrewlaser
6 years agoOccasional Contributor
Any plans to fix this issue?
With my (the only working) workaround it's impossible to run a particular test case from command line, because TestRunner Command-Line Arguments c/s : accept only 1 test/suite name. And I need at least two names to run a particular test suite (Precondition test/suite + desired test/suite)
Related Content
- 5 years ago
- 9 years ago
- 8 years ago
Recent Discussions
- 2 days ago
- 2 days ago