I want to embed a test file as part of a Ranorex test suite

288 views Asked by At

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?

2

There are 2 answers

3
Sup3rHugh On BEST ANSWER

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

1
Martin On

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)