2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2015


[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 https://www.qfs.de/en/qftest/stdlib.html

Sincerely,
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: www.qfs.de/de/qftest/training.html
* Telefon- & Emailsupport: www.qfs.de/de/qftest/support.html
____________________________________________________________

Dr. Pascal Bihler
Entwicklung & Support

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

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