Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
Yes, you are running through GUI. I was referring to testrunner in <soapui install>\bin\testrunner.bat (.sh for non-windows). This is what is typically used for automating test in SoapUI since it is ran outside of the GUI.
If that is the case then you should use:
That will run the entire test suite from groovy.
Is there some customization you are doing in groovy after each testStep? Because I do not see why you need to run them by name.
Regards,
Marcus
SmartBear Support
Yes, you are running through GUI. I was referring to testrunner in <soapui install>\bin\testrunner.bat (.sh for non-windows). This is what is typically used for automating test in SoapUI since it is ran outside of the GUI.
To reiterate, when running these sequentially manually or at test suite level, this all works fine and the property transfers occur successfully.
When running this via the driver script I am doing nothing elaborate other than running the tests by name within the test suite - i.e. nothing different to what pressing the green play arrow icon in the test suite does.
If that is the case then you should use:
testRunner.testCase.testSuite.run(null,false)
That will run the entire test suite from groovy.
Is there some customization you are doing in groovy after each testStep? Because I do not see why you need to run them by name.
Regards,
Marcus
SmartBear Support