0

If I have a test file that I need to use to test an application with, can I embed that test file within a ranorex solution so that it deploys on the test system?

I am thinking of the way I can Embed files in a visual studio project something like this: How do I add a custom text file to a visual studio project?

amalgamate
  • 2,200
  • 5
  • 22
  • 44

2 Answers2

2

Simplest way to do it is to add your file to your project, then set its property "copy to output folder" to "always".

Sup3rHugh
  • 677
  • 7
  • 15
  • That sounds more like what I want. I will try, thanks. – amalgamate Sep 09 '17 at 16:06
  • Haven't really used Ranorex for some time now but this is what I was missing and my solution is a bad description of this. I agree with Sup3rHugh - his solution is great. – Martin Sep 12 '17 at 13:21
  • In fact, the solution I gave also applies to Visual Studio. Ranorex solution is in fact a Visual Studio solution. – Sup3rHugh Sep 12 '17 at 19:09
0

Ofcourse you can. Just open a project, create a new folder to the folder structure and use the folder however you need. Remember to put it into the correct folder (the folder which is needed to run the rxproj test automations - eg. Bin)

Martin
  • 575
  • 6
  • 13