Forum Discussion
nmrao
Champion Level 3
You can easily define that property at test case level and access it using
"context.testCase.getPropertyValue('propertyName')"
This way, an additional step can be avoided.
"context.testCase.getPropertyValue('propertyName')"
This way, an additional step can be avoided.
Heidji
6 years agoNew Contributor
Hi Rao,
thank you for helping me.
I have tried this:
planilhaExcel = context.testCase.getPropertyValue('ArquivoExcel') log.info planilhaExcel
But the return to this log.info is null
Wed Oct 09 11:52:08 BRT 2019:INFO:null
- nmrao6 years agoChampion Level 3Have you defined the property before accessing it?
Here you may find more sample snippets
https://www.soapui.org/scripting-properties/tips-tricks.html
Related Content
- 10 months ago
Recent Discussions
- 15 years ago