Forum Discussion
vivram
Occasional Contributor
Thanks all for your help.
The below worked.
testRunner.testCase.setPropertyValue("EffectiveDate", effectiveDate)
I was thinking we have to literally replace the test case name with the actual test case name, which isn't the case.
All good now :)
avidCoder
7 years agoSuper Contributor
That's what I replied in previous threads. You can set property value at any level of the project.
//TestCase Level
testRunner.testCase.setPropertyValue("EffectiveDate", effectiveDate)
//TestSuite Level
testRunner.testCase.testSuite.setPropertyValue("EffectiveDate", effectiveDate)
//Project Level
testRunner.testCase.testSuite.project.setPropertyValue("EffectiveDate", effectiveDate)
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 2 days ago
- 2 days ago