anyone know how to make the bash shell script to wait for the katalon console mode script to be completed before executing the next command?
e.g. if I have these in the bash script, it will not work, as it will not wait for the katalon command to be completed and it will kill katalon immediately.
I suppose your command is finishing immediately. How about checking the exit code from Katalon. Try the following code. If you see any exitCode other than 0, it would imply the command failed.
had the feeling that, if katalon fails, the script stops (goes out of scope)
you can tweak it by using set in the shebang, or even better, use trap to catch the exit procedure and treat it at will