Hi,
I’ve a custom keyword that reads the excel sheet and returns a Map. I want to use the returned value in the request.
HashMap<String, String> data = CustomKeywords.‘package1.ReadExcelFile.getTestData’(‘Sheet3’,“C:\Katalon\DataSheet1.xlsx”)
Num = data.get(‘Number1’)
I want to use the value of Num in the request instead of hard coded number 3.
${Num} does not work and I don’t want to use global variables or local variables.
Thanks, Any help will be appreciated.
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:tem=“http://tempuri.org/”>
soapenv:Header/
soapenv:Body
tem:Add
tem:intA6</tem:intA>
tem:intB3</tem:intB>
</tem:Add>
</soapenv:Body>
</soapenv:Envelope>