Forum Discussion
Didn't noticed this change in particular! Does 'isStandalone' option worked for you instead of 'isCommandLine' option? If yes, does it generated expected outcome?
Thanks,
Samy
- HeikoStudt10 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- kondasamy10 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
- HeikoStudt10 years agoOccasional Contributor
kondasamy wrote:So, just to make your code work, you could probably try the below script using 'isStandalone' instead of 'isCommandLine' like this,
And I guess the behavior of 'isCommandLine' currently you are experiencing should be a bug!
Yes, the workaround with isStandalone is working in my project.
I absolutely agree, that the isCommandLine has to be corrected, as ATM all manual steps will fail in testrunner.bat.
Can someone please point me to the bug tracking system of SoapUI? A quick google search did not find one.
MFG (Best regards)
Heiko Studt
Related Content
- 4 years ago