Forum Discussion
JHunt
Community Hero
It says you have a problem at line 20, but the script you posted is not 20 lines long.
It says it has a problem with something called DEC in capitals, but the script you posted doesn't contain that, so is it possible the error is in another part you haven't posted?
Also, I see that the error is coming from MockTestRunner, which means you are running the script in isolation (without the context of the test case). That could be a problem - try running it as a complete test case.
Lastly, the error is probably in this line or a similar one:
testRunner.Dec_Quote.setPropertyValue("EffectiveDate", effectiveDate)
Did you mean the below?
testRunner.testCase.testSteps['Dec_Quote']
.setPropertyValue("EffectiveDate", effectiveDate)
vivram
7 years agoOccasional Contributor
Thanks,
I tried running it on a complete test case, still same result
testRunner.DEC.testSteps['Dec_Quote'].setPropertyValue("EffectiveDate", effectiveDate)
DEC is the Test Case