Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHi!
please try working around this for now by adding a script before you start the next file which "restarts" the DataSink;
def ds = testRunner.testCase.testSteps["DataSink"]
ds.finish( testRunner, context )
ds.prepare( testRunner, context )
The call to finish will write and close the target excel file. The call to prepare will open it again using the new property values, so this has to be called when new property values are available.
Does that help?
regards!
/Ole
eviware.com
please try working around this for now by adding a script before you start the next file which "restarts" the DataSink;
def ds = testRunner.testCase.testSteps["DataSink"]
ds.finish( testRunner, context )
ds.prepare( testRunner, context )
The call to finish will write and close the target excel file. The call to prepare will open it again using the new property values, so this has to be called when new property values are available.
Does that help?
regards!
/Ole
eviware.com