Forum Discussion
avidCoder
Super Contributor
You have problem with this line of code:-
testRunner.Dec_Quote.setPropertyValue("EffectiveDate", effectiveDate)
What is this "Dec_Quote"?
This is how you should set the property value:-
testRunner.testCase.testSuite.project.setPropertyValue("yourProp", yourValue )
vivram
7 years agoOccasional Contributor
The structure is as follows
Project: SMEPK_MV
Test Suite: Test_MV_Rates
Test Case: DEC
Test Step: Dec_Quote
My groovy script is the first test step inside the test case DEC.
I tried below
testRunner.DEC.Test_MV_Rates.SMEPK_MV.setPropertyValue("EffectiveDate", effectiveDate)
Still getting same error.
I created custom property 'EffectiveDate' for DEC test case, which I want to use for test steps within this test case. Not sure where the problem is..
Thanks
Related Content
Recent Discussions
- 2 days ago
- 2 days ago
- 2 days ago
- 2 days ago