List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren

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

Re: [QF-Test] Randomly call a procedure

  • Subject: Re: [QF-Test] Randomly call a procedure
  • From: "Pascal Bihler, QFS Support" <support@?.de>
  • Date: Thu, 27 Aug 2015 12:27:16 +0200

Hi Daniel!

In QF-Test's standard library "qfs.qft", you find a procedure named
"qfs.utils.random.getNumberFromRange" [1].

You can use this method to assign a random number to a variable and
then use an if..else construct to call your procedures.

QF-Test's standard library qfs.qft is included in every testsuite. It
is placed at .../qftest/qftest-$(version)/include/qfs.qft and can be
directly inspected with QF-Test. For more detailed information about
the library, please see

Pascal Bihler

-------- Original Message --------
I have two procedures that I want to randomly call in a test case I am
working on. Is there an easy way to do something like this?

Nutzen Sie den vollen Funktionsumfang von QF-Test
* Schulung & Beratung:
* Telefon- & Emailsupport:

Dr. Pascal Bihler
Entwicklung & Support

E: support@?.de
T: +49 8171 38648-20
F: +49 8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Deutschland
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833