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
5 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
- nmrao5 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