Download and share automation modules and examples.
-
Support Team
- Site Admin

- Posts: 12174
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
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.
Usage:
- 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..."
- Drag & Drop the module to your test case and define the variables by binding them to a parameter in your test case
Variables:
FromLocation
The source directory.
ToLocation
The target directory.
-
Attachments
-
- CopyRecursiveFilesFolders.cs
- Copy Files and Folders Recursively Module
- (3.87 KiB) Downloaded 1241 times