Copy Files and Folders Recursively Module

Download and share automation modules and examples.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Copy Files and Folders Recursively Module

Post by Support Team » Thu Jul 28, 2011 2:42 pm

It is often required to copy a folder or files – modified by the system under test – to initialize the test data. This code module copies a folder, including the files and subfolders which are part of it to a given location.

  1. Download the "CopyRecursiveFilesFolders.cs" file to your computer and import it into your project by right-clicking your project in Ranorex Studio and choose "Add" -> "Existing Item..."
  2. Drag & Drop the module to your test case and define the variables by binding them to a parameter in your test case

    The source directory.

    The target directory.
You do not have the required permissions to view the files attached to this post.