2019 bis heute  2018  | 2017 2016 2015 2014 | 2013 | 2012

Mailingliste - Einträge 2012

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

Re: [QF-Test] Custom client exception

  • Subject: Re: [QF-Test] Custom client exception
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Wed, 17 Oct 2012 19:56:17 +0200

Hello Vladimir,

what's your setting of the option

Replay->Client->How to handle exceptions in the SUT

If it is set to error, the default, QF-Test does not throw an
exception but just log an error, which is something you cannot catch.

I suppose for your case you can simply set the option to warning and
you should be done.

Best regards,

Vladimir Seprak <Vladimir.Seprak@?.sk> writes:

> Hello,
> In our swing application we have error handling on client side where we throw custom validation exception (which is extending java.lang.RuntimeException). 
> The client app than displays this exception as warning in dedicated status bar. When I run the test cases QFS notes these exceptions as "Unexpected exception in client 'xxxx'" and propagates them upwards.
> I was trying to catch these exceptions as TestException but without success... I thought every error on client side is propagated as TestException or some 
> its subclass. Am I missing something?
> Thanks for answer.
> Vladimir Šeprak     

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