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

Mailing List - Entries of 2012


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

Re: [QF-Test] Data Driver question


  • Subject: Re: [QF-Test] Data Driver question
  • From: Martin Moser <martin.moser@?.de>
  • Date: Wed, 23 May 2012 16:07:21 +0200

Hi Chuck,

actually the data-driver concept is intended to run one test-case with several test-data sets (which could come from different sources like in your first query).

If you want to have once test-case with one data file your structure should look like this:

Test-Suite
	Test-Set - Representing TC 1
		Data driver
			Data table or excel file etc.
		Test-Case
	Test-Set - Representing TC 2
		Data driver
			Data table or excel file etc.
		Test-Case


There is one way to run steps within a Test-Case getting data from a data-table using a Test node.
This could look like this:

Test-Suite
	Test Set
		Test Case
			Test
				Data driver
					Data table or excel file etc.
				Sequence/TestStep

Best Regards,
Martin

--On Montag, Mai 21, 2012 15:09:44 -0500 "Hunt,Chuck" <CHUNT1@?.com> wrote:

OK.  What if each Test Case has its own data file?

-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
Sent: Friday, May 18, 2012 2:45 PM
To: qftest-list@?.de
Cc: Ivan Boelle; Hunt,Chuck
Subject: Re: [QF-Test] Data Driver question


Hi Ivan, Chuck,

that's indeed a good way to achieve what Chuck asked. I'd just like to
add that you can shorten this to

-Test-Suite
--TestSet 1
----Data driver 1
------Data table for outer loop
------Data table for inner loop
----Test case A
----Test case B

i.e you can have more than one level of iteration in a single data driver.

Best regards,
    Greg

Ivan Boelle <ivan.boelle@?.com> writes:

You can achieve this by doing something like this:

-Test-Suite
--TestSet 1
-- Data driver 1
----TestSet 2
---- Data driver 2
------Test case A
------Test case B

-> TestSet1 contains TestSet2 which contains TestCases

Both Test A and B will be run using data from both drivers.
If driver 1 has 2 rows and driver 2 has 3 rows then there will be 6
iterations. IE: each possible combination Will be run

Le 18 mai 2012 à 19:25, "Hunt,Chuck" <CHUNT1@?.com> a écrit :

    Is it possible to have 2 data drivers?  One with 5 rows for 5
    iterations and one with 1 row that will be re-used each of the 5
    iterations.

     

    Chuck Hunt

     

    ????????????????????????????????????????????????????????????????????
    ?????????????????????????? CONFIDENTIALITY NOTICE This message and
    any included attachments are from Cerner Corporation and are
    intended only for the addressee. The information contained in this
    message is confidential and may constitute inside or non-public
    information under international, federal, or state securities laws.
    Unauthorized forwarding, printing, copying, distribution, or use of
    such information is strictly prohibited and may be unlawful. If you
    are not the addressee, please promptly delete this message and
    notify the sender of the delivery error by e-mail or you may call
    Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
    (816)221-1024.



--
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