dc_29_iib
6 years agoOccasional Contributor
wait for user input then request trigger
Hi,
I want to wait for user input then add it to rquest and then trigger. as of now request is being triggered first then asking for input. Actually i want to sent user input into request.
Thanks in advance
groovy:
def usrIp=com.eviware.soapui.support.UISupport.prompt("Record Number","Answer");
testRunner.testCase.getTestStepByName("Properties").setPropertyValue("result",usrIp)
def ip=testRunner.testCase.testSteps["Properties"].getPropertyValue('result')
testRunner.testCase.getTestStepByName("Properties").setPropertyValue('name', ip)