Forum Discussion
avidCoder
6 years agoSuper Contributor
Since 'price' is variable declared here. You cannot pass it as String. Please change the code to :-
messageExchange.modelItem.testStep.testCase.getTestStepByName("Estimate").setPropertyValue("EstimateItem1Price", price) If it doesn't work. Please try this way also:- testRunner.testCase.getTestStepByName("Estimate").setPropertyValue("EstimateItem1Price", price)
And also, please change price variable to price1 or anything else. You already have price as jsonObject in your Json.
Related Content
- 2 years ago
- 3 years ago
- 8 years ago
Recent Discussions
- 15 years ago