header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
August 28, 2008, 07:07:06 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Example on DataSink
Welcome, Guest. Please login or register.
August 28, 2008, 07:07:06 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Example on DataSink
« previous next »
Pages: [1] Print
Author Topic: Example on DataSink  (Read 6 times)
Sachin Sawe
Newbie
*
Posts: 1


« on: Today at 05:10:20 pm »

Can someone give an example of how to write data to a DataSink in a loop?

What I want to do is this:

I have an array say : myArray
I iterate through this array and write each row to a datasink (excel or file)
I have been able to write to both file and excel but it just writes one record and does not iterate in a loop
in my loop I do:
loop
{
targetStep.setPropertyValue( "property1" , value1 )
targetStep.setPropertyValue( "property2" , value2 )
.
.
targetStep.run( testRunner, context )
}

However this writes only one row to the file Huh?

thanks,
Sachin
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header