Mailingliste - Einträge 2005

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

Re: [qftestJUI] Question about error handling

  • Subject: Re: [qftestJUI] Question about error handling
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 23 Jun 2005 16:02:02 -0000

Hello Alex,

1.) The easiest way is to set the "Error level" attribute of the Catch
node to "Error". This will cause it to handle the exception, but still
report it as an error with associated screenshot and everything.

2.) Use a "Server script" node with method calls like like

rc.check(condition, "message...")

Best regards,

"Burlyga, Alex" <ABurlyga@?.com> writes:

> Hi,
> I'm evaluating qftestJUI, and I run in into couple of issues.
> 1. SUT client is not killed if error encounterd.
> 	I have following startup procedure:
> 		a. Start java SUT
> 		b. Wait until client connects
> 		c. Wait until component
>       So I introduced an error  during start up so c. above times out.
>       I see error logged into run-log with all the details I need, but if I
>       try to run the test again qftest complains that client already
> connected.
> 	I decided to go around it and put above start-up into try/catch
> construct.
> 	Now I have:
> 		a. Try
> 			aa. Start java SUT
>                   ab. Wait until client connects
>                   ac. Wait until component
> 		b. Catch TestException
> 			ba. Kill the app
> 	Which worked great, but now I lost nice log with screenshot of the
> error that app
>       produced while starting. Which brings me to another issue
> 2. I there any way to insert nodes into the logrun?
> Other then that great testing tool:)
> Alex.
> _______________________________________________
> qftestJUI-list mailing list
> qftestJUI-list@?.de

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