Forum Discussion
Hello,
As of TestComplete 12 the Stop command no longer appears to take an input parameter. I get a jscript error when running this. So instead I tried this:
Runner.Stop();
This stops the entire suite instead of just going to the next keyword test.
So the question remains, how do we skip the remaining steps of one keyword test and go to the next one?
According to the help, Runner.Stop takes a boolean parameter of either "true" or "false" to indicate whether or not to stop just the current test or the whole suite.
I just tried a Call Object Method operation in a keyword test in a JavaScript project where I passed the parameter "true" to the method and it worked without error.
- Jimbo8 years agoOccasional Contributor
Oh my. This is embarassing.
Not "True" but "true". Notice the lowecase. It works now, thank you.
- tristaanogre8 years agoEsteemed Contributor
Not a problem. :) You can also make sure that the value being sent is a Constant | Boolean just to be sure but glad it's working!