MultipleFileCreateStep

Aug 16, 2010 at 8:47 PM
TestSetup /> - - C:\PurchaseOrderSystem\InputFiles\PO_002.xml C:\PurchaseOrderSystem\POIn\PO_002.xml This code works fine. I am trying to write a code , which will copy all the files from source folder(For eg: 5000 files) to PoIn folder. i tried using C:\PurchaseOrderSystem\InputFiles\*.xml C:\PurchaseOrderSystem\POIn\*.xml But it didnt worked. Will appreciate a quick reply. Thanks.
Aug 22, 2010 at 5:01 AM

 am trying to write a test case for Bizunit , which will copy all the .xml files from one folder to another folder.

below is the example for copy of one file:

<TestExecution>
    <TestStep assemblyPath="" typeName=
 "Microsoft.Services.BizTalkApplicationFramework.BizUnit.FileCreateStep">
        <SourcePath>C:\PurchaseOrderSystem\InputFiles\PO_001.xml</SourcePath>
        <CreationPath>C:\PurchaseOrderSystem\POIn\PO_001.xml</CreationPath>
    </TestStep>
<TestExecution>

In this example i can only copy the file mentioned that is PO_001.xml. now i have 5000 files to copy.what should be my source path and destination path?

Anyone can refer the code in this link: http://www.codeproject.com/KB/biztalk/BizUnit2006.aspx