Forum Discussion

mazhar555's avatar
mazhar555
Contributor
14 years ago

Writing Back to Excel

Hi,



I am using DDT.Excel Driver to fetch data for my test case, at the end of each iteration i want to insert Actual Output in the same excel file. Is there any way to do it?



I have tried to open excel via COM but as this excel file is already opened by DDT so it throws exception.



Regards,

5 Replies

  • Hi,



    Close your DDT driver before openning your file via COM (see the "DDT.CloseDriver" help topic).
  • Hi!



    Is there a way to do this on the Keyword test interface? I don't know much about scripting. Any advice would be appreciated.



    Thanks,



    Kevin Kleint

    Samaritan Health Services
  • Hi,



    If you mean writing data to an Excel document, you need to use scripts.
  • Thanks! Since I've never written scripts before, is there a place where I can go to find out how to write them? Or is there some sort of "template script" that I could use?



    Thanks again,



    Kevin
  • Hi Kevin,



    I recommend that you start with the "Scripting" help topic. If you have any questions, post them here.