Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hi!
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
Related Content
- 2 years agoKimdongart1
- 9 years agoAngieD18
- 9 years agoMarcovS
- 2 months agooneagh
Recent Discussions
- 7 days agoemoya