I am trying to run the scripts that I have created for a windows application as a batch by calling from a shell script.All the scripts are running except for one.When it comes to that script basically nothing happens...I don't even get an error message, it remains like that till I stop play back by pressing F11.The thing abt this script is I have used a function within the script..I am wondering if that is causing the problem.The same script plays back successfully individually..
You can try adding your own logger to log key steps to a text file as the script is running to help determine when and where the script is failing.
Also, does the script immediately before the one that fails change your environment? I.E. is the failing script (which works when run standalone) expecting a certain environment but the previous script is not leaving it in a way that the failing scripts expects?
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
How do I add a logger to the script so I can find out where the script is failing?As far as the environment for the script is concerned, it is just the way it should be for the script to playback..The only difference from other scripts being, I have declared a function within this script..
May be the script previous to the one where it stops is causing the problem.Check whether the control is entering into an infinite loop or it may even be waiting for an object.
Why not debug the shell script?