A shell script calls 2 scripts. I want to execute the second one ONLY if the first one ends succesfully. How can know inside Robot that a script passes?
Furthermore, if the first script fails I would like to terminate the application straight on, never mind the state or window it stopped. I dont want to be worried about which was the last window (probably an error/alert window) to begin closing and exiting. Is it possible with Robot?
By using global variables just to explain, what u do is call the first script and carry out the steps in that script. Then based on say various verification points (return values) you write these results to global variables. When the script is finished it returns execution to the shell script. In the shell script you can check the global variables to see if any of them do not equal sqasuccess. If they do not then exit if they are all ok then carry on. This or something similar to this will achieve what you want.