06-27-2012, 09:52 PM
Hello,
I have to export a datatable to an Excel File.
I already use the DataTable.ExportSheet "PathOfMyFile", "NameOfMySheet"
Now I'd like to improve this...
I have 2 tests with the same name so 2 iterations.
I have set 2 sheets names BLABLA_1 and BLABLA_2
The Datatable in the Action is named BLABLA
The import is done like this
Datatable.ImportSheet "PathOfMyFile", "NameOfMySheet" & Index, "BLABLA"
-> Index is a manual parameter set in QC.
My question is ... how can I export this ?
I have tried to write
Datatable.ExportSheet "PathOfMyFile", "NameOfMySheet" & index
but the action is named "NameOfMySheet" without index... so error
I have also tried
Datatable.ExportSheet "PathOfMyFile", "NameOfMySheet" but here, excel create a new sheet ..
Could somebody help me ?
(Sorry for my english... I'm french).
Thanks in advance.a
I have to export a datatable to an Excel File.
I already use the DataTable.ExportSheet "PathOfMyFile", "NameOfMySheet"
Now I'd like to improve this...
I have 2 tests with the same name so 2 iterations.
I have set 2 sheets names BLABLA_1 and BLABLA_2
The Datatable in the Action is named BLABLA
The import is done like this
Datatable.ImportSheet "PathOfMyFile", "NameOfMySheet" & Index, "BLABLA"
-> Index is a manual parameter set in QC.
My question is ... how can I export this ?
I have tried to write
Datatable.ExportSheet "PathOfMyFile", "NameOfMySheet" & index
but the action is named "NameOfMySheet" without index... so error
I have also tried
Datatable.ExportSheet "PathOfMyFile", "NameOfMySheet" but here, excel create a new sheet ..
Could somebody help me ?
(Sorry for my english... I'm french).
Thanks in advance.a