Hello,
I have a request called “Request1” into my Object Repository. I defined one variable called “variable1” into this object.
How can I set the variable from script view? I already tried to get the object with findTestObject but there is no function to set variables …
Someone can help me please? Thanks a lot.
Update 1
I found this solution but I don’t know if it is a best pratice …
def request = findTestObject('RequestObject', [('variable') : 'some text'])
def response = WS.sendRequest(request)