Hi All,
I have created a SOAP object and passing the URL as http://dnvtxsrt01:30010/productDomain-wls/com.amdocs.services.productdomain.mtposmanagement.UpdateDeliveryPaymentStatus?WSDL .
Now in this URL we want to keep the dnvtxsrt01:30010 as global variable because this value gets changes as per the profile which we are selecting.
Can someone please let me know is there a way where we can pass global variable in this.
Ibus
December 14, 2018, 6:33am
2
see:
https://docs.katalon.com/katalon-studio/docs/parameterize-a-web-service-object.html#variables-since-57
assuming you will use a parameter like ${yourParam}, when you call the test object do:
findTestObject('myTestObject', [('yourParam') : GlobalVariables.yourGlobalVar]))
so the parameter used will be substituted with the value stored in the profile
Or using the GUI only, in the test object > Variables tab, add one with the name you used to parametrize the call and assign it GlobalVariable type with the value of your desired variable
HI Ibus,
Thanks for the response. The solution is working perfectly.
With Regards
Shruti