List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  

[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