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 2011

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

Re: [QF-Test] Database check question

  • Subject: Re: [QF-Test] Database check question
  • From: Martin Moser <martin.moser@?.de>
  • Date: Thu, 30 Jun 2011 13:02:27 +0200

Hello Dusan,

for checking the content of a database you need to implement your custom script and there is no further option to do. You can then put this script into a procedure and call the procedure whenever you require it.

In the scripts you can use something like rc.check() or rc.logError() in order to generate proper error messages.

Perhaps you could implement your CustomChecker, which builds up a database connection, then you could even record the check, but I'm not sure, whether that's really efficient and keeps a good performance.

Best Regards,

--On Donnerstag, Juni 30, 2011 06:05:24 +0200 "Mascak, Dusan" <Dusan.Mascak@?.com> wrote:


I would like to ask if QF-Test supports communication between program
and database on checking level?
I mean I need to send some value to a lable in a GUI enviroment and
after that check a database's column if inserted value is available

In tutorial I found that the result of DB query should be available in a
global variable "resultRows" on the Jython variable stack. So can I
customize such of check only in the Jython language or is the checking
directly possible in QF-Test (e.i. some option menu)?

Thanks for your statement
Dusan Mascak

Martin Moser                           martin.moser@?.de
Quality First Software GmbH            http://www.qfs.de
Tulpenstr. 41                          Tel: +49 8171 38648-14
DE-82538 Geretsried                    Fax: +49 8171 38648-16
GF: Gregor Schmid, Karlheinz Kellerer  HRB München 14083