Forum Discussion
HeikoStudt
11 years agoOccasional Contributor
The "isStandalone" seem to be false for TestRunner and true for SoapUI (GUI).
However, I did not read the source code for understanding what "isStandalone" should mean, there are no comments whatsoever.
MFG (Best regards)
Heiko Studt
kondasamy
11 years agoRegular Contributor
So, just to make your code work, you could probably try the below script using 'isStandalone' instead of 'isCommandLine' like this,
if (!isStandalone) {
log.info("in cmdl");
testRunner.gotoStepByName( "GetStates is Empty" );
}And I guess the behavior of 'isCommandLine' currently you are experiencing should be a bug!
Thanks,
Samy