2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Réf. : Re: [QF-Test] rc.getCaughtException() returns NONE


  • Subject: Re: Réf. : Re: [QF-Test] rc.getCaughtException() returns NONE
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 10 Apr 2007 18:48:33 +0200

Hi Vincent,

you run-log shows multiple exceptions within the same test, so I have
to assume that you were running this interactively in the debugger and
using step-over to continue after an exception. That way you're hiding
the exception and the implicit catch isn't triggered.

To pass on an exception from the debugger for default handling, use
the "Re-throw exception" toolbar button.

Best regards,
    Greg

vincent.breton@?.com writes:

> Hi,
>
> Let me clarify my problem with a screenshot : A component does not appear
> because an Exception is raised on the SUT, thus hiding or keeping the
> expected component from appearing (in this case, "dialogError"). Therefore
> I expect the 'WaitForComponent' to produce an exception... but
> rc.getCaughtException returns "NONE"...
>
> (Embedded image moved to file: pic27644.jpg)
>
>
> Find also the Run Log :
>
> (See attached file: ScreenTests.qrl)
>
> Thanks for your help,
>
> Vincent.
>
>
>
> Internet
> Gregor.Schmid@?.de - 05/04/2007 19:58
>
>
>
> Pour : qftest-list
>
> cc :   Vincent BRETON
>
>
> Objet :     Re: [QF-Test] rc.getCaughtException() returns NONE
>
>
>
> Hello Vincent,
>
> I need more background to answer this question. Can you please send me
> a run-log that shows where the exception and that
> rc.getCaughtException returns None?
>
> Best regards,
>     Greg
>
> vincent.breton@?.com writes:
>
> > Hi,
> >
> > My SUT crashes and QFS used to "implicitely catch" this exception, that
> was
> > later on treated in a Cleanup node...
> >
> > From now on, this does not happen anymore, exception does not seem to be
> > "remembered". I read somewhere in the mail archive that
> >
> > "If the Cleanup node is entered regularly,
> > rc.getCaughtException() will return None"
> >
> > Can someone explain me why ? Indeed, when I use getLastException
> instead...
> > it works. But like I said, rc.getCaughtException used to work :(
> >
> > Thanks for the tips
> >
> > Vincent.

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833