Mailingliste - Einträge 2005

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

Re: [qftestJUI] Using Try Catch to trap TestException (UNCLASSIFIED MAIL)

  • Subject: Re: [qftestJUI] Using Try Catch to trap TestException (UNCLASSIFIED MAIL)
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 17 Feb 2005 12:12:09 -0000

Hi everyone,

as it turned out, Sarah simply had the debugger and the "Break on
uncaught exceptions" option activated. Don't activate that option
unless you really know what you're doing, the result can be a bit

The option "Break on _caught_ exceptions" on the other hand should
usually be activated.

Best regards,

"IA1CON11, Sarah Paulson" <IA1CON11@?.uk> writes:

> Hello,
> I'm trying to test whether a Windows Component has NOT appeared. I've tried
> to use Try Catch statements to catch this error (using the TestException
> option), but when the error IndexNotFoundException occurs, it is not caught
> and the test fails.
> Is it possible to catch an error resulting from the absense of an expected
> Windows Component?
> Thanks,
> Sarah
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876