Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2016 up to now | 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 2007


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

[QF-Test] CSV Data driven loops


  • Subject: [QF-Test] CSV Data driven loops
  • From: "Tom Hughbanks" <thughbanks@?.net>
  • Date: Tue, 29 May 2007 11:29:35 -0500

Hi - Is it possible to use the same CSV file for different test cases?  I would like to reference different rows or sheets or fields or whatever depending on which test case is running.
 
Can different rows be referenced by different tests, or use data for one loop, and then continue in the file with another loop?
 
For example, I would like to use a file for two test cases.  One for a loop that needs to run through five rows and perform one test-case, and then go through the rest of the rows with a different set of tests.  The first few would have the same data as the others; I would just like to perform a subset of the tests on the those rows.
 
I would also like to use the same file for login information, if that's possible.  Of course the columns in this case would be different than those used in the rest of the tests.
 
In other situations, I would put the data in different sheets in Excel and then reference the sheet for each situation, but I don't know how this would work with CSV files.  I am not yet comfortable with using Jython to handle this and am hoping this can be done with the normal data drivers.
 
The only way I can currently think to do this is to use separate CSV files.
 
Thanks for any help.
 

Tom Hughbanks
Senior Quality Assurance Analyst
NightHawk Radiology Services

223 N. Water St Suite 200
Milwaukee, WI 53202
Direct: 208-415-0513
Toll Free: 866-400-4295
Fax: 414-220-4296
thughbanks@?.net
www.nighthawkrad.net

CONFIDENTIALITY NOTICE:   This email, including any attachments, contains information from NightHawk Radiology Services, which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this email in error, please notify NightHawk Radiology Services immediately by forwarding message tothughbanks@?.net and destroy all electronic and hard copies of the communication, including attachments.

 

Videos Downloads Documentation Buy Free Trial