That is really strange, please post the full stack trace so that I can see where it returned.
Thanks, Jian On Mar 27, 7:51 am, Harihara Vinayakaram <[email protected]> wrote: > Well My problem is this : > I expected the control to go to either getAlert or println > (e.printStackTrace() ) . > > It went to neither and threw an exception which stopped my test :-) > > So my question what should I do to catch the exception ? > > Regards > Hari > > On Fri, Mar 27, 2009 at 12:56 PM, John <[email protected]> wrote: > > > No, Groovy is the same. Maybe I did not understand your problem > > clearly. > > Let me re-phase my question. > > > After > > > type "file", path > > > an exception was generated because of invalid file type. In your test > > case, > > It went to the next statement > > > String text = getAlert() > > > or went to > > > println(e.printStackTrace()) > > > in the catch block? > > > If it went to getAlert(), what did you get back? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tellurium-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en -~----------~----~----~----~------~----~------~--~---
