Mailing list - Entries of 2005

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

Re: [qftestJUI] Is there any way to define the variables in an MS excel sheet?

  • Subject: Re: [qftestJUI] Is there any way to define the variables in an MS excel sheet?
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Thu, 23 Jun 2005 16:02:02 -0000

Hello Nagraj,

save the excel sheet to a comma separated values file (*.csv). Then
use a Jython script to parse the CSV file and iterate over the rows,
calling the procedure for each row.

This is not as complicated as it sounds. We provide a python module to
parse the CSV file with qftestJUI and manual sections 11.3.8 and 11.4
explain in detail how to set things up.

You'll also find a working example in the test-suite
doc/tutorial/demo_script.qft under the qftest-x.x.x directory. Take a
look at the "table fun" example.

Best regards,

"Parandi, Nagraj S (Nagraj)** CTR **" <nagarajs@?.com> writes:

> Hi,
> 	I have a suite and some of the Test nodes have few attributes and I
> have mapped them to the variables in the suite.
> Is there any way to define these variables in a MS excel sheet and fetch the
> same in my script. Bcoz each time I want to change the
> values for these attributes I have to change the script every time. So I
> want some way in which I donot have to change my suite at all
> and run the same suite for different set of values by just changing the
> variable values in the MS excel sheet.
> Thanks and regards,
> Nagaraj
> _______________________________________________
> qftestJUI-list mailing list
> qftestJUI-list@?.de

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876