Mailing list - Entries of 2006

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

Re: [qftestJUI] Query on Exception

  • Subject: Re: [qftestJUI] Query on Exception
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 25 Jan 2006 11:29:29 +0100

Hello Sunita,

if you don't select "Throw selection on failure", qftestJUI will log an
error and continue with the test. If you do set it, an exception will
be thrown instead.

The latter is useful if you need to use a check for control-flow as
explained in section 5.5 of the tutorial.

Best regards,

girishhk <girishhk@?.uk> writes:

> Hi,
> I would like to know what is the use of
> selecting/unselecting the option 'Throw exception on
> failure' for 'Check Text' node. According to my
> understanding, even we dont select this option, it
> will throw an exception if the checktext fails. Am I
> right?
> Another question is that, does the usage differs when
> we use try and catch for 'CheckText' node? May be we
> do not have care about selection or unselection, when
> we use try and catch for 'CheckText' node. Plz correct
> me if I am wrong.
> Awaiting for the reply..
> Thanks
> Sunita

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876